A Python script to perform reverse IP lookups using SeleniumBase and BeautifulSoup to scrape data from viewdns.info.
- Performs reverse IP lookups for IP addresses
- Handles captcha challenges automatically
- Saves results to output files
- Handles errors and retries failed lookups
-
Clone this repository
-
Install dependencies:
pip install -r requirements.txt
-
Create a file named
target.txtin the same directory -
Add IP addresses to check (one per line)
-
Run the script:
python main.py
- Input: IP addresses in
target.txt(one per line) - Output:
- Successful lookups:
result.txt - Failed lookups:
recheck.txt
- Successful lookups:
- Python 3.6+
- SeleniumBase
- BeautifulSoup4 (included with SeleniumBase)
-
Create
target.txt:8.8.8.8 1.1.1.1 -
Run script:
python main.py
-
Check results in
result.txtandrecheck.txt
- The script handles captchas automatically
- May require Chrome or Chromium browser installed
- Rate limiting may occur with too many requests