Skip to content

Simple DNS Spoofing tool made in Python 3 with Scapy

License

Notifications You must be signed in to change notification settings

paradox7183/DerpNSpoof

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DerpNSpoof

alt text

Simple DNS Spoofing tool made in Python 3 with Scapy. You have to save the fake DNS records in a file and load it in when running the tool

Usage

  • Download it from git or use 'git clone https://github.com/Trackbool/DerpNSpoof'
  • You need the Scapy Python module. You can install the requirements with: 'pip3 install -r requirements.txt' (recomended) or manually 'pip3 install scapy'
  • Scapy uses tcpdump
  • To execute the tool, you will need root permissions

Help menu:

[!] Options to use:
	  <ip>  - Spoof the DNS query packets of a certain IP address
	  <all> - Spoof the DNS query packets of all hosts
[!] Examples:
	  # python3 DerpNSpoof.py 192.168.1.20 myfile.txt
	  # python3 DerpNSpoof.py all myfile.txt

The file format to save the records is very simple. You have to store the domain name, and separated by a space, the fake IP in the same line

Domain to Spoof IP address
example.com 1.1.1.1
example2.com 3.3.3.3
example3.com 3.3.3.3

Note:

If you are not allowed to capture another hosts packets, you have to carry out a Man in the Middle attack (P.E: ARP Spoofing,DHCP Spoofing) making use of another tools like arpspoof https://github.com/byt3bl33d3r/arpspoof

Adrián Fernández Arnal (@adrianfa5) Twitter: https://twitter.com/adrianfa5

About

Simple DNS Spoofing tool made in Python 3 with Scapy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%