Giter Club home page Giter Club logo

derpnspoof's Introduction

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

derpnspoof's People

Contributors

trackbool avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.