A collection of custom-written Python scripts for network and system security tasks. Created primarily to explore low-level networking, packet manipulation, and client-server architectures in Python.
Disclaimer: These scripts are for educational use and authorized testing only.
A remote execution and file transfer tool using JSON and base64 encoding over raw sockets.
server.py: Listener.client.py: The payload to be executed on the target.- Supports:
cd,read,write,upload,download.
Captures keystrokes, handles special keys, and emails logs at a set interval using a background thread.
- Note: Requires hardcoding SMTP credentials in
keylogger.pybefore use.
Changes the MAC address of a specified network interface using ifconfig.
- Usage:
sudo python3 mac_changer.py -i <interface> [-m <new_mac> | -r]
Intercepts packets between a target and the gateway by continuously spoofing ARP responses. Restores the actual ARP tables gracefully upon CTRL+C.
- Usage:
sudo python3 arp_poison.py -t <target_ip> -g <gateway_ip>
Broadcasts ARP requests across a subnet to discover active hosts and their MAC addresses.
- Usage:
sudo python3 network_scanner.py -t 192.168.1.0/24
Sniffs HTTP traffic on a given interface. Extracts HTTP methods, URLs, and attempts to decode raw payloads (e.g., plain-text login data).
- Usage:
sudo python3 http_listener.py -i <interface>
Requires Python 3. Install the necessary dependencies:
pip install scapy pynput
Notes:
- Scripts that manipulate network interfaces or sniff packets (
mac_changer.py,arp_poison.py,network_scanner.py,http_listener.py) must be run withsudo. - Configure the static IP addresses in
Backdoor/scripts before running.