Active Members Fi8sVrs Posted August 30, 2011 Active Members Report Posted August 30, 2011 Knock Subdomain ScanKnock is a python script, written by Gianni 'guelfoweb' Amato, designed to enumerate subdomains on a target domain through a wordlist.Simple ScanZone Transfer ScanWildcard BypassKnock is now available on the repository BackBox, Italian distribution for Penetration Test.In version 1.5 is enabled support to wildcard bypass.Common usageThis tool can be useful in black box pentest to find vulnerable subdomains. Like testing.domain.comCurrent featuresKnock is targeted to:Scan subdomainsDNS request for zone transferDNS resolverWildcard testingWildcard bypassRequiredPython version 2.xDNSpython for Zone Transfer discoveryNoteKnock works on Linux, Windows, MAC OS X and should theoretically work on some other platforms such as FreeBSD, OpenBSD, and proprietary Unixes with a python version 2.xDownloadKnock 1.5 for all operating systemUsage$ python knock.py <option> <url>Rapid ScanScanning with internal wordlist:$ python knock.py <url>Scanning with external wordlist:$ python knock.py <url> <wordlist>Options-zt Zone Transfer discovery:$ python knock.py -zt <url>-dns Dns resolver:$ python knock.py -dns <url>-wc Wildcard testing:$ python knock.py -wc <url>-bw Wildcard bypass:$ python knock.py -bw <stringexclude> <url>Executable on LinuxDownload knock tar.gz archive and extract file knock.pyFrom shell command:$ sudo cp knock.py /usr/local/bin/knock$ sudo chmod a+x /usr/local/bin/knock Now you can use knock as shown in the examples.Executable on WindowsDownload knock zip archive, extract folder and use file knock.exeRequired: Python 2.x and DnspythonExamplesScanning with internal wordlist$ ./knock domain.comScanning with external wordlist$ ./knock domain.com wordlist.txtZone Transfer discovery (-zt)$ ./knock -zt domain.comDns resolver (-dns)$ ./knock -dns domain.comWildcard testing (-wc)$ ./knock -wc domain.comWildcard bypass with internal wordlist (-wc)$ ./knock -bw stringexclude domain.comWildcard bypass with external wordlist (-wc)$ ./knock -bw stringexclude domain.com wordlist.txtSample stdout to fileThis will cause the ouput of a knock to be written to a text file$ ./knock domain.com > output.txtYou do not understand how to use knock? Back to play with the Xbox!AuthorGianni 'guelfoweb' AmatoContactguelfoweb@gmail.comTwitter @ guelfoweb Quote