This is a DHCP rogue server developed for ethical purposes and pestesting.
sudo apt install python3
sudo apt install python3-pip
git clone https://github.com/juanga333/DHCP-Server.git
cd DHCP-Server
pip3 install -r requirements.txt
This is the basic usage example
sudo python3 dhcpserver.py -m <netmask>
In order to specify dns and gateway ip
sudo python3 dhcpserver.py -m <netmask> -d <dns_ip> -g <gateway_ip>
Also You can specify the list of ips for the victims
sudo python3 dhcpserver.py -m <netmask> -d <dns_ip> -g <gateway_ip> -x 192.168.0.101-120
You can also do a starvation attack
sudo python3 starvation.py
- Sniffer - A HTTP Post sniffer in order to capture credentials
- DNS Server - A DNS rogue server in order to change spoof domains
- Deauth tool - A tool to disconnect wifi clients. When victims reconnect, they could take spoof DHCP configuration