Exemplo n.º 1
0
        protected override void scanForObfuscator()
        {
            foreach (var type in module.Types)
            {
                if (type.FullName == "CryptoObfuscator.ProtectedWithCryptoObfuscatorAttribute")
                {
                    foundCryptoObfuscatorAttribute = true;
                    addAttributeToBeRemoved(type, "Obfuscator attribute");
                    initializeVersion(type);
                }
            }
            if (checkCryptoObfuscator())
            {
                foundObfuscatedSymbols = true;
            }

            proxyDelegateFinder = new ProxyDelegateFinder(module);
            proxyDelegateFinder.findDelegateCreator();
            stringDecrypter = new StringDecrypter(module);
            stringDecrypter.find();
            tamperDetection = new TamperDetection(module);
            tamperDetection.find();
            foundObfuscatorUserString = Utils.StartsWith(module.GetUserString(1), "\u0011\"3D9B94A98B-76A8-4810-B1A0-4BE7C4F9C98D", StringComparison.Ordinal);
        }
Exemplo n.º 2
0
        protected override void scanForObfuscator()
        {
            foreach (var type in module.Types) {
                if (type.FullName == "CryptoObfuscator.ProtectedWithCryptoObfuscatorAttribute") {
                    foundCryptoObfuscatorAttribute = true;
                    addAttributeToBeRemoved(type, "Obfuscator attribute");
                    initializeVersion(type);
                }
            }
            if (checkCryptoObfuscator())
                foundObfuscatedSymbols = true;

            proxyDelegateFinder = new ProxyDelegateFinder(module);
            proxyDelegateFinder.findDelegateCreator();
            stringDecrypter = new StringDecrypter(module);
            stringDecrypter.find();
            tamperDetection = new TamperDetection(module);
            tamperDetection.find();
            foundObfuscatorUserString = Utils.StartsWith(module.GetUserString(1), "\u0011\"3D9B94A98B-76A8-4810-B1A0-4BE7C4F9C98D", StringComparison.Ordinal);
        }
Exemplo n.º 3
0
        protected override void scanForObfuscator()
        {
            foreach (var type in module.Types) {
                if (type.FullName == "CryptoObfuscator.ProtectedWithCryptoObfuscatorAttribute") {
                    foundCryptoObfuscatorAttribute = true;
                    addAttributeToBeRemoved(type, "Obfuscator attribute");
                    initializeVersion(type);
                }
            }
            if (checkCryptoObfuscator())
                foundObfuscatedSymbols = true;

            proxyDelegateFinder = new ProxyDelegateFinder(module);
            proxyDelegateFinder.findDelegateCreator();
            stringDecrypter = new StringDecrypter(module);
            stringDecrypter.find();
            tamperDetection = new TamperDetection(module);
            tamperDetection.find();
        }