mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-07-10 01:29:59 +00:00
add interpreter
This commit is contained in:
parent
c57c95a86a
commit
637b944553
6 changed files with 70 additions and 3 deletions
|
|
@ -10,6 +10,7 @@
|
|||
*
|
||||
*/
|
||||
#include <Windows.h>
|
||||
#include <string>
|
||||
#include <conio.h>
|
||||
#include <iostream>
|
||||
#include "Definition.h"
|
||||
|
|
@ -17,6 +18,8 @@
|
|||
|
||||
#pragma comment(lib, "HPRDBGCTRL.lib")
|
||||
|
||||
using namespace std;
|
||||
|
||||
//
|
||||
// Header file of HPRDBGCTRL
|
||||
// Imports
|
||||
|
|
@ -27,10 +30,12 @@ extern "C"
|
|||
__declspec (dllimport) int __cdecl HyperdbgUnload();
|
||||
__declspec (dllimport) int __cdecl HyperdbgInstallDriver();
|
||||
__declspec (dllimport) int __cdecl HyperdbgUninstallDriver();
|
||||
__declspec (dllimport) int __cdecl HyperdbgInterpreter(std::string Command);
|
||||
__declspec (dllimport) void __stdcall HyperdbgSetTextMessageCallback(Callback handler);
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Print HyperDbg Header
|
||||
*
|
||||
|
|
@ -61,6 +66,13 @@ int main()
|
|||
//
|
||||
PrintAppearance();
|
||||
|
||||
|
||||
//std::string command = "salam";
|
||||
//HyperdbgInterpreter(command);
|
||||
|
||||
//_getch();
|
||||
//return 0;
|
||||
|
||||
//
|
||||
// Installing Driver
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue