yosangwon / arp-dns-spoof

Sample code for DNS spoofing with ARP poisoning.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation(on Debian-based Linux Distribution)

Install Scapy

% sudo apt-get install tcpdump graphviz imagemagick python-gnuplot python-crypto python-pyx
% pip install scapy
% 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!

% git clone https://github.com/devleoper/arp-dns-spoof.git

Usage

ARP poisoning.

% sudo python arp_poison.py -v <victim IP Address> -r <router IP Address>

DNS spoofing.

% sudo python dns_packet_spoof.py

References

About

Sample code for DNS spoofing with ARP poisoning.


Languages

Language:Python 100.0%