.listen (listen on a port and wait for the debugger to connect)
Description of '.listen' command in HyperDbg.

Command

.listen

Syntax

.listen [port]

Description

Listens for the debugger to connect to this computer (works as a guest debuggee server).
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

[port] (optional)
The port address that the remote debugger listens on it.

Examples

The following command enables a server and listens on a port (by default 50000), and waits for a debugger to connect to it.
1
HyperDbg> .listen
Copied!
The following command enables a server and listens on port 50001, and waits for a debugger to connect to it.
1
HyperDbg> .listen 50001
Copied!

IOCTL

None

Remarks

This command provides a target debuggee server (guest server), and the host (debugger) will connect to this server by using the '.connect' command.

Requirements

None
Last modified 1d ago