Skip to content

Latest commit

 

History

History
64 lines (52 loc) · 1.92 KB

README.md

File metadata and controls

64 lines (52 loc) · 1.92 KB

DHCPEyes 👀

Intercept requests passively of DHCP from own network!

DemoImage

Authors

Prerequisites

Require python2.7 (also python3.5)

  • scapy >= 2.4.4
  • termcolor
  • colorama (if you use windows)
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)

Installation

pip2 install -r requirements.txt

Usage

    ____  __  ____________  ______
   / __ \/ / / / ____/ __ \/ ____/_  _____  _____
  / / / / /_/ / /   / /_/ / __/ / / / / _ \/ ___/
 / /_/ / __  / /___/ ____/ /___/ /_/ /  __(__  )
/_____/_/ /_/\____/_/   /_____/\__, /\___/____/
                              /____/

        * 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

Examples

./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
Windows
./dhcpeyes.py -i "Connessione alla rete locale (LAN)" -t DHCPR  # Using "Connessione alla rete locale (LAN)" provided from output of command netsh