Skip to content

Latest commit

 

History

History
57 lines (33 loc) · 1.36 KB

.listen.md

File metadata and controls

57 lines (33 loc) · 1.36 KB
description
Description of the '.listen' command in HyperDbg.

.listen (listen on a port and wait for the debugger to connect)

Command

.listen

Syntax

.listen [Port (decimal)]

Description

Listens for the debugger to connect to this computer (works as a guest debuggee server).

{% hint style="success" %} 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. {% endhint %}

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

Related

.connect (connect to a session)