Linux command
arpspoof 命令
安全
May affect permissions or system state. Check the target first.
命令示例
Poison
sudo arpspoof -i wlan0 host_ip
Example
sudo arpspoof -i wlan0 -t target_ip host_ip
Bidirectional
sudo arpspoof -i wlan0 -r -t target_ip host_ip
说明
arpspoof forges ARP replies to intercept network packets. It sends fake ARP responses to redirect traffic through the attacker's machine, enabling man-in-the-middle attacks for network analysis and security testing.
参数
- -i _interface_
- Network interface to use
- -t _target_
- Target IP address to poison (poisons all hosts if omitted)
- -r
- Poison both target and host (bidirectional)
- host
- IP address of the host to impersonate (usually the gateway)
FAQ
What is the arpspoof command used for?
arpspoof forges ARP replies to intercept network packets. It sends fake ARP responses to redirect traffic through the attacker's machine, enabling man-in-the-middle attacks for network analysis and security testing.
How do I run a basic arpspoof example?
Run `sudo arpspoof -i wlan0 host_ip` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -i _interface_ do in arpspoof?
Network interface to use