PhoenixC2
  • πŸ”₯Welcome to PhoenixC2
    • πŸ—ΊοΈRoadmap
  • πŸ› οΈSetup
    • 🐳Docker
    • 🏠Local
  • πŸ”§maintenance
    • 🌐Database
    • πŸ‘‘Administration
  • 🧱Elements
    • 🧰Kits
      • 🎧Listeners
      • πŸ₯·Stagers
    • πŸ—ΊοΈOperations
    • πŸ“„Tasks
    • πŸ‘₯Users
    • πŸ”Credentials
    • πŸ““Logs
    • πŸ”ŒPlugins
    • 🧩Modules
    • πŸ”ƒBypasses
    • πŸ’»Devices
  • πŸ”„Clients
    • πŸ–ΌοΈWeb-Interface
    • ◼️CLI
  • πŸ‘¨β€πŸ’»Developer Reference
    • ↗️Endpoints
      • πŸ”“Authentication
      • 🎧Listeners
    • 🧩Creating Modules
    • πŸ”ŒCreating Plugins
    • 🧰Creating Kits
    • ⏩Creating Bypasses
Powered by GitBook
On this page
  • Get Listeners
  • Get options
  • Add listener

Was this helpful?

  1. Developer Reference
  2. Endpoints

Listeners

Listeners endpoint to create/edit/manage/delete listeners

Get Listeners

GET http://localhost:8080/listeners

Show all listeners in JSON or as the normal front end.

Query Parameters

Name
Type
Description

json

Boolean

If the output should be in json format

Headers

Name
Type
Description

Api-Key

String

Your API-key.

{
    // Response
}
{
    // Response
}

Get options

GET http://localhost:8080/listeners/options

Get the options required to create a new listener.

Query Parameters

Name
Type
Description

json

Boolean

If the output should be in json format

type*

String

The type of listener

Headers

Name
Type
Description

Api-Key

String

Your API-key.

{
    // Response
}
{
    // Response
}

Add listener

POST http://localhost:8080/listeners/options

Get the options required to create a new listener.

Query Parameters

Name
Type
Description

json

Boolean

If the output should be in json format

is_interface

Boolean

Indicates if the given address is a interface name so it's automatically converted to it's address.

Headers

Name
Type
Description

Api-Key

String

Your API-key.

Request Body

Name
Type
Description

type*

String

The type of the listener

name*

String

The name of the listener

address*

String

The address the listener should listen on, or its interface.

port*

Integer

The port the listener should listen on.

ssl

Boolean

If ssl should be used.

limit

Integer

The limit of concurrent connections of stagers to this listener.

*options

Any

{
    // Response
}
{
    // Response
}
PreviousAuthenticationNextCreating Modules

Last updated 2 years ago

Was this helpful?

Other options listed for this type of listener at the endpoint

πŸ‘¨β€πŸ’»
↗️
🎧
options