mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-07-10 01:29:59 +00:00
support to '.exit' 'load' and 'unload' commands
This commit is contained in:
parent
dadfd8a8c1
commit
9756b2f896
2 changed files with 101 additions and 42 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue