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
  • Login
  • Logout

Was this helpful?

  1. Developer Reference
  2. Endpoints

Authentication

The authentication endpoint to login/out.

Authorization can be performed using a session cookie or an API-key.

Login

POST http://localhost:8080/auth/login

Login using credentials or an API-key.

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

Request Body

Name
Type
Description

username

String

Your username

password

String

Your password

{
    // Response
}
{
    // Response
}

Logout

GET

Logout

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.

PreviousEndpointsNextListeners

Last updated 2 years ago

Was this helpful?

πŸ‘¨β€πŸ’»
↗️
πŸ”“