stanislav-web / OpenDoor

OWASP WEB Directory Scanner
http://opendoor.readthedocs.io
GNU General Public License v3.0
883 stars 186 forks source link

not switch to subdomains mode if custom wordlist defined #19

Closed pansa closed 7 years ago

pansa commented 7 years ago

If define wordlist file with -w option, testing always starts in default - directories mode, although "-s subdomains" option define too:

$./opendoor.py -t5 --reports=txt -w sub.dat -s subdomains --host=https://1tv.ru ... [00:02:06] info: Scanned host has been reported. Press ENTER to rescan or CTRL+C to exit:
[00:02:07] info: Wait, please, checking connect to -> 1tv.ru:443 ...
[00:02:08] info: Server 1tv.ru:443 (195.16.108.152) is online!
[00:02:08] info: Scanning 1tv.ru ...
[00:02:08] info: 50.0% [05/10] - 178B - R https://1tv.ru:443/copy -> https://www.1tv.ru/copy
[00:02:08] info: 60.0% [06/10] - 178B - R https://1tv.ru:443/002 -> https://www.1tv.ru/002
[00:02:08] info: 70.0% [07/10] - 178B - R https://1tv.ru:443/003 -> https://www.1tv.ru/003
...

If remove -w option - all right.

stanislav-web commented 7 years ago

Done! I'm sorry for being late

pansa commented 7 years ago

Confirm the fix, thanks!