Home - Forums-.NET - Spices.Net - Not All COde Being Obfuscated

Spices.Net

NET code security, tools to protect, obfuscate, tamper defense, code and data safety, recover, convert, optimize, explore, browse and analyze .Net software.

This forum related to following products: Spices.Net Suite, Spices.Net Obfuscator, Spices.Net Decompiler

Not All COde Being Obfuscated
Link Posted: 04-Oct-2005 23:07
Why is such a low percentage of methods/fields/etc being obfuscated?

I have the Members property set to Full and all other settings are turned on to the highest.

Obfuscation Statistics
-------------------------------------------------
Members          Assembly Obfuscation Percentage
-------------------------------------------------
Namespaces:             4           1    25.00 %
Types:                 42           3     7.14 %
Fields:               222          96    43.24 %
Methods:              310          75    24.19 %
Properties:            35           0     0.00 %
Events:                17           0     0.00 %
ManagedResource:        2           0     0.00 %
AssemblyRefs:           5           0     0.00 %
TypeRefs:             120           0     0.00 %
MemberRefs:           232           0     0.00 %
MetaData Size:      34012       31136    91.54 %
Link Posted: 06-Oct-2005 09:16
I don't know why your results would be so low, but I can say that Full obfuscation  seems to be OK for me. Using the Full setting on my largest assembly gives:

-------------------------------------------------
Obfuscation Statistics
-------------------------------------------------
Members          Assembly Obfuscation Percentage
-------------------------------------------------
Namespaces:            31          31   100.00 %
Types:                292         291    99.66 %
Fields:               609         601    98.69 %
Methods:             1404         932    66.38 %
Properties:           381         357    93.70 %
Events:                18          18   100.00 %
ManagedResource:        7           1    14.29 %
AssemblyRefs:          13           0     0.00 %
TypeRefs:             238           0     0.00 %
MemberRefs:           508           0     0.00 %
MetaData Size:     111320       87910    78.97 %
-------------------------------------------------


All other options have the default settings.
I am using Spices 4.5.5.2

Regards,
Dean.
Link Posted: 07-Oct-2005 09:49
I run into the same problem. It doesn't seem as though Spices is really doing much. I've also set the properties to FULL.


-------------------------------------------------
Obfuscation Statistics
-------------------------------------------------
Members          Assembly Obfuscation Percentage
-------------------------------------------------
Namespaces:             1           1   100.00 %
Types:                 21          12    57.14 %
Fields:                75          70    93.33 %
Methods:              176          86    48.86 %
Properties:            23           0     0.00 %
Events:                10           0     0.00 %
ManagedResource:        0           0     0.00 %
AssemblyRefs:           9           0     0.00 %
TypeRefs:             106           0     0.00 %
MemberRefs:           169           0     0.00 %
MetaData Size:      26956       24066    89.28 %
-------------------------------------------------
Link Posted: 10-Oct-2005 04:10
[quote="Martin"]Why is such a low percentage of methods/fields/etc being obfuscated?
I have the Members property set to Full and all other settings are turned on to the highest.


Probably you're using Evaluation version, in this case Spices.Obfuscator  obfuscates random number (~50% approximately) of assembly members.
Link Posted: 04-Feb-2006 10:50
I have the same problem but the non-trail version of the console edition, bought some days ago and downloaded from this web page by loggin in with my user account.

I want to obfuscate a .NET 2.0 Windows Form assembly, but I am not able to obfuscate the private fields that are used for the windows controls, e.g. But the setting for obfuscation fields (L) is set.

here is the output:


Obfuscation Statistics
-------------------------------------------------
Members          Assembly Obfuscation Percentage
-------------------------------------------------
Namespaces:             6           0      0,00%
Types:                 22           9     40,91%
Fields:                94           0      0,00%
Methods:              222          69     31,08%
Properties:            51           0      0,00%
Events:                 0           0      0,00%
ManagedResource:        2           0      0,00%
AssemblyRefs:           5           0      0,00%
TypeRefs:             151           0      0,00%
MemberRefs:           303           0      0,00%
MetaData Size:      32648       73048    223,74%
-------------------------------------------------


how can I force Spices Obfuscator to obfuscate members?

other question: when i only start Spices Obfuscator by entering NRObfuscator.exe, the help screen is shown, but at the top the application tells me that there are no registration infos, like license type, name, email, etc. and I need to run "NRObfuscator.exe /REG" for generating a reg code.

Or is it not important if I am own the full version? But if yes: where can I submit these reg code?
Link Posted: 04-Feb-2006 17:36
I have the same problem but the non-trail version of the console edition, bought some days ago and downloaded from this web page by loggin in with my user account.

I want to obfuscate a .NET 2.0 Windows Form assembly, but I am not able to obfuscate the private fields that are used for the windows controls, e.g. But the setting for obfuscation fields (L) is set.

how can I force Spices Obfuscator to obfuscate members?

You can use Spices.Project.InclusionPatterns property and add some regular expressions to include fields in some classes into opbfuscation or use Spices.Project.ExclusionPatterns property to exclude some fields from obfuscation and use fields obfuscation - in this case only excluded fields will not obfuscated.
Als you can mark members excluded from obfuscation by NotObfuscateAttribute (source of obfuscation attributes you can find in the \SDK folder of Spices.Net installation)

other question: when i only start Spices Obfuscator by entering NRObfuscator.exe, the help screen is shown, but at the top the application tells me that there are no registration infos, like license type, name, email, etc. and I need to run "NRObfuscator.exe /REG" for generating a reg code.

Or is it not important if I am own the full version? But if yes: where can I submit these reg code?


You should activate your copy of Spices.Net,
run NRObfuscator.exe as shown below:

NRObfuscator.exe /REG >output.txt

and send to: with "Spices.Net: request activation code" subject. You'll receive activated license and license installation instructions.