Intercept requests passively of DHCP from own network!
- Vincenzo Gianfelice
- Contact: developer.vincenzog@gmail.com
- BTC(donation): 3EwV4zt9r5o4aTHyqjcM6CfqSVirSEmN6y
Require python2.7 (also python3.5)
- scapy >= 2.4.4
- termcolor
- colorama (if you use windows)
- First, install WinPcap
- After installed winpcap, run file exe after downloaded
- For searching interfaces on Windows, digit in prompt
netsh interface show interfaces
, and copy the 4 column (Nome interfaccia
/Name interface
)
pip2 install -r requirements.txt
____ __ ____________ ______
/ __ \/ / / / ____/ __ \/ ____/_ _____ _____
/ / / / /_/ / / / /_/ / __/ / / / / _ \/ ___/
/ /_/ / __ / /___/ ____/ /___/ /_/ / __(__ )
/_____/_/ /_/\____/_/ /_____/\__, /\___/____/
/____/
* Passive DHCP Listener! (v1.2) *
Usage: ./dhcpeyes.py -i <interface>
-i Interface for listening
Optional:
-o <arg> File Output Save
-t <arg> Options types: DHCPD (discover)
DHCPR (request)
DHCPN (nak)
DHCPI (inform)
Default print all options
./dhcpeyes.py -i wlan0 -t DHCPR # Intercept only DHCPREQUEST on wlan0
./dhcpeyes.py -t DHCPI -i wlan0 -t DHCPD # Intercept DHCPINFORM and DHCPDISCOVER
./dhcpeyes.py -i wlan0 # Intercept all
./dhcpeyes.py -i "Connessione alla rete locale (LAN)" -t DHCPR # Using "Connessione alla rete locale (LAN)" provided from output of command netsh