.connect (connect to a session)
Description of the '.connect' command in HyperDbg.
Last updated
Description of the '.connect' command in HyperDbg.
.connect
.connect [local]
.connect [Ip (string)] [Port (decimal)]
Connects to a remote computer session or connects to a local debugger.
If you don't specify the port, then HyperDbg uses the default port, which is 50000; however, you can change the default port if you compile the HyperDbg.
[local]
The local debugging system.
[Ip (string)]
The IP Address of the remote system.
[Port (decimal)] (optional)
The port address that the remote debugger listens on.
The following example connects to the current system for local debugging.
The following command connects to a remote system (192.168.1.5) which the HyperDbg debugger listens on its 50000 (by default) port.
The following command connects to a remote system (192.168.1.5) which the HyperDbg debugger listens on its 50001 port.
To connect to the local debugger in the VMI Mode, you need to use the following function in libhyperdbg:
To connect to the remote debugger in the VMI Mode, you need to use the following function in libhyperdbg:
In order to be able to load modules and run commands, you have to connect to a remote system or debug your current system.
None
Last updated
HyperDbg> .connect localHyperDbg> .connect 192.168.1.5HyperDbg> .connect 192.168.1.5 50001VOID
hyperdbg_u_connect_local_debugger();BOOLEAN
hyperdbg_u_connect_remote_debugger(const CHAR * ip, const CHAR * port);