guelfoweb / knock

Knock Subdomain Scan
GNU General Public License v3.0
3.85k stars 855 forks source link

Multiple domain scan #14

Open PHPPlay opened 8 years ago

PHPPlay commented 8 years ago

The best support multiple domain scan

llazzaro commented 8 years ago

I think that the issue is the global variable "found". When I started to use the package from another project (not from command line) I also hit this issue.

visualbasic6 commented 5 years ago

here's a bash script for multi-host scanning in knock (and pretty much everything else that's single host) as an alternative to opening a bunch of different screens.

#!/bin/bash

domains='hackerone.com uber.com etc.com'

destination=/path/to/logs/folder

for n in $domains; do
    echo -e "\nscanning $n ... "
    knockpy $n -w subdomains.txt > $destination/$n.txt
done

also check out https://github.com/ffuf/ffuf and https://github.com/OWASP/Amass. and lmk if you have any novel feature requests for my simple windoze scanner https://github.com/visualbasic6/subdomain-bruteforce