2023-08-10 12:34:37 +05:30
|
|
|
# dhcpig
|
|
|
|
|
|
|
|
> Initiates an advanced DHCP exhaustion attack and stress test.
|
|
|
|
> DHCPig needs to be run with root privileges.
|
|
|
|
> More information: <https://github.com/kamorin/DHCPig>.
|
|
|
|
|
|
|
|
- Exhaust all of the available DHCP addresses using the specified interface:
|
|
|
|
|
|
|
|
`sudo ./pig.py {{eth0}}`
|
|
|
|
|
|
|
|
- Exhaust IPv6 addresses using eth1 interface:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`sudo ./pig.py {{[-6|--ipv6]}} {{eth1}}`
|
2023-08-10 12:34:37 +05:30
|
|
|
|
|
|
|
- Send fuzzed/malformed data packets using the interface:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`sudo ./pig.py {{[-f|--fuzz]}} {{eth1}}`
|
2023-08-10 12:34:37 +05:30
|
|
|
|
|
|
|
- Enable color output:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`sudo ./pig.py {{[-c|--color]}} {{eth1}}`
|
2023-08-10 12:34:37 +05:30
|
|
|
|
|
|
|
- Enable minimal verbosity and color output:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`sudo ./pig.py {{[-c|--color]}} {{[-v|--verbosity]}} 1 {{eth1}}`
|
2023-08-10 12:34:37 +05:30
|
|
|
|
2024-02-09 10:55:36 -03:00
|
|
|
- Use a debug verbosity of 100 and scan network of neighboring devices using ARP packets:
|
2023-08-10 12:34:37 +05:30
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`sudo ./pig.py {{[-c|--color]}} {{[-v|--verbosity]}} 100 {{[-n|--neighbors-scan-arp]}} {{eth1}}`
|
2023-08-10 12:34:37 +05:30
|
|
|
|
|
|
|
- Enable printing lease information, attempt to scan and release all neighbor IP addresses:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`sudo ./pig.py {{[-n|--neighbors-scan-arp]}} {{[-r|--neighbors-attack-release]}} {{[-o|--show-options]}} {{eth1}}`
|