aboul3la / Sublist3r

Fast subdomains enumeration tool for penetration testers
GNU General Public License v2.0
9.72k stars 2.1k forks source link

How to scan localhost servers? #333

Closed windowshopr closed 2 years ago

windowshopr commented 2 years ago

Windows 10, Python 3.7.9. I have a few servers running on a local machine that I'd like to test on. Does this support IP addresses instead of url's? I've tried a few different combinations but to no avail.

The codes I've tried are below (local ip obfuscated with x's):

python sublist3r.py -d 172.x.x.82
python sublist3r.py -d http://172.x.x.82
python sublist3r.py -d http://172.x.x.82:5000
python sublist3r.py -d localhost
python sublist3r.py -d 127.0.0.1

All of which return:

Error: Please enter a valid domain

So wondering if it's possible. Thanks!

lucthienphong1120 commented 2 years ago

i think because localhost doesn't have subdomain ? ie: www.localhost ? it is impossible moreover, localhost can't be searched on google so the script can't work