Пример #1
0
        public override bool getDecryptedModule(ref byte[] newFileData, ref DumpedMethods dumpedMethods)
        {
            if (!mainType.Detected)
            {
                return(false);
            }

            var fileDecrypter = new FileDecrypter(mainType);

            var fileData = DeobUtils.readModule(module);

            if (!fileDecrypter.decrypt(fileData, ref dumpedMethods))
            {
                return(false);
            }

            newFileData = fileData;
            return(true);
        }
Пример #2
0
        public override bool getDecryptedModule(ref byte[] newFileData, ref DumpedMethods dumpedMethods)
        {
            if (!mainType.Detected)
                return false;

            var fileDecrypter = new FileDecrypter(mainType);

            var fileData = DeobUtils.readModule(module);
            if (!fileDecrypter.decrypt(fileData, ref dumpedMethods))
                return false;

            newFileData = fileData;
            return true;
        }