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

Cannot deactivate obfuscation of Array initializers #665

Open
thomK77 opened this issue Jun 13, 2018 · 2 comments
Open

Cannot deactivate obfuscation of Array initializers #665

thomK77 opened this issue Jun 13, 2018 · 2 comments

Comments

@thomK77
Copy link

thomK77 commented Jun 13, 2018

Hello,

I used the following line to obfuscate strings and array initializers (SI):
[assembly: Obfuscation(Exclude = false, Feature = "constants(elements=SI)")]

Since array initialization causes problems with newer versions of MSBuild, I removed the 'I'-Element:
[assembly: Obfuscation(Exclude = false, Feature = "constants(elements=S)")]

Unfortunately the obfuscation of array initializers is still happening.
Example:
The following line
var x = new[] { 1, 2, 3 };
will be obfuscated to
int[] array = <Module>.‫‎‍‫‫‍‬‏‫‮‫‏‮‭‭‬‮‭‎‍‎‪‫‭​‌‮<int[]>(2086960569u);

Could someone please tell me how to deactivate obfuscations like above?

Thanx
Thomas

@0x7c9
Copy link

0x7c9 commented Jun 22, 2018

Hello. I also work a bit on protecting the protection. I'm trying to modify the basic protection strings (normal). I understand the encryption and decryption procedures. But not the principle of how the results from the confuser context are written into the assembly. I also do not know how mutation keys are being created. If you wanted to help me understand the principles. I will be glad. I will also share what I have come up with. Eddy ^

@thomK77
Copy link
Author

thomK77 commented Jun 25, 2018

Hello Eddy,
I would like to let you know that I cannot assist you. I am sure somone else can.
Cheers
Thomas

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants