Skip to content
/ FakeDns Public
forked from Crypt0s/FakeDns

A regular-expression based python MITM DNS server with support for DNS Rebinding attacks

License

Notifications You must be signed in to change notification settings

tsia/FakeDns

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FakeDns

Bugs: @crypt0s - Twitter [email protected] - Email

A python regular-expression based DNS server!

USAGE:
./fakedns.py [-h] -c Config path [-i interface IP address] [--rebind]

The dns.conf should be set the following way:

[RECORD TYPE CODE] [python regular expression] [answer] [rebind answer]

The answer could be a ip address or string self, the self syntax sugar will be translated to your current machine's local ip address, such as 192.168.1.100.

If a match is not made, the DNS server will attempt to resolve the request using whatever you have your DNS server set to on your local machine and will proxy the request to that server on behalf of the requesting user.

Supported Request Types

- A
- TXT
- AAAA

In-Progress Request Types

- MX
- PTR
- CNAME

Misc

- Supports DNS Rebinding

DNS Rebinding

FakeDNS can support a DNS rebinding attack through the --rebind flag. This flag will log each rule match from each client and will respond with the first address/entry the first time, and the second address/entry on every subsequent request.

About

A regular-expression based python MITM DNS server with support for DNS Rebinding attacks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%