This PyHacks repository contains more networking related python scripts for linux system
A collection of Python scripts for various network tasks, including MAC address changing, network scanning, ARP spoofing, and ARP sniffing.
This repository provides a set of command-line tools for network manipulation and analysis. It includes tools for changing MAC addresses, scanning networks, spoofing ARP packets, and sniffing ARP traffic.
- Modular design for easy maintenance and extension.
- Command-line interface for easy usage.
- Supports multiple network tasks.
- Python 3.x
- Scapy library (
pip install scapy
)
- Clone the repository:
git clone https://github.com/your-username/network-tools.git
- Install required packages:
pip install scapy
Run the tool using the following command:
python3 cli.py --help
This will display the help menu for available commands.
Changes the MAC address of a network interface.
python3 cli.py mac_changer -i wlan0 -m 11:22:33:44:55:66
Scans a network to discover devices.
python3 cli.py network_scanner -r 192.168.1.1/24
Spoofs ARP packets to manipulate network traffic.
python3 cli.py arp_spoofer -t 192.168.1.100 -s 192.168.1.1
Sniffs ARP packets to monitor network activity.
python3 cli.py arp_sniffer -i wlan0
- Python Version: Ensure you're using Python 3.
- Scapy Installation: Install Scapy using
pip install scapy
. - Root Privileges: Some operations require root access.
Contributions are welcome! Please submit pull requests with detailed explanations of changes.