51{
52 if (SplitCommand.size() != 1)
53 {
56 }
57
59 {
60
61
62
63 ShowMessages(
"remote debugging - debugger ('debugger mode')\n");
64 }
66 {
67
68
69
70 ShowMessages(
"remote debugging - debuggee ('debugger mode')\n");
71 }
73 {
74
75
76
77 ShowMessages(
"remote debugging ('vmi mode'), ip : %s:%s \n",
80 }
82 {
83
84
85
87 }
89 {
90
91
92
93
94 ShowMessages(
"a remote debugger connected to this system in ('vmi "
95 "mode'), ip : %s:%s \n",
98 }
99 else
100 {
101
102
103
104 ShowMessages(
"err, you're not connected to any instance of HyperDbg\n");
105 }
106}
VOID ShowMessages(const char *Fmt,...)
Show messages.
Definition libhyperdbg.cpp:96
BOOLEAN g_IsSerialConnectedToRemoteDebugger
Shows if the debugger was connected to remote debugger (A remote host)
Definition globals.h:238
BOOLEAN g_IsConnectedToRemoteDebuggee
Shows whether the current debugger is the host and connected to a remote debuggee (guest)
Definition globals.h:74
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
VOID CommandStatusHelp()
help of the .status command
Definition status.cpp:31
BOOLEAN g_IsConnectedToRemoteDebugger
Shows whether the current system is a guest (debuggee) and a remote debugger is connected to this sys...
Definition globals.h:81
BOOLEAN g_IsSerialConnectedToRemoteDebuggee
Shows if the debugger was connected to remote debuggee over (A remote guest)
Definition globals.h:231
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
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