Skip to content
This repository was archived by the owner on Jan 27, 2019. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: yck1509/ConfuserEx
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: XenocodeRCE/neo-ConfuserEx
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.

Commits on May 26, 2018

  1. Update README.md

    XenocodeRCE authored May 26, 2018
    Copy the full SHA
    ff0e803 View commit details
  2. Update README.md

    XenocodeRCE authored May 26, 2018
    Copy the full SHA
    da1727e View commit details
  3. Update README.md

    XenocodeRCE authored May 26, 2018
    Copy the full SHA
    adb244d View commit details

Commits on May 27, 2018

  1. update CLI informations

    XenocodeRCE committed May 27, 2018
    Copy the full SHA
    4d083f5 View commit details

Commits on Jun 1, 2018

  1. Counter public tools

    Counter ConfuserEx Constants decryptor by CodeCracker and ConfuserEx Static decryptor by Cawk
    LuanDevecchi committed Jun 1, 2018
    Copy the full SHA
    e32531e View commit details
  2. Merge pull request #1 from LuanDevecchi/master

    Counter public tools - by LuanDevecchi
    XenocodeRCE authored Jun 1, 2018
    Copy the full SHA
    029aea2 View commit details

Commits on Jul 15, 2018

  1. Updated protections

    -Updated constants
    -Added new AntiTamper mode (added debugger check)
    XenocodeRCE committed Jul 15, 2018
    Copy the full SHA
    cbd2c76 View commit details

Commits on Jul 16, 2018

  1. Update README.md

    XenocodeRCE authored Jul 16, 2018
    Copy the full SHA
    21c1416 View commit details
  2. Update issue templates

    XenocodeRCE committed Jul 16, 2018
    Copy the full SHA
    29cbd8c View commit details
  3. Update README.md

    XenocodeRCE authored Jul 16, 2018
    Copy the full SHA
    13d56c6 View commit details

Commits on Jul 17, 2018

  1. TypeScrambler

    Add generic type scrambling protection
    XenocodeRCE committed Jul 17, 2018
    Copy the full SHA
    d8a40d4 View commit details
  2. Copy the full SHA
    feb7c02 View commit details
  3. #462

    XenocodeRCE committed Jul 17, 2018
    Copy the full SHA
    0397552 View commit details
  4. #591

    XenocodeRCE committed Jul 17, 2018
    Copy the full SHA
    b980d02 View commit details
  5. #553

    XenocodeRCE committed Jul 17, 2018
    Copy the full SHA
    af8e852 View commit details
  6. #561

    XenocodeRCE committed Jul 17, 2018
    Copy the full SHA
    5cbdea6 View commit details

Commits on Jul 21, 2018

  1. quick fix for compressor

    remove the Process draft.
    XenocodeRCE committed Jul 21, 2018
    Copy the full SHA
    427ed4d View commit details
  2. Create appveyor.yml

    XenocodeRCE authored Jul 21, 2018
    Copy the full SHA
    0ecb3fa View commit details
  3. update antidebug win32

    Added a check for parent process name. Fun to along with Compressor
    XenocodeRCE committed Jul 21, 2018
    Copy the full SHA
    8626cf0 View commit details
  4. Copy the full SHA
    1f72c4e View commit details
  5. Update README.md

    XenocodeRCE authored Jul 21, 2018
    Copy the full SHA
    659377c View commit details

Commits on Jul 22, 2018

  1. #5

    XenocodeRCE committed Jul 22, 2018
    Copy the full SHA
    139e72b View commit details
  2. Copy the full SHA
    84ebc7e View commit details
  3. Update README.md

    XenocodeRCE authored Jul 22, 2018
    Copy the full SHA
    c0a7959 View commit details

Commits on Jul 27, 2018

  1. Update ScannedMethod.cs

    rexyrexy authored Jul 27, 2018
    Copy the full SHA
    429ffd7 View commit details
  2. Copy the full SHA
    34f4375 View commit details
  3. Merge pull request #7 from rexyrexy/patch-1

    Fix for Type Scramble
    XenocodeRCE authored Jul 27, 2018
    Copy the full SHA
    2b2d6cf View commit details
  4. Merge pull request #8 from rexyrexy/patch-2

    Fix for Type Scramble 2
    XenocodeRCE authored Jul 27, 2018
    Copy the full SHA
    0e5c9f1 View commit details

Commits on Aug 14, 2018

  1. Copy the full SHA
    aed6581 View commit details

Commits on Aug 15, 2018

  1. Merge pull request #13 from MindSystemm/patch-1

    Adding check to avoid Debugging
    XenocodeRCE authored Aug 15, 2018
    Copy the full SHA
    3cd7d23 View commit details

Commits on Sep 11, 2018

  1. * Adds support Unit Testing internals (declarative switch off obfusca…

    …tion for intenals). * Fix outer cobstants access for assemblies. * Fix obfuscation for nested Serializable classes.
    vinogradniy committed Sep 11, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    76093f1 View commit details

Commits on Sep 18, 2018

  1. Fix issue #450 for VS2015 and VS2017 build error when resource protec…

    …tion enabled (BUG: "CS0009 ... -- Invalid public key.").
    vinogradniy committed Sep 18, 2018
    Copy the full SHA
    beed7b3 View commit details

Commits on Sep 22, 2018

  1. Copy the full SHA
    1affd8b View commit details

Commits on Oct 2, 2018

  1. Fix NullReferenceException

    lcsondes committed Oct 2, 2018
    Copy the full SHA
    8928b65 View commit details

Commits on Jan 11, 2019

  1. Merge pull request #25 from lcsondes/master

    Fix NullReferenceException
    XenocodeRCE authored Jan 11, 2019
    Copy the full SHA
    c11a18b View commit details

Commits on Mar 25, 2019

  1. Merge pull request #17 from vinogradniy/master

    Adds support Unit Testing for internals…
    XenocodeRCE authored Mar 25, 2019
    Copy the full SHA
    9d8aa9c View commit details

Commits on Sep 6, 2019

  1. Parent process null check

    Fixed a crash in case the parent process exited.
    daver32 authored Sep 6, 2019
    Copy the full SHA
    ced38d1 View commit details

Commits on Dec 1, 2019

  1. Merge pull request #56 from exn64/patch-1

    Parent process null check
    XenocodeRCE authored Dec 1, 2019
    Copy the full SHA
    7889971 View commit details
Showing with 2,783 additions and 768 deletions.
  1. +28 −0 .github/ISSUE_TEMPLATE/bug_report.md
  2. +17 −0 .github/ISSUE_TEMPLATE/feature_request.md
  3. +10 −1 .gitignore
  4. BIN .vs/Confuser2/DesignTimeBuild/.dtbcache
  5. +1 −1 Build/UpdateVersion.cs
  6. +1 −1 Confuser.CLI/Program.cs
  7. +1 −1 Confuser.Core/API/APIStore.cs
  8. +3 −3 Confuser.Core/ConfuserEngine.cs
  9. +627 −449 Confuser.Core/DnlibUtils.cs
  10. +1 −1 Confuser.Protections/AntiDebugProtection.cs
  11. +258 −0 Confuser.Protections/AntiTamper/AntiMode.cs
  12. +6 −2 Confuser.Protections/AntiTamper/AntiTamperProtection.cs
  13. +1 −1 Confuser.Protections/AntiTamper/NormalMode.cs
  14. +23 −0 Confuser.Protections/Confuser.Protections.csproj
  15. +4 −0 Confuser.Protections/Constants/ReferenceReplacer.cs
  16. +1 −1 Confuser.Protections/ReferenceProxy/ReferenceProxyPhase.cs
  17. +41 −18 Confuser.Protections/Resources/MDPhase.cs
  18. +67 −0 Confuser.Protections/TypeScrambler/AnalyzePhase.cs
  19. +45 −0 Confuser.Protections/TypeScrambler/ScramblePhase.cs
  20. +24 −0 Confuser.Protections/TypeScrambler/Scrambler/Analyzers/ContextAnalyzer.cs
  21. +31 −0 Confuser.Protections/TypeScrambler/Scrambler/Analyzers/ContextAnalyzerFactory.cs
  22. +27 −0 Confuser.Protections/TypeScrambler/Scrambler/Analyzers/MemberRefAnalyzer.cs
  23. +26 −0 Confuser.Protections/TypeScrambler/Scrambler/Analyzers/MethodDefAnalyzer.cs
  24. +17 −0 Confuser.Protections/TypeScrambler/Scrambler/Analyzers/MethodSpecAnalyzer.cs
  25. +15 −0 Confuser.Protections/TypeScrambler/Scrambler/Analyzers/TypeRefAnalyzer.cs
  26. +108 −0 Confuser.Protections/TypeScrambler/Scrambler/Rewriter/EmbeddedCode/ObjectCreationFactory.cs
  27. +25 −0 Confuser.Protections/TypeScrambler/Scrambler/Rewriter/Instructions/InstructionRewriter.cs
  28. +35 −0 Confuser.Protections/TypeScrambler/Scrambler/Rewriter/Instructions/InstructionRewriterFactory.cs
  29. +94 −0 Confuser.Protections/TypeScrambler/Scrambler/Rewriter/Instructions/MemberRefInstructionRewriter.cs
  30. +27 −0 Confuser.Protections/TypeScrambler/Scrambler/Rewriter/Instructions/MethodDefInstructionRewriter.cs
  31. +24 −0 Confuser.Protections/TypeScrambler/Scrambler/Rewriter/Instructions/MethodSpecInstructionRewriter.cs
  32. +19 −0 Confuser.Protections/TypeScrambler/Scrambler/Rewriter/Instructions/TypeDefInstructionRewriter.cs
  33. +21 −0 Confuser.Protections/TypeScrambler/Scrambler/Rewriter/Instructions/TypeRefInstructionRewriter.cs
  34. +88 −0 Confuser.Protections/TypeScrambler/Scrambler/ScannedItem.cs
  35. +97 −0 Confuser.Protections/TypeScrambler/Scrambler/ScannedMethod.cs
  36. +39 −0 Confuser.Protections/TypeScrambler/Scrambler/ScannedType.cs
  37. +52 −0 Confuser.Protections/TypeScrambler/Scrambler/TypeRewriter.cs
  38. +29 −0 Confuser.Protections/TypeScrambler/TypeScrambleProtection.cs
  39. +57 −0 Confuser.Protections/TypeScrambler/TypeService.cs
  40. +348 −231 Confuser.Renamer/AnalyzePhase.cs
  41. +81 −5 Confuser.Runtime/AntiDebug.Win32.cs
  42. +92 −0 Confuser.Runtime/AntiTamper.Anti.cs
  43. +1 −1 Confuser.Runtime/AntiTamper.Normal.cs
  44. +1 −0 Confuser.Runtime/Compressor.Compat.cs
  45. +12 −6 Confuser.Runtime/Compressor.cs
  46. +1 −0 Confuser.Runtime/Confuser.Runtime.csproj
  47. +27 −23 Confuser.Runtime/Constant.cs
  48. +13 −2 Confuser2.sln
  49. +36 −18 README.md
  50. +6 −0 UnitTest/App.config
  51. +13 −0 UnitTest/GenericTest.cs
  52. +17 −0 UnitTest/Program.cs
  53. +36 −0 UnitTest/Properties/AssemblyInfo.cs
  54. +53 −0 UnitTest/UnitTest.csproj
  55. +26 −0 appveyor.yml
  56. +30 −3 docs/DeclarativeObfuscation.txt
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Bug report
about: Create a report to help us improve

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**File (optional)**
Either share a link to download the file or e-mail it to me.


**Additional context**
Add any other context about the problem here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -35,4 +35,13 @@ packages/
gh-pages/
GlobalAssemblyInfo.cs
/Build/*.zip
!Build/7z.exe
!Build/7z.exe
.vs/Confuser2/v15/Server/sqlite3/db.lock
.vs/Confuser2/v15/Server/sqlite3/storage.ide
.vs/Confuser2/v15/Server/sqlite3/storage.ide-shm
.vs/Confuser2/v15/Server/sqlite3/storage.ide-wal
dbg/dbg.csproj
dbg/Program.cs
dbg/app.config
dbg/Properties/AssemblyInfo.cs
Confuser2.sln
Binary file added .vs/Confuser2/DesignTimeBuild/.dtbcache
Binary file not shown.
2 changes: 1 addition & 1 deletion Build/UpdateVersion.cs
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ public static int Main(string[] args) {
Console.WriteLine("error when executing git describe.");
}
}
tag = tag ?? "v" + ver + "-custom";
tag = tag ?? "v" + ver;

string template = Path.Combine(dir, "GlobalAssemblyInfo.Template.cs");
string output = Path.Combine(dir, "GlobalAssemblyInfo.cs");
2 changes: 1 addition & 1 deletion Confuser.CLI/Program.cs
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ static int Main(string[] args) {
ConsoleColor original = Console.ForegroundColor;
Console.ForegroundColor = ConsoleColor.White;
string originalTitle = Console.Title;
Console.Title = "ConfuserEx";
Console.Title = "Neo-ConfuserEx";
try {
bool noPause = false;
bool debug = false;
2 changes: 1 addition & 1 deletion Confuser.Core/API/APIStore.cs
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ public void AddPredicate(IOpaquePredicateDescriptor predicate) {
public IDataStore GetStore(MethodDef method) {
for (int i = dataStores.Count - 1; i >= 0; i--) {
var list = dataStores[i];
for (int j = list.Count - 1; j >= 0; i--) {
for (int j = list.Count - 1; j >= 0; j--) {
if (list[j].IsUsable(method))
return list[j];
}
6 changes: 3 additions & 3 deletions Confuser.Core/ConfuserEngine.cs
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@ static void RunInternal(ConfuserParameters parameters, CancellationToken token)
asmResolver.EnableTypeDefCache = true;
asmResolver.DefaultModuleContext = new ModuleContext(asmResolver);
context.Resolver = asmResolver;
context.BaseDirectory = Path.Combine(Environment.CurrentDirectory, parameters.Project.BaseDirectory.TrimEnd(Path.DirectorySeparatorChar) + Path.DirectorySeparatorChar);
context.BaseDirectory = Path.Combine(Environment.CurrentDirectory, parameters.Project.BaseDirectory.TrimEnd(Path.DirectorySeparatorChar) + "." + Path.DirectorySeparatorChar);
context.OutputDirectory = Path.Combine(parameters.Project.BaseDirectory, parameters.Project.OutputDirectory.TrimEnd(Path.DirectorySeparatorChar) + Path.DirectorySeparatorChar);
foreach (string probePath in parameters.Project.ProbePaths)
asmResolver.PostSearchPaths.Insert(0, Path.Combine(context.BaseDirectory, probePath));
@@ -389,7 +389,7 @@ static void WriteModule(ConfuserContext context) {

MemoryStream pdb = null, output = new MemoryStream();

if (context.CurrentModule.PdbState != null) {
if (context.CurrentModule.PdbState != null) {
pdb = new MemoryStream();
context.CurrentModuleWriterOptions.WritePdb = true;
context.CurrentModuleWriterOptions.PdbFileName = Path.ChangeExtension(Path.GetFileName(context.OutputPaths[context.CurrentModuleIndex]), "pdb");
@@ -535,4 +535,4 @@ static void PrintEnvironmentInfo(ConfuserContext context) {
context.Logger.Error("---END DEBUG INFO---");
}
}
}
}
Loading