> For the complete documentation index, see [llms.txt](https://bingoc2.drngd0tter.red/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bingoc2.drngd0tter.red/bingoc2/commands/listen.md).

# 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]
```
