support to '.exit' 'load' and 'unload' commands

This commit is contained in:
SinaKarvandi 2020-04-21 04:23:48 -07:00
parent dadfd8a8c1
commit 9756b2f896
2 changed files with 101 additions and 42 deletions

View file

@ -73,37 +73,6 @@ int main()
}
return 0;
//
// Installing Driver
//
printf("Press any key to exit vmx ...");
_getch();
HyperdbgUnload();
//
// Installing Driver
//
if (HyperdbgUninstallDriver())
{
printf("Failed to uninstall driver\n");
printf("Press any key to exit ...");
_getch();
return 1;
}
printf("Press any key to exit...");
_getch();
exit(0);
return 0;
}