Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sid220/sidsploit-web
https://github.com/sid220/sidsploit-web
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sid220/sidsploit-web
- Owner: Sid220
- Created: 2023-06-15T16:11:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-15T16:12:14.000Z (over 1 year ago)
- Last Synced: 2024-10-11T16:50:59.521Z (about 1 month ago)
- Language: PHP
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[Main](https://github.com/Sid220/sidsploit)
# Sidsploit Web
Sidsploit Web is the web interface and API for SidSploit. It is written in plain PHP.[//]: # (NEW!: A public instance is available at [https://sidsploit.plios.tech](https://sidsploit.plios.tech).)
## Install
### Requirements
- PHP 7.0+
- MariaDB
- Webserver
### Steps
1. Clone this repository
2. Create a database named `sidsploit` and import `src/install/sidsploit.sql`
3. Edit `src/conf/conf.php` to your database settings
4. Move `src` to the directory you wish to sidsploit from## API Usage
### `GET /api/get_in.php`
Gets web STDIN for an exploit.
#### Parameters
- `id`: Exploit ID
#### Response
- Success
- `[STDIN]`
- Plain text
- Error
- `{"error": "[ERROR MESSAGE]"}`
- JSON### `GET /api/get_out.php`
Gets STDOUT for an exploit.
#### Parameters
- `id`: Exploit ID
#### Response
- Success
- `[STDOUT]`
- Plain text
- Error
- `{"error": "[ERROR MESSAGE]"}`
- JSON### `POST /api/post_in.php`
Concats param `input` to `stdin` in database
#### Parameters
- `id`: Exploit ID
- `input`: Input to concat
#### Response
- Success
- `{"success": "OK"}`
- JSON
- Error
- `{"error": "[ERROR MESSAGE]"}`
- JSON### `POST /api/post_out.php`
Concats param `output` to `output` in database
#### Parameters
- `id`: Exploit ID
- `output`: Output to concat
#### Response
- Success
- `{"success": "OK"}`
- JSON
- Error
- `{"error": "[ERROR MESSAGE]"}`
- JSON