Welcome to the Remote Access Trojan (RAT) project! This Python-based tool demonstrates basic remote command execution capabilities. It consists of two main components:
- Server (
server.py
): Listens for client connections and sends commands. - Client (
rat.py
): Connects to the server, executes commands, and sends back results.
- Real-time Command Execution: Execute commands on the client machine remotely.
- Instant Feedback: Receive command output from the client in real-time.
- Simple Setup: Easy-to-use scripts for quick deployment.
- Python 3.x
-
Clone the repository:
git clone https://github.com/kokatesaurabh/reverse-shell.git cd reverse-shell
-
Install any required dependencies (currently none):
pip install -r requirements.txt
-
Run the server script:
python server.py
-
The server will start listening for incoming connections on the specified IP and port.
-
Edit
rat.py
to set theSERVER_IP
variable to the server’s IP address. -
Run the client script:
python rat.py
-
The client will connect to the server and be ready to execute commands.
-
On Server:
- Type commands and press Enter to send them to the connected client.
- Use
quit
,exit
,q
, orx
to disconnect the client and stop the server.
-
On Client:
- Executes commands received from the server and sends back the output.
- Ethical Use: This project is for educational purposes only. Unauthorized use on other systems is illegal and unethical.
- Security: Use this tool only in a controlled, authorized environment.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or feedback, please reach out to Saurabh Kokate.
Happy learning and exploring!