FakeDns icon indicating copy to clipboard operation
FakeDns copied to clipboard

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

Results 13 FakeDns issues
Sort by recently updated
recently updated
newest added

Add a line to remove comments at the end of rules which will otherwise cause parsing issues, and a slightly more helpful error message if a privileged port is being...

Use valid round robin syntax for specifying IP addresses

Currently https://github.com/Crypt0s/FakeDns/blob/2123879d7e361c7198b486c684882d5e96fe6edd/dns.conf.example#L5 has a space between `1.1.1.1` and `2.2.2.2`. This should be a `,`. While experimenting locally with the python script, I found that issuing a request with nslookup for...

Can we get some more verbosity on this? Thanks. ``` C:\Tools\FakeDNS>fakedns.py --dns 8.8.8.8 -c C:\Tools\FakeDNS\dns.conf -i 192.168.0.228 >> Parsed 15 rules from C:\Tools\FakeDNS\dns.conf >> Error was handled by sending NONEFOUND...

This patch displays query type. Before: `>> Matched Request - domain.example.` After: `>> Matched Request - domain.example. (A)` It helps to disambiguate requests: in the example above, the type could...

shoud encode return record with 'latin', eg:'220'.encode() will get '\xc3\x9c' ``` class A(DNSResponse): def __init__(self, query, record): super(A, self).__init__(query) self.type = b"\x00\x01" self.length = b"\x00\x04" self.data = self.get_ip(record).encode('latin')

Implemented to respond to MX record queries.

Is it possible to have a Docker container and a manual for dummies on how to configure the DNS? > If there's enough interest I will make a script for...

Allow special DNS requests to indicate that FakeDNS should handle them with a rule system embedded within the request itself -- automatically mangling the request based on the request itself.

enhancement

It seems to me, given my limited experience with this tool and combing through the source, that the configuration of both the "round robin" and "dns rebind" behavior is "global"....

enhancement