listen

Help

Start a listener

Subcommands

  • http => start http listener

  • dns => start dns listener

  • icmp => start icmp listener

Usage

HTTP

# start http listener
listen http [flags]

Flags

-l => lhost: host to listen on (defaults to: 0.0.0.0)

-n => name: name of the new listener (required)

-p => port: port ot listen on (default to: 80)

-u => uri: uri for agent to callback to (defaults to: index.php)

-a => user agent: user agent for agents to use (defaults to: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0)

ICMP (Currently Not Supported)

# start icmp listener
listen icmp [flags]

Flags

-l => lhost: host to listen on (defaults to: 0.0.0.0)

-n => name: name of the new listener (required)

DNS (Currently Not Supported)

# start dns listener
listen dns [flags]

Last updated