Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
arp-dns-spoof — Sample code for DNS spoofing with ARP poisoning. | Kitploit
Tools/GitHubGitHub/yosangwon/arp-dns-spoof
ExploitationNetwork SecurityPenetration TestingRed TeamingAdversarial AttackArchived
GitHubyosangwon/arp-dns-spoof

arp-dns-spoof

Sample code for DNS spoofing with ARP poisoning.

View Repository
211511 years agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Installation(on Debian-based Linux Distribution)

Install Scapy

root@kitploit:~
% sudo apt-get install tcpdump graphviz imagemagick python-gnuplot python-crypto python-pyx
% pip install scapy

Install python-NetfilterQueue

root@kitploit:~
% sudo apt-get install build-essential python-dev libnetfilter-queue-dev
% git clone https://github.com/fqrouter/python-netfilterqueue.git
% cd python-netfilterqueue
% python setup.py install

...and clone this repository!

root@kitploit:~
% git clone https://github.com/devleoper/arp-dns-spoof.git

Usage

ARP poisoning.

root@kitploit:~
% sudo python arp_poison.py -v <victim IP Address> -r <router IP Address>

DNS spoofing.

root@kitploit:~
% sudo python dns_packet_spoof.py

References

  • Reliable DNS spoofing with Python: Scapy + Nfqueue
  • ARP poisoning with Python
Download Tool