A Python script for sending DHCP Discover packets over a network using raw sockets.
This script allows you to simulate a client's DHCP (Dynamic Host Configuration Protocol) request for network configuration by sending DHCP Discover packets over a specified network interface. It is a simple tool for educational and testing purposes.
-
Clone the repository:
git clone https://github.com/ishaiva/DHCPstarvation.git cd DHCP_Starvation
```bash
python sendingDHCPdiscoverPackets.py
Follow the prompts:
Enter the network interface (e.g., eth0).
Enter the number of DHCP discover packets to send.
Enter the delay between packets in seconds.
Python 3.x
Linux (due to the use of raw sockets)
The script constructs DHCP Discover packets with randomized source MAC addresses and sends them over the specified network interface. The user is prompted to input the necessary parameters such as the network interface, number of packets, and delay. Getting Started
To get started with the script, follow the Usage instructions. Ensure you have the required prerequisites installed. Disclaimer
This script is intended for educational and testing purposes only. Misuse of this script may violate network policies or applicable laws. Use responsibly and only on networks you have permission to test.
ishaiva
This project is licensed under the MIT License - see the LICENSE file for details.
GitHub ishaiva and update the author's name accordingly. Feel free to customize the content further to suit your preferences and provide any additional information you find relevant.