Commit Graph

709 Commits

Author SHA1 Message Date
de4dot
e5145fcca9 Remove MC type and module refs 2012-02-21 12:01:39 +01:00
de4dot
7bc3930df9 Decrypt resources 2012-02-21 11:51:19 +01:00
de4dot
58a94a8420 Decrypt methods protected with older MC version 2012-02-21 09:26:05 +01:00
de4dot
eb223537f0 Decrypt methods (decryption #1-4, not #5-7) 2012-02-20 17:20:29 +01:00
de4dot
b422e08fb1 Add lookup() method for ModuleReferences 2012-02-20 17:18:22 +01:00
de4dot
0c3aca32b9 Update code to handle MethodDefPtr table 2012-02-20 17:17:55 +01:00
de4dot
6d2435377f Merge branch 'master' into mc 2012-02-20 05:59:08 +01:00
de4dot
b093e4c918 Copy license text files to output directory 2012-02-20 05:58:58 +01:00
de4dot
8536e211dd Detect MC 2012-02-20 04:58:46 +01:00
de4dot
fc497b1688 Add MaxtoCode files 2012-02-20 03:48:59 +01:00
de4dot
d7afc66c6d Don't remove string decrypter type if there's still code calling it 2012-02-19 00:50:08 +01:00
de4dot
e18ff9aea1 Don't remove string decrypter types if there was an error decrypting strings 2012-02-18 08:08:00 +01:00
de4dot
2c969446b0 Add InlinedAllCalls property 2012-02-18 07:56:53 +01:00
de4dot
8b059bcea7 These messages should be warnings 2012-02-18 07:52:58 +01:00
de4dot
9e16d9cd40 Rename method 2012-02-13 11:28:08 +01:00
de4dot
5579323b3e Print warning if I/O exception 2012-02-13 11:16:38 +01:00
de4dot
981472cd91 Methods should be static and have a body 2012-02-13 11:11:08 +01:00
de4dot
a35c765f15 Rename method 2012-02-13 10:20:11 +01:00
de4dot
f7abb70475 New version: 1.6.0 2012-02-12 18:07:53 +01:00
de4dot
179ea6d6fd Only string decrypter method is worth 100 points 2012-02-12 16:56:26 +01:00
de4dot
3e3be639e5 Move reading variable length int32 code to DeobUtils 2012-02-12 16:54:48 +01:00
de4dot
67efd5e7e7 Rename namespace to Eazfuscator_NET 2012-02-12 16:46:39 +01:00
de4dot
c2d13d9059 Remove all invalid methods 2012-02-12 16:29:29 +01:00
de4dot
4691c805d8 Ignore invalid methods 2012-02-12 16:25:12 +01:00
de4dot
46f23ce89d Add InvalidMethodsFinder 2012-02-12 16:24:59 +01:00
de4dot
c15773b709 Merge branch 'cv' into next_version
Conflicts:
	blocks/DotNetUtils.cs
2012-02-12 14:47:24 +01:00
de4dot
c73fcfc1d0 Remove CV type if it is empty 2012-02-12 14:38:42 +01:00
de4dot
5ce1f74263 Position has already been set to 0 2012-02-12 14:29:11 +01:00
de4dot
037cb5bc68 Decrypt the remaining (EREX) resources 2012-02-12 14:28:53 +01:00
de4dot
9a6bd53cb9 Remove obfuscator obfuscator bundle types 2012-02-12 13:38:23 +01:00
de4dot
ded45dcb7a Remove proxy method types and main type 2012-02-12 13:00:38 +01:00
de4dot
ff55be46b6 Rename getField() to getFieldByName() and add a real getField() method 2012-02-12 12:53:36 +01:00
de4dot
8999eb8e0f Remove CV main type methods if < v5.0 2012-02-12 12:08:46 +01:00
de4dot
42f66c3948 Fix detection; 3.2 doesn't have those extra fields 2012-02-12 12:03:55 +01:00
de4dot
d6327b401e Remove all anti-reflection types 2012-02-12 11:39:00 +01:00
de4dot
80d338637e Add method to remove classes with no base type 2012-02-12 11:35:18 +01:00
de4dot
18cd71ecdc Update detection (v5.0) 2012-02-11 23:39:37 +01:00
de4dot
070acc59f1 Bail out earlier if not encrypted 2012-02-11 23:23:51 +01:00
de4dot
91f7d2cb51 Find and remove resource decrypter types 2012-02-11 23:23:25 +01:00
de4dot
c18bed7d69 Add namespace 2012-02-11 23:11:54 +01:00
de4dot
bffbe419d5 Add hasInteger() method 2012-02-11 23:11:41 +01:00
de4dot
d44db9871e Add log message that we have decrypted a resource 2012-02-11 21:51:48 +01:00
de4dot
57b947a3da Add InvalidDataException 2012-02-11 21:49:22 +01:00
de4dot
8b2ef5d6bb Update if expression 2012-02-11 21:43:26 +01:00
de4dot
cd7d3724c3 Move fields from binder to exception 2012-02-11 21:30:54 +01:00
de4dot
9050af8a03 Refactor method 2012-02-11 19:34:07 +01:00
de4dot
ccd7d2ac79 Decrypt .resources files 2012-02-11 16:46:39 +01:00
de4dot
e5a72396c2 Remove length parameter from xxxteaDecrypt() 2012-02-11 16:46:02 +01:00
de4dot
76d9e87c3c Add code to write .resources files 2012-02-11 16:43:53 +01:00
de4dot
ae97752d9c Set data field to a 1-byte array 2012-02-09 10:14:59 +01:00
de4dot
ba399609c7 Initialize otherInitMethods in 2nd ctor 2012-02-09 10:14:29 +01:00
de4dot
45bf016a2e Rename method 2012-02-09 10:14:08 +01:00
de4dot
15713a2b38 Check assembly for null (it could be a netmodule) 2012-02-08 22:01:10 +01:00
de4dot
d5089fa888 Remove kill type in deobfuscateBegin() 2012-02-08 19:54:05 +01:00
de4dot
b5c8a89b32 Remove init method calls called from .ctors 2012-02-08 19:40:17 +01:00
de4dot
a8d6aac306 Update detection of tamper detection types when proxy calls are enabled 2012-02-08 19:36:58 +01:00
de4dot
04247b5533 Remove most calls to main CV type 2012-02-08 19:21:00 +01:00
de4dot
c757139357 Remove string decrypter type 2012-02-08 18:58:06 +01:00
de4dot
98c8ea49e9 Remove tamper detection code 2012-02-08 18:40:24 +01:00
de4dot
1583552825 Make sure rvas list is never null 2012-02-08 16:14:07 +01:00
de4dot
780da4a0ad Update detection of encrypted methods data 2012-02-08 15:52:39 +01:00
de4dot
fa6b0d4054 Move detection of CV main type to its own class 2012-02-08 15:40:11 +01:00
de4dot
bb89ce2983 Remove method since base class now has the same method 2012-02-08 15:19:45 +01:00
de4dot
1e3daf3b45 Dump embedded assemblies 2012-02-08 12:33:02 +01:00
de4dot
09e840923d Search for sig starting from _stub RVA 2012-02-08 09:29:49 +01:00
de4dot
a8d4b38c79 Mover version info to a new ObfuscatorVersion enum 2012-02-08 08:55:45 +01:00
de4dot
0e89c0fc35 Only check Version property if methods decrypter was found 2012-02-08 08:50:36 +01:00
de4dot
776fd7f69f Speed up finding V5 methods decrypter type 2012-02-07 15:17:41 +01:00
de4dot
1076218a81 Detect CV version 2012-02-07 15:05:27 +01:00
de4dot
6ab0748bdd Decrypt V5 encrypted methods 2012-02-07 14:55:20 +01:00
de4dot
f11c51830f Make sure info is copied 2012-02-07 14:53:58 +01:00
de4dot
97d09c4c65 Make method accessible by sub classes 2012-02-07 14:53:34 +01:00
de4dot
3276f433c9 Add code to detect V5 methods decrypter 2012-02-07 05:08:02 +01:00
de4dot
0aeee176cc Merge v3-v4 and v5 code 2012-02-07 04:45:59 +01:00
de4dot
f1a1188409 Add a new ctor to copy values from old instance 2012-02-07 04:45:04 +01:00
de4dot
8f9cc6d290 Re-use v3-v4 string decrypter 2012-02-07 03:03:49 +01:00
de4dot
d512889833 Fix 'shadow calls' obfuscation 2012-02-07 02:07:31 +01:00
de4dot
c2313110b8 Add getDelegateTypes() and fix findProxyCall() 2012-02-07 02:02:49 +01:00
de4dot
ad8a5078fe Rename method 2012-02-07 00:42:32 +01:00
de4dot
2ccb35afb0 Add CV5 files 2012-02-06 15:55:35 +01:00
de4dot
26bf21a84e Show obfuscator version 2012-02-06 15:55:14 +01:00
de4dot
b39725f12f Remove useless 'using' 2012-02-06 15:52:19 +01:00
de4dot
0d6542e383 Move v3-v4 code to a sub dir 2012-02-06 15:49:27 +01:00
de4dot
da3a28f0a8 Move (and rename) XXTEA decrypt func to DeobUtils 2012-02-06 08:22:55 +01:00
de4dot
b867301797 Update valid name regex 2012-02-06 08:20:04 +01:00
de4dot
b3750f9d4c Initialize its token field 2012-02-05 23:04:24 +01:00
de4dot
542c6bb213 Support 3.2 methods decrypter 2012-02-05 22:49:10 +01:00
de4dot
d5c3a6964b Support 4.0 methods decrypter 2012-02-05 21:27:36 +01:00
de4dot
1903cf8607 KILL type is only worth 10 points 2012-02-05 19:01:49 +01:00
de4dot
9e4b29034f Finish getStringDecrypterMethods() method 2012-02-05 18:59:29 +01:00
de4dot
191fbb84b0 Use new getInitializedUInt32Array() method 2012-02-05 18:56:05 +01:00
de4dot
c8c4e3341c Add getInitializedUInt32Array() method 2012-02-05 18:55:48 +01:00
de4dot
d6ff8b515d Add string decrypter 2012-02-05 18:47:31 +01:00
de4dot
029c049bf6 Move readVariableLengthInteger() to DeobUtils 2012-02-05 18:46:14 +01:00
de4dot
0b43c77fdb Add missing call to removeNewlines() 2012-02-05 18:45:41 +01:00
de4dot
29c5cfc9c8 Don't stop if 2nd instr is also a store 2012-02-05 18:45:04 +01:00
de4dot
23c72927b5 Add CV and methods decrypter 2012-02-05 16:17:47 +01:00
de4dot
82cc64bd77 Add Sections property 2012-02-05 16:14:46 +01:00
de4dot
84f322dbcf Rename method. Ignore generic methods. 2012-02-03 16:21:59 +01:00
de4dot
3caad72275 Print new resource name 2012-02-03 14:35:42 +01:00