Skip to content

juanga333/DNS-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DNS-Rogue-Server

This is a DNS rogue server developed for ethical purposes and pestesting.

Starting

Pre-requisites

sudo apt install python3
sudo apt install python3-pip

Installation

git clone https://github.com/juanga333/DNS-Rogue-Server.git
cd DNS-Rogue-Server
pip3 install -r requirements.txt

Usage

This is the basic usage example

sudo python3 dnsserver.py

In order to specify a different location of the list of spoof domains

sudo python3 dnsserver.py -l <location>

The domains.txt need to be a JSON. An example could be:

{
    "domain": "ip",
    "github.com": "192.168.0.103"
}