public Controller(ref ModuleDefMD moduleDef, string pathFile, int userParams) { var imageProtectedVanillaFile = Path.GetDirectoryName(pathFile) + @"\vmp.exe"; if (userParams == 1) { var bypassVirtualMachine = new BypassVirtualMachine(ref moduleDef); } else if (userParams == 2) { var aTricks = new AntiTricks(ref moduleDef, imageProtectedVanillaFile); var tryFixCorruptMethods = new FixCorruptMethods(ref moduleDef); } else if (userParams == 3) { var aTricks = new AntiTricks(ref moduleDef, imageProtectedVanillaFile); var bypassVirtualMachine = new BypassVirtualMachine(ref moduleDef); var tryFixCorruptMethods = new FixCorruptMethods(ref moduleDef); } else if (userParams == 4) { var tryShowRestoreMethods = new TryRestoreMethods(ref moduleDef, pathFile); Console.WriteLine("Continue?"); Console.ReadKey(); } }
public Controller(ref ModuleDefMD moduleDef, string folderPathFile, int userParams) { if (userParams == 1) { BypassVirtualMachine bypassVirtualMachine = new BypassVirtualMachine(ref moduleDef); } else if (userParams == 2) { AntiTricks aTricks = new AntiTricks(ref moduleDef, folderPathFile); } else if (userParams == 3) { AntiTricks aTricks = new AntiTricks(ref moduleDef, folderPathFile); BypassVirtualMachine bypassVirtualMachine = new BypassVirtualMachine(ref moduleDef); } }
public Controller(ref ModuleDefMD moduleDef, string folderPathFile) { AntiTricks aTricks = new AntiTricks(ref moduleDef, folderPathFile); }