Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Knock Subdomain Scan

License

NotificationsYou must be signed in to change notification settings

guelfoweb/knock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✔️ Fast ✔️ Easy ✔️ Modular

Knockpy is a portable and modularpython3 tool designed to quickly enumerate subdomains on a target domain throughpassive reconnaissance anddictionary scan.

knockpy7

Install via pip

pip install knock-subdomains

Install via git

git clone https://github.com/guelfoweb/knock.gitcd knockpip install.

Usage

usage: KNOCKPY [-h] [-d DOMAIN] [-f FILE] [-v] [--dns DNS] [--useragent USERAGENT]               [--timeout TIMEOUT] [--threads THREADS] [--recon] [--bruteforce]                [--wordlist WORDLIST] [--json-output] [--list] [--report REPORT]knockpy v.7.0.1 - Subdomain Scanhttps://github.com/guelfoweb/knockoptions:  -h, --help            show this help message and exit  -d DOMAIN, --domain DOMAIN                        domain to analyze  -f FILE, --file FILE  domain list from file path  -v, --version         show program's version number and exit  --dns DNS             custom dns  --useragent USERAGENT                        custom useragent  --timeout TIMEOUT     custom timeout  --threads THREADS     custom threads  --recon               subdomain reconnaissance  --bruteforce          subdomain bruteforce  --wordlist WORDLIST   wordlist file to import                        --bruteforce option required  --wildcard            test wildcard and exit  --json                shows output in json format  --save FOLDER         folder to save report  --report REPORT       shows saved report

Example

  • Start scanning domain with--recon and--bruteforce options
knockpy -d domain.com --recon --bruteforce
  • Set API KEY: VirusTotal and Shodan
export API_KEY_VIRUSTOTAL=your-virustotal-api-keyexport API_KEY_SHODAN=your-shodan-api-key
  • Save the report in a folder
knockpy -d domain.com --recon --bruteforce --save report
  • Shows saved report
knockpy --report domain.com_yyyy_aa_dd_hh_mm_ss.json

Import as module

fromknockimportKNOCKPYdomain='domain.com'results=KNOCKPY(domain,dns=None,useragent=None,timeout=None,threads=None,recon=True,bruteforce=True,wordlist=None)print (results)

[8]ページ先頭

©2009-2025 Movatter.jp