https://github.com/apurvsinghgautam/http-reverse-shell
An HTTP Reverse Shell in Python
https://github.com/apurvsinghgautam/http-reverse-shell
http-server python reverse-shell security
Last synced: 4 months ago
JSON representation
An HTTP Reverse Shell in Python
- Host: GitHub
- URL: https://github.com/apurvsinghgautam/http-reverse-shell
- Owner: apurvsinghgautam
- Created: 2017-06-03T09:50:31.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-08-09T22:20:23.000Z (almost 3 years ago)
- Last Synced: 2023-08-09T23:34:34.470Z (almost 3 years ago)
- Topics: http-server, python, reverse-shell, security
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 54
- Watchers: 3
- Forks: 29
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HTTP-Reverse-Shell
 
A reverse shell over HTTP (dodges deep packet inspection). Using Python 3 and no external dependencies needed.
# Prerequisites
- Python 3 (on both the attacker and the target machine
# Usage
1. Change `ATTACKER_IP` to the actual IP of the attacker on `client.py`
2. Change `ATTACKER_PORT` on both `client.py` and `server.py` (or you can just use the default)
3. Transfer `client.py` to the target machine
4. Run `server.py` on the attacker machine
```
python3 server.py
```
5. Run `client.py` on the target machine
```
python3 client.py
```
6. Connection will be established