An open API service indexing awesome lists of open source software.

https://github.com/anshulkoshyari/reverse-shell

Reverse Shell written in Python.
https://github.com/anshulkoshyari/reverse-shell

network-programming pyhton socket-programming

Last synced: 10 months ago
JSON representation

Reverse Shell written in Python.

Awesome Lists containing this project

README

          

# Reverse Shell

This repository contains two Python scripts: `server.py` and `client.py`, which implement a basic reverse shell setup. The server listens for incoming client connections, and the client, once connected, listens for commands from the server to execute on the client's local machine.

## How It Works

- The **server** (running `server.py`) listens for incoming client connections on a specified port (default: `9999`).
- The **client** (running `client.py`) connects to the server at a given IP address and port.
- The server can then send commands to the client, which the client will execute and return the output back to the server.

This setup mimics a reverse shell where the server controls the client by sending commands.

## Prerequisites

- Python 3.x
- Basic knowledge of networking and sockets
- Ensure the server's IP address is accessible by the client (the server's firewall should allow the port, typically `9999`).