https://github.com/natanzeraa/simple_server_backdoor
This is simple socket connection with a server that will deliver us a backdoor connection.
https://github.com/natanzeraa/simple_server_backdoor
Last synced: 4 months ago
JSON representation
This is simple socket connection with a server that will deliver us a backdoor connection.
- Host: GitHub
- URL: https://github.com/natanzeraa/simple_server_backdoor
- Owner: natanzeraa
- Created: 2024-06-26T17:58:18.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-07-04T13:27:04.000Z (12 months ago)
- Last Synced: 2024-12-27T07:34:45.474Z (6 months ago)
- Language: Python
- Size: 325 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Server Backdoor
- This project demonstrates a basic implementation of a **backdoor** using Python sockets for establishing a remote shell connection between a server and a client.
### Features
- Establishes a socket connection between a client and a server.
- Enables the server to execute shell commands on the client machine remotely.
- Uses JSON for reliable data transmission between the client and server.
- Automatically retrieves the external IPv4 address for connection.### Clone the repository
````
git clone https://github.com/NN4TT4NN/simple_server_backdoor.git
````````
cd simple_server_backdoor
````### Requirements
To run this project, you need to install the following dependencies.
You can install them using pip and the provided requirements.txt file:````
python3 -m venv venv
````````
source venv/bin/activate
````````
pip install -r requirements.txt
````````
sudo chmod +x ./server.py
````````
sudo chmod +x ./server.py
````### Running the Project
##### Server Setup:
Run the server script (server.py) on the machine **where you want to control the client**.
This script listens for incoming connections from the client.````
./server.py
````##### Reverse Shell Setup:
Run the client script (client.py) **on the target machine** that you want to control remotely.
Ensure the client script knows the IP address and port of the server where server.py is running.
3
````
./reverse_shell.py
````### Now you can explore the target machine ...
### Security Note
- This project is intended for educational purposes only.
- Unauthorized access to computer systems is illegal and unethical.
- Use this code responsibly and only on systems you have permission to test.