commands.sh

dhcpig

all

Initiates an advanced DHCP exhaustion attack and stress test.

More info →

Options (7)

-6, --ipv6boolean

Exhaust IPv6 addresses using eth1 interface

Example: sudo {{path/to}}/pig.py {{[-6|--ipv6]}} {{eth1}}
-f, --fuzzboolean

Send fuzzed/malformed data packets using the interface

Example: sudo {{path/to}}/pig.py {{[-f|--fuzz]}} {{eth1}}
-c, --colorboolean

Enable color output

Example: sudo {{path/to}}/pig.py {{[-c|--color]}} {{eth1}}
-v, --verbosityboolean

Enable minimal verbosity and color output

Example: sudo {{path/to}}/pig.py {{[-c|--color]}} {{[-v|--verbosity]}} 1 {{eth1}}
-n, --neighbors-scan-arpboolean

Use a debug verbosity of 100 and scan network of neighboring devices using ARP packets

Example: sudo {{path/to}}/pig.py {{[-c|--color]}} {{[-v|--verbosity]}} 100 {{[-n|--neighbors-scan-arp]}} {{eth1}}
-r, --neighbors-attack-releaseboolean

Enable printing lease information, attempt to scan and release all neighbor IP addresses

Example: sudo {{path/to}}/pig.py {{[-n|--neighbors-scan-arp]}} {{[-r|--neighbors-attack-release]}} {{[-o|--show-options]}} {{eth1}}
-o, --show-optionsboolean

Enable printing lease information, attempt to scan and release all neighbor IP addresses

Example: sudo {{path/to}}/pig.py {{[-n|--neighbors-scan-arp]}} {{[-r|--neighbors-attack-release]}} {{[-o|--show-options]}} {{eth1}}

Examples (7)

Exhaust all of the available DHCP addresses using the specified interface

sudo path/to/pig.py eth0

Exhaust IPv6 addresses using eth1 interface

sudo path/to/pig.py [-6|--ipv6] eth1

Send fuzzed/malformed data packets using the interface

sudo path/to/pig.py [-f|--fuzz] eth1

Enable color output

sudo path/to/pig.py [-c|--color] eth1

Enable minimal verbosity and color output

sudo path/to/pig.py [-c|--color] [-v|--verbosity] 1 eth1

Use a debug verbosity of 100 and scan network of neighboring devices using ARP packets

sudo path/to/pig.py [-c|--color] [-v|--verbosity] 100 [-n|--neighbors-scan-arp] eth1

Enable printing lease information, attempt to scan and release all neighbor IP addresses

sudo path/to/pig.py [-n|--neighbors-scan-arp] [-r|--neighbors-attack-release] [-o|--show-options] eth1
made by @shridhargupta | data from tldr-pages