makuga01 / dnsFookup

DNS rebinding toolkit
249 stars 41 forks source link

patch dns.py #33

Open am0o0 opened 1 year ago

am0o0 commented 1 year ago

when we use subdomains as registered domain like dns.domain.com there is a logical error, i tried to fix it very simply. the reason of using three level domain name is that: dns.domain.com has a ns record to dnsfookupServerIP.domain.com which any subdomain of *.dns.domain.com will ask their records from dnsfookupServerIP.domain.com, so it is easily possible with this commit to only with having one domain we use dnsfookup as a production/publicly available server

am0o0 commented 1 year ago

Idk why git diff is so weird, so I added a review to lines that I changed, other diff indications seems to be IDE linting.

am0o0 commented 1 year ago

the requirements.txt is completely compatible now, it must be in python virtual environment to work, so I added a bash script to run BE.