DHCPig

DHCPig initiates an advanced DHCP exhaustion attack. It will consume all IPs on the LAN, stop new users from obtaining IPs, release any IPs in use, then for good measure send gratuitous ARP and knock all windows hosts offline.

Usage

Usage: pig.py [options] <interface>

OptionDescription
-h, --helpyou are here :)
-v, --verbosity0 … no (3)
1 … minimal
10 … default
99 … debug
-6, --ipv6DHCPv6 (off, DHCPv4 by default)
-1, --v6-rapid-commitenable RapidCommit (2way ip assignment instead of 4way) (off)
-s, --client-srca list of client MACs (e.g. 00:11:22:33:44:55,00:11:22:33:44:56) (Default: <random>)
-O, --request-optionsoption-codes to request (e.g. 21,22,23 or 12,14-19,23) (Default: 0-80)
-f, --fuzzrandomly fuzz packets (off)
-t, --threadsnumber of sending threads (1)
-a, --show-arpdetect/print ARP who_has (off)
-i, --show-icmpdetect/print ICMP requests (off)
-o, --show-optionsprint lease infos (off)
-l, --show-lease-confirmdetect/print DHCP replies (off)
-g, --neighbors-attack-garpknock off network segment using gratuitous ARPs (off)
-r, --neighbors-attack-releaserelease all neighbor IPs (off)
-n, --neighbors-scan-arpARP neighbor scan (off)
-x, --timeout-threadsthread spawn timer (0.4)
-y, --timeout-dosDOS timeout (8) (wait time to mass grat.arp)
-z, --timeout-dhcprequestDHCP request timeout (2)
-c, --colorenable color output (off)