Esempio n. 1
0
        public void deobfuscate()
        {
            Log.n("Cleaning {0}", options.Filename);
            initAssemblyClient();

            byte[]        fileData      = null;
            DumpedMethods dumpedMethods = null;

            if (deob.getDecryptedModule(ref fileData, ref dumpedMethods))
            {
                reloadModule(fileData, dumpedMethods);
            }

            deob.deobfuscateBegin();
            deobfuscateMethods();
            deob.deobfuscateEnd();
        }
        public void deobfuscate()
        {
            Logger.n("Cleaning {0}", options.Filename);
            initAssemblyClient();

            for (int i = 0; ; i++)
            {
                byte[]        fileData      = null;
                DumpedMethods dumpedMethods = null;
                if (!deob.getDecryptedModule(i, ref fileData, ref dumpedMethods))
                {
                    break;
                }
                reloadModule(fileData, dumpedMethods);
            }

            deob.deobfuscateBegin();
            deobfuscateMethods();
            deob.deobfuscateEnd();
        }