LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

arpspoof

Forge ARP replies for man-in-the-middle interception.

TLDR

Poison all hosts for target
$ sudo arpspoof -i wlan0 host_ip
copy
Poison specific target
$ sudo arpspoof -i wlan0 -t target_ip host_ip
copy
Bidirectional poisoning
$ sudo arpspoof -i wlan0 -r -t target_ip host_ip
copy

SYNOPSIS

arpspoof [-i interface] [-c own|host|both] [-t target] [-r] host

DESCRIPTION

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.

PARAMETERS

-i interface

Network interface to use
-c own|host|both
Which hardware address to use when restoring the ARP configuration on cleanup (default: own)
-t target
Target IP address to poison (poisons all hosts if omitted). May be repeated to specify multiple targets
-r
Poison both host and target to capture traffic in both directions (only valid in conjunction with -t)
host
IP address of the host to impersonate (usually the gateway)

INSTALL

sudo apt install dsniff
copy
sudo dnf install dsniff
copy
sudo pacman -S dsniff
copy
nix profile install nixpkgs#dsniff
copy

CAVEATS

This is a penetration testing tool that can disrupt network traffic. Only use on networks you own or have explicit authorization to test. Requires root privileges and IP forwarding enabled for traffic to flow.

HISTORY

arpspoof is part of the dsniff package, a collection of network auditing tools for penetration testing and security analysis.

SEE ALSO

dsniff(8), tcpdump(8), ettercap(8)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid