Knockpy is a python tool designed to enumerate subdomains on a target domain through a wordlist. It is designed to scan for DNS zone transfer and to try to bypass the wildcard DNS record automatically if it is enabled. Now knockpy supports queries to VirusTotal subdomains, you can setting the API_KEY within the config.json file.

Very simply

$ knockpy domain.com

Export full report in JSONIf you want to save full log like this one just type:

$ knockpy domain.com --json

InstallPrerequisites

Python 2.7.6

Dependencies

Dnspython

$ sudo apt-get install python-dnspython

Installing

$ git clone https://github.com/guelfoweb/knock.git

$ cd knock

$ nano knockpy/config.json <- set your virustotal API_KEY

$ sudo python setup.py install

Note that it's recommended to use Google DNS: 8.8.8.8 and 8.8.4.4Knockpy arguments