반응형
    
    
    
  Knockpy
– Open Source Subdomain Scanner Tool
: Python tool designed to enumerate subdomains on a target domain
prerequisites
$ cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
python version
$ python --version
Python 2.7.5
pip version
$ pip -V
pip 19.1.1 from /usr/lib/python2.7/site-packages/pip (python 2.7)
dependencies
pip install dnspython
installing
git clone https://github.com/guelfoweb/knock.git knock_4.1.1cd knock_4.1.1python setup.py install
./knockpy/knockpy.py -h$ ./knockpy/knockpy.py -h
usage: knockpy [-h] [-v] [-w WORDLIST] [-r] [-c] [-f] [-j] domain
___________________________________________
knock subdomain scan
knockpy v.4.1.1
Author: Gianni 'guelfoweb' Amato
Github: https://github.com/guelfoweb/knock
___________________________________________
positional arguments:
  domain           target to scan, like domain.com
optional arguments:
  -h, --help       show this help message and exit
  -v, --version    show program's version number and exit
  -w WORDLIST      specific path to wordlist file
  -r, --resolve    resolve single ip or domain name
  -c, --csv        save output in csv
  -f, --csvfields  add fields name to the first row of csv output file
  -j, --json       export full report in JSON
example:
  knockpy domain.com
  knockpy domain.com -w wordlist.txt
  knockpy -r domain.com or IP
  knockpy -c domain.com
  knockpy -j domain.com
For virustotal subdomains support you can setting your API KEY in the config.json file.
./knockpy/knockpy.py sangchul.kr$ ./knockpy/knockpy.py sangchul.kr
install knockpy
API Key : https://www.virustotal.com
cd knockvim knockpy/config.json{
"virustotal": ""
}
참고URL
- https://manpages.debian.org/testing/knockpy/knockpy.1.en.html
728x90
    
    
  반응형
    
    
    
  '리눅스' 카테고리의 다른 글
| Docker로 Syslog 서버를 구축하는 방법 (0) | 2019.12.24 | 
|---|---|
| [리눅스] How to Install python 3.7 on CentOS 7 (0) | 2019.10.02 | 
| [docker] docker login fails while docker-compose is installed on Ubuntu 18.04 (0) | 2019.08.02 | 
| 병렬 압축 - parallel compression (0) | 2019.06.20 | 
| [리눅스] Let's Encrypt(certbot) SSL 인증서 발급 (0) | 2019.06.11 | 
 
                  
                 
                  
                 
                  
                