RESTful API
Platypus supports RESTful API to perform common operations. Almost all operations you can use in cli mode also can be accomplished via RESTful API. Here are all supported RESTful APIs. You can use them to build your frontend applications.
GET /server
List all listening servers and its' related clientsGET /server/:hash
List a specific serverGET /server/:hash/client
List all clients of a specific serverPOST /server
Create a reverse shell serverhost
The host you want the server to listen onport
The port you want the server to listen onDELETE /server/:hash
Stop a reverse shell serverGET /client
List all online clientsGET /client/:hash
List a specific clientDELETE /client/:hash
Delete a reverse shell clientPOST /client/:hash
Execute a system command on the specific clientcmd
The command you want the client to execute