/DNS-Spoofing-Network-throttling

Arp spoofing is a technique to trick a target device into sending its traffic to an attacker's machine by sending fake arp replies. Dns spoofing is a technique to redirect a target device's dns queries to an attacker's machine by sending fake dns responses using python scapy

Primary LanguagePython

For Arp Spoofing : Basic Installization are scapy :

pip3 install scapy

And in Attacker Machine the command need to executed :

sudo su
echo 1 > /proc/sys/net/ipv4/ip_forward

Then Run Arp spoof bye :

sudo python arp_spoof.py

for Running DNS spoofing :

We need NetFilterqueue:

For Installization: Installaztion of NetFiltersQueue : https://github.com/johnteslade/python-netfilterqueue

apt-get install build-essential python-dev libnetfilter-queue-dev
pip install NetfilterQueue

OR

pip install cython
git clone https://github.com/oremanj/python-netfilterqueue
cd python-netfilterqueue
pip install .

After installing that Run the ARP Spoofer and Run This Dns Spoofer Spoofing

python3 cache.py