Skip to content

Commit 3e97dd2

Browse files
authored
Merge pull request #101 from sunnamed434/dev
Bump new version 0.11.0-alpha.20
2 parents 7bbe55d + 124cdac commit 3e97dd2

File tree

180 files changed

+1423
-737
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+1423
-737
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ body:
55
id: bitmono_version
66
attributes:
77
label: "BitMono Version"
8-
description: Please enter the used version of BitMono with the bug
8+
description: Please enter the used version of BitMono with the bug. You can find the version by choosing your downloaded version [here](https://github.com/sunnamed434/BitMono/releases), or using the BitMono.CLI.exe --version command
99
placeholder: 0.6.0-alpha.15
1010
validations:
1111
required: true

BitMono.sln

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1212
LICENSE = LICENSE
1313
README.md = README.md
1414
props\SharedProjectProps.props = props\SharedProjectProps.props
15+
PREVIEWS.md = PREVIEWS.md
1516
EndProjectSection
1617
EndProject
1718
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{D87066C4-1144-4BD8-96E9-9F4676001397}"
@@ -30,8 +31,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BitMono.Host", "src\BitMono
3031
EndProject
3132
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BitMono.Obfuscation", "src\BitMono.Obfuscation\BitMono.Obfuscation.csproj", "{8D86C77B-40D5-4234-8DC0-FE129F730B7A}"
3233
EndProject
33-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BitMono.Obfuscation.API", "src\BitMono.Obfuscation.API\BitMono.Obfuscation.API.csproj", "{67AC5ED0-B443-4098-B0D9-6B5F0761F599}"
34-
EndProject
3534
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BitMono.Protections", "src\BitMono.Protections\BitMono.Protections.csproj", "{5B46A891-BF1A-487F-AF68-0AF045F8EC96}"
3635
EndProject
3736
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BitMono.Runtime", "src\BitMono.Runtime\BitMono.Runtime.csproj", "{7A7E46BE-5210-4E0B-8FF6-71B82012E51A}"
@@ -96,10 +95,6 @@ Global
9695
{8D86C77B-40D5-4234-8DC0-FE129F730B7A}.Debug|Any CPU.Build.0 = Debug|Any CPU
9796
{8D86C77B-40D5-4234-8DC0-FE129F730B7A}.Release|Any CPU.ActiveCfg = Release|Any CPU
9897
{8D86C77B-40D5-4234-8DC0-FE129F730B7A}.Release|Any CPU.Build.0 = Release|Any CPU
99-
{67AC5ED0-B443-4098-B0D9-6B5F0761F599}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
100-
{67AC5ED0-B443-4098-B0D9-6B5F0761F599}.Debug|Any CPU.Build.0 = Debug|Any CPU
101-
{67AC5ED0-B443-4098-B0D9-6B5F0761F599}.Release|Any CPU.ActiveCfg = Release|Any CPU
102-
{67AC5ED0-B443-4098-B0D9-6B5F0761F599}.Release|Any CPU.Build.0 = Release|Any CPU
10398
{5B46A891-BF1A-487F-AF68-0AF045F8EC96}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
10499
{5B46A891-BF1A-487F-AF68-0AF045F8EC96}.Debug|Any CPU.Build.0 = Debug|Any CPU
105100
{5B46A891-BF1A-487F-AF68-0AF045F8EC96}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -156,7 +151,6 @@ Global
156151
{7C0EBB47-7DB0-4110-A39B-7659AB70649F} = {D87066C4-1144-4BD8-96E9-9F4676001397}
157152
{41B9E388-392E-4AD3-8678-2A5AFF3A1F50} = {D87066C4-1144-4BD8-96E9-9F4676001397}
158153
{8D86C77B-40D5-4234-8DC0-FE129F730B7A} = {D87066C4-1144-4BD8-96E9-9F4676001397}
159-
{67AC5ED0-B443-4098-B0D9-6B5F0761F599} = {D87066C4-1144-4BD8-96E9-9F4676001397}
160154
{5B46A891-BF1A-487F-AF68-0AF045F8EC96} = {D87066C4-1144-4BD8-96E9-9F4676001397}
161155
{7A7E46BE-5210-4E0B-8FF6-71B82012E51A} = {D87066C4-1144-4BD8-96E9-9F4676001397}
162156
{40615C80-C80C-4C95-ABC3-3291C32197D8} = {D87066C4-1144-4BD8-96E9-9F4676001397}

CHANGELOG.md

Lines changed: 18 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
| Versions: |
22
| - |
3+
| [v0.11.0-alpha](#v0110-alpha20) |
34
| [v0.10.0-alpha](#v0100-alpha19) |
45
| [v0.9.0-alpha](#v090-alpha18) |
56
| [v0.8.0-alpha](#v080-alpha17) |
@@ -21,11 +22,27 @@
2122
| [v0.1.0](#v010) |
2223

2324
---
25+
### v0.11.0-alpha.20:
26+
2023-02-016
27+
#### Added:
28+
* BitMono ASCII Art in CLI
29+
* Hiding of the pathes (file path, directory path, etc)
30+
* Documentation.
31+
32+
#### Fixed:
33+
* Error when use mono BitMono.CLI.exe [#93](https://github.com/sunnamed434/BitMono/issues/93)
34+
35+
#### Changed:
36+
* Major changes in whole API of BitMono.
37+
2438
### v0.10.0-alpha.19:
2539
2023-02-013
2640
#### Added:
2741
* Command line arguments [#82](https://github.com/sunnamed434/BitMono/issues/82)
2842

43+
#### Fixed:
44+
* DotNetHook protection
45+
2946
### v0.9.0-alpha.18:
3047
2023-02-09
3148
#### Changed:
@@ -111,93 +128,4 @@
111128

112129
#### Fixed:
113130
* Obfuscation process
114-
* Manipulations and saving of Module optimized, most of things store in memory then writes in file instead of every time writing in file and loading module
115-
116-
### v0.4.2-alpha.11:
117-
#### Fixed:
118-
* Assembly resolving information and exceptions handling
119-
120-
### v0.4.1-alpha.10:
121-
#### Changed:
122-
* DotNetHook Protection workflow
123-
* StringsEncryption Protection workflow as well as data encrypting
124-
125-
#### Fixed:
126-
* Obfuscation process
127-
128-
### v0.4.0-alpha.9:
129-
#### Added:
130-
* BitDateTimeStamp Protection
131-
132-
#### Fixed:
133-
* Obfuscation process
134-
135-
### v0.3.3-alpha.8:
136-
#### Changed:
137-
* BitDotNet protection greatly improved
138-
139-
#### Fixed:
140-
* Obfuscation process
141-
142-
### v0.3.2-alpha.7:
143-
#### Fixed:
144-
* Specifying file
145-
146-
### v0.3.1-alpha.6:
147-
#### Changed:
148-
* Guarantees loading libraries directly as bytes
149-
150-
### Fixed:
151-
* Now BitMono.CLI catches errors and outputs it properly [#31](https://github.com/sunnamed434/BitMono/issues/31)
152-
* Protections now outputs logs properly
153-
* Protections bugs fixes
154-
155-
### v0.3.0-alpha.5:
156-
### Added:
157-
* Feature that allows to protect types/methods with the specified namespace in obfuscation.json configuration [#27](https://github.com/sunnamed434/BitMono/issues/27)
158-
159-
### Changed:
160-
* FieldsHiding protection currently is deprecated and shouldn`t be used anymore
161-
162-
#### Fixed:
163-
* AntiDebugBreakpoints Protection
164-
* BitMethodDotnet Protection
165-
* FullRenamer Protection
166-
* CallToCalli Protection
167-
* NoNamespaces Protection
168-
* ObjectReturnType Protection
169-
* StringsEncryption Protection
170-
171-
### v0.2.2-alpha.4:
172-
#### Fixed:
173-
* CLI + GUI
174-
* Obfuscation process
175-
176-
### v0.2.1-alpha.3:
177-
#### Changed:
178-
* A lot of configurations moved from appsettings.json to separte configurations (obfuscation.json)
179-
* Optimized obfuscation process
180-
* Now libraries as well known as dependencies should be in directory `libs` instead of base
181-
182-
#### Fixed:
183-
* DotNetHook Protection
184-
* obfuscation.json configuration
185-
* Module drag-and-dropping
186-
* GUI version.
187-
188-
#### Removed:
189-
* `base` directory
190-
191-
### v0.1.3-alpha.2:
192-
#### Added:
193-
* Now it is possible to obfuscate only specific namespace(s) [#27](https://github.com/sunnamed434/BitMono/issues/27).
194-
195-
#### Fixed:
196-
* DotNetHook Protection
197-
198-
### v0.1.2-alpha.1:
199-
#### Fixed:
200-
* DotNetHook Protection
201-
202-
### v0.1.0:
203-
* Pre-Release of BitMono.
131+
* Manipulations and saving of Module optimized, most of things store in memory then writes in file instead of every time writing in file and loading module

CONTRIBUTING.md

Lines changed: 57 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,33 @@
11
# Special Thanks
2-
For great CONTIRUBITNG.md file that "pasted" from [AsmResolver](https://github.com/Washi1337/AsmResolver/blob/master/CONTRIBUTING.md)
2+
For great [CONTIRUBITNG.md](https://github.com/Washi1337/AsmResolver/blob/master/CONTRIBUTING.md) file which was "pasted" from [AsmResolver](https://github.com/Washi1337/AsmResolver)
33

4-
# Contirbuting
4+
BitMono Coding Style and Licensing
5+
======================================
56

6-
## Important for all Contributors
7-
When contributing to this repository, please first discuss the change you wish to make via issues or any method with the owners of this repository before making a change.
7+
## Aims
8+
9+
This guide is for developers who wish to contribute to the BitMono codebase. It will detail how to properly style and format code to fit this project.
10+
11+
Following this guide and formatting your code as detailed will likely get your pull request merged much faster than if you don't (assuming the written code has no mistakes in itself).
12+
13+
If you make any changes to BitMono, you are agreeing to the license conditions as specified in [LICENSE.md](LICENSE.md).
814

9-
If you make any changes to BitMono, you are agreeing to the license conditions as specified in [LICENSE](LICENSE).
1015

1116
## General Workflow
17+
1218
The BitMono project generally follows the principles of [Git Flow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow), with a few variations. Below a summary:
1319

14-
- Prefer to create a branch based on `dev`.
15-
- Do not branch from `main` unless it is a serious bug and requires a hotfix. `main` is supposed to be always in sync with the nuget feed.
20+
- Prefer to create a branch based on `dev`.
21+
- Do not branch from `main` unless it is a serious bug and requires a hotfix. `main` is supposed to be always in sync with the nuget feed.
1622
- Prefix your branch accordingly, depending on what kind of change you are trying to make.
17-
- For new features, use `feature/name-of-feature`.
18-
- For issues and/or bug fixes, use `issue/name-of-issue-or-bug`.
23+
- For new features, use `feature/name-of-feature`.
24+
- For issues and/or bug fixes, use `issue/name-of-issue-or-bug`.
1925
- Push your changes on this branch.
20-
- Make sure you are following the coding style guidelines as described in this document below.
26+
- Make sure you are following the coding style guidelines as described in this document below.
2127
- Open a [Pull Request](https://github.com/sunnamed434/BitMono/pulls), setting the `dev` branch as a base branch to merge into.
2228
- Wait for your pull request to be reviewed and accepted.
23-
- Pull requests into `dev` will only be accepted if all unit tests succeed and follow the guidelines as described in this document.
29+
- Pull requests into `dev` will only be accepted if all unit tests succeed and follow the guidelines as described in this document.
30+
2431

2532
## C# Coding Style
2633

@@ -41,21 +48,20 @@ For editors that support EditorConfig, there is an `.editorconfig` file for you
4148

4249
Below an overview of the naming conventions used within the project.
4350

44-
| Member type | Naming style |
45-
|--------------------------------------|----------------------------------------------|
46-
| Namespaces | `PascalCase` |
47-
| Classes | `PascalCase` |
48-
| Structs | `PascalCase` |
49-
| Interfaces | `IPrefixedPascalCase` |
50-
| Private instance fields | `_camelCaseWithUnderscore` |
51-
| Private instance readonly fields | `m_PascalCaseWithUnderscore` |
52-
| Any other field | `PascalCase` |
53-
| Methods | `PascalCase` |
54-
| Properties | `PascalCase` |
55-
| Events | `PascalCase` |
56-
| Parameters | `camelCase` |
57-
| Local variables | `camelCase` |
58-
| Local constants | `camelCase` |
51+
| Member type | Naming style |
52+
|-----------------------------|-------------------------------------|
53+
| Namespaces | `PascalCase` |
54+
| Classes | `PascalCase` |
55+
| Structs | `PascalCase` |
56+
| Interfaces | `IPrefixedPascalCase` |
57+
| Private instance fields | `_camelCaseWithUnderscore` |
58+
| Any other field | `PascalCase` |
59+
| Methods | `PascalCase` |
60+
| Properties | `PascalCase` |
61+
| Events | `PascalCase` |
62+
| Parameters | `camelCase` |
63+
| Local variables | `camelCase` |
64+
| Local constants | `camelCase` |
5965

6066

6167
### Prefer verbose names over abbreviations
@@ -86,7 +92,7 @@ public class PeImage { ... }
8692
public struct CILOpCode { ... }
8793
```
8894

89-
In the case of an interface name starting with an abbreviation, we do not count the prefix `I` when counting the letters of an abbreviation.
95+
In the case of an interface name starting with an abbreviation, we do not count the prefix `I` when counting the letters of an abbreviation.
9096

9197
Do:
9298
```
@@ -159,7 +165,7 @@ if (x == y)
159165
{
160166
MethodA();
161167
}
162-
else
168+
else
163169
{
164170
MethodB();
165171
MethodC();
@@ -197,20 +203,20 @@ Use `var` for anything that is not a primitive type for which a dedicated keywor
197203

198204
Do:
199205
```csharp
200-
var x = 123;
201-
var y = "Hello, world!";
202-
var array = new byte[10];
206+
int x = 123;
207+
string y = "Hello, world!";
208+
byte[] z = new byte[10];
203209

204-
MyClass instance = new MyClass(...);
210+
var instance = new MyClass(...);
205211
```
206212

207213
Don't:
208214
```csharp
209-
int x = 123;
210-
string y = "Hello, world!";
211-
byte[] z = new byte[10];
215+
var x = 123;
216+
var y = "Hello, world!";
217+
var array = new byte[10];
212218

213-
var instance = new MyClass(...);
219+
MyClass instance = new MyClass(...);
214220
```
215221

216222
### Public method, field and property typing
@@ -219,21 +225,27 @@ Prefer to use the most general type of the returned object that still conveys th
219225

220226
Do:
221227
```csharp
222-
public IList<MethodDefinition> Methods { get; }
228+
public IList<MethodDefinition> Methods
229+
{
230+
get;
231+
}
223232

224-
public IEnumerable<TypeDefinition> GetAllTypes()
225-
{
226-
// ...
233+
public IEnumerable<TypeDefinition> GetAllTypes()
234+
{
235+
// ...
227236
}
228237
```
229238

230239
Don't:
231240
```csharp
232-
public List<MethodDefinition> Methods { get; }
241+
public List<MethodDefinition> Methods
242+
{
243+
get;
244+
}
233245

234246
public List<TypeDefinition> GetAllTypes()
235-
{
236-
// ...
247+
{
248+
// ...
237249
}
238250
```
239251

@@ -278,7 +290,7 @@ Prefer `for` loops over `foreach` when heap allocated enumerators can be avoided
278290
Do:
279291
```csharp
280292
var items = assembly.Modules;
281-
for (var i = 0; i < items.Count; i++)
293+
for (int i = 0; i < items.Count; i++)
282294
{
283295
// Use items[i]
284296
}
@@ -287,7 +299,7 @@ for (var i = 0; i < items.Count; i++)
287299
Don't:
288300
```csharp
289301
var items = assembly.Modules;
290-
foreach (Module item in items) // IList<T>.GetEnumerator() returns a heap allocated enumerator
302+
foreach (var item in items) // IList<T>.GetEnumerator() returns a heap allocated enumerator
291303
{
292304
// Use item
293305
}

PREVIEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<p align="center">
2+
<img src="https://raw.githubusercontent.com/sunnamed434/BitMono/main/resources/images/preview/before-after-2.png"
3+
alt="Before After N2"
4+
</p>
5+
6+
Ah, are you still thinking to use BitMono or not, hah, nah.

0 commit comments

Comments
 (0)