headers for controller of the reversing machine's module
More...
Go to the source code of this file.
headers for controller of the reversing machine's module
- Author
- Sina Karvandi (sina@.nosp@m.hype.nosp@m.rdbg..nosp@m.org)
- Version
- 1.0
- Date
- 2024-06-24
- Copyright
- This project is released under the GNU Public License v3.
◆ ConnectLocalDebugger()
VOID ConnectLocalDebugger |
( |
| ) |
|
Connect to local debugger.
- Returns
- VOID
51{
53}
#define TRUE
Definition BasicTypes.h:55
BOOLEAN g_IsConnectedToHyperDbgLocally
Shows whether the user is allowed to use 'load' command to load modules locally in VMI (virtual machi...
Definition globals.h:67
◆ ConnectRemoteDebugger()
Connect to remote debugger.
- Returns
- BOOLEAN
62{
63
64
65
67 {
69 }
70
71 if (Port != NULL)
72 {
73 if (!
IsNumber(Port) || stoi(Port) > 65535 || stoi(Port) < 0)
74 {
76 }
77
78
79
80
84 }
85 else
86 {
87
88
89
93 }
94
96}
#define FALSE
Definition BasicTypes.h:54
#define DEFAULT_PORT
default port of HyperDbg for listening by debuggee (server, guest)
Definition Constants.h:323
BOOLEAN IsNumber(const string &str)
check if given string is a numeric string or not
Definition common.cpp:145
BOOLEAN ValidateIP(const string &ip)
Function to validate an IP address.
Definition common.cpp:469
string g_ServerPort
In debugger (not debuggee), we save the port of server debuggee in this variable to use it later e....
Definition globals.h:110
string g_ServerIp
In debugger (not debuggee), we save the port of server debuggee in this variable to use it later e....
Definition globals.h:117
VOID RemoteConnectionConnect(PCSTR Ip, PCSTR Port)
Connect to a remote debuggee (guest) as a client (host)
Definition remote-connection.cpp:315