Knock: A powerful Subdomain Scanner

Knock is an open source tool written in python and its purpose is to discover all the subdomains that exist on a page.

Supports the VirusTotal service by setting an API_KEY in the config.json file.

111915750 1bad8f80 8a78 11eb 951a d5da1adc2bdc

 

Table of Contents

Installation

git clone https://github.com/guelfoweb/knock.git
cd knock
pip3 install -r requirements.txt
python3 knockpy.py

Use

usage: knockpy [-h] [-v] [–no-local] [–no-remote] [–no-http] [–no-http-code CODE [CODE…]] [-w WORDLIST] [-o FOLDER] [-t SEC] [-th NUM] domain

——————————————————————————–
* SCAN
full scan: knockpy domain.com
ignore code: knockpy domain.com –no-http-code 404 500 530
threads: knockpy domain.com -th 50
timeout: knockpy domain.com -t 2

* REPORT
show report: knockpy –report knockpy_report / domain.com_yyyy_mm_dd_hh_mm_ss.json
plot report: knockpy –plot knockpy_report / domain.com_yyyy_mm_dd_hh_mm_ss.json
csv report: knockpy –csv knockpy_report / domain.com_yyyy_mm_dd_hh_mm_ss.json

* SETTINGS
set apikey: knockpy –set apikey-virustotal = APIKEY
set timeout: knockpy –set timeout = sec
set threads: knockpy –set threads = num
——————————————————————————–

positional arguments:
domain target to scan

optional arguments:
-h, –help show this help message and exit
-v, –version show program's version number and exit
–No-local local wordlist ignore
–No-remote remote wordlist ignore
–No-http http requests ignore

–No-http-code CODE [CODE…] http code list to ignore

-w WORDLIST wordlist file to import
-o FOLDER report folder to store json results
-t SEC timeout in seconds
-th NUM threads num

Subdomain mapping

113183466 5a9bcc00 9254 11eb 8d9f 6a9c239eea7d

You can download the program from here.

iGuRu.gr The Best Technology Site in Greeceggns

Get the best viral stories straight into your inbox!















Written by Anastasis Vasileiadis

Translations are like women. When they are beautiful they are not faithful and when they are faithful they are not beautiful.

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).