.connect (connect to a session)
Description of '.connect' command in HyperDbg.

Command

.connect

Syntax

.connect [ip] [port]
.connect local

Description

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.

Parameters

[ip]
The IP Address of the remote system.
[port] (optional)
The port address that the remote debugger listens on it.

Examples

The following command connects to a remote system (192.168.1.5) which the HyperDbg debugger listens on its 50000 (by default) port.
1
HyperDbg> .connect 192.168.1.5
Copied!
The following command connects to a remote system (192.168.1.5) which the HyperDbg debugger listens on its 50001 port.
1
HyperDbg> .connect 192.168.1.5 50001
Copied!
The following example connects to the current system for local debugging.
1
HyperDbg> .connect local
Copied!

IOCTL

None

Remarks

  1. 1.
    In order to be able to load modules and run commands, you have to connect to a remote system or debug your current system.

Requirements

None
Last modified 1mo ago