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

Command

.listen

Syntax

.listen [Port (decimal)]

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 (decimal)] (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.
HyperDbg> .listen
The following command enables a server and listens on port 50001, and waits for a debugger to connect to it.
HyperDbg> .listen 50001

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
Copy link
Edit on GitHub
On this page
Command
Syntax
Description
Parameters
Examples
IOCTL
Remarks
Requirements
Related