Skip to content

xandr0s/knock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Knock Subdomain Scan

Knock - баш-скрипт для поиска поддоменов к указанному домену с помощью словаря.

Использование

$ ./knock.sh доменное.имя файл.словаря

Пример

$ ./knock.sh example.com wordlist.txt

www.example.com - OK

Другое

Идеей для этого скрипта стал другой инструмент, написанный на python - knock. Но этот скрипт не требует установки python и работает быстрее.

Тесты

$time python knock.py example.com

Getting NS records for example.com

Ip Address      Server Name
----------      -----------
199.43.132.53   a.iana-servers.net
199.43.133.53   b.iana-servers.net

Getting subdomain for example.com

Ip Address      Domain Name
----------      -----------
93.184.216.119  www.example.com

Ip Addr Summary
---------------
93.184.216.119

Found 1 subdomain(s) in 1 host(s).

real    3m48.007s
user    0m0.244s
sys     0m0.408s

$ time bash knock.sh example.com wordlist.txt

www.example.com - OK

real    1m21.625s
user    0m8.477s
sys     0m6.220s

======================

Knock is a bash script to search for subdomains on a target domain through wordlist dictionary.

Usage

$ ./knock.sh domain.name wordlist.file

Example

$ ./knock.sh example.com wordlist.txt

www.example.com - OK

Other

The idea for this script was the same tool, written in python - knock. But this script does not require install python and works quicker.

Tests

$time python knock.py example.com

Getting NS records for example.com

Ip Address	Server Name
----------	-----------
199.43.132.53	a.iana-servers.net
199.43.133.53	b.iana-servers.net

Getting subdomain for example.com

Ip Address	Domain Name
----------	-----------
93.184.216.119	www.example.com

Ip Addr Summary
---------------
93.184.216.119

Found 1 subdomain(s) in 1 host(s).

real	3m48.007s
user	0m0.244s
sys	0m0.408s

$ time bash knock.sh example.com wordlist.txt

www.example.com - OK

real	1m21.625s
user	0m8.477s
sys	0m6.220s

About

Knock Subdomain Scan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors