spyboy-productions / CloakQuest3r

Uncover the true IP address of websites safeguarded by Cloudflare & Others
https://colab.research.google.com/github/spyboy-productions/CloakQuest3r/blob/main/cloakquest3r.ipynb
MIT License
1.23k stars 165 forks source link

Added viewdns #2

Closed zorox0x closed 9 months ago

zorox0x commented 9 months ago

Added viewdns function that scrape the historical IPs from https://viewdns.info/iphistory/?domain=example using bs4 library

thisisshubhamkumar commented 9 months ago

Great work!👏 Before we merge, I have a question. What happens when we reach the API limit? I haven't tested this part yet. Will it print 'NONE' or throw an error?

zorox0x commented 9 months ago

I don't think we have limits since we don't use their API it's just a normal request to https://viewdns.info/iphistory/?domain= and the headers stimulate the request as a normal browser. However in case we hit a limit the function will return None unless the domain (https://viewdns.info) is down, it will throw an error