Konan is an advanced open source tool designed to brute force directories and files names on web/application servers.
Installation
Download it by cloning the Git repository:
git clone https://github.com/m4ll0k/Konan.git konan
Install requirements with pip
cd konan && pip install -r requirements.txt
Run
python konan.py
Also Read – KaliTorify : Transparent Proxy Through Tor For Kali Linux OS
| Features | Tool | dirsearch | dirb | gobuster |
|---|---|---|---|---|
| MultiThreaded | yes | yes | yes | yes |
| Multiple Extensions | yes | yes | no | no |
| HTTP Proxy Support | yes | yes | yes | yes |
| Reporting | yes (text and json) | yes (text and json) | yes (text) | no |
| User-Agent randomization | yes | yes | no | no |
Ignore word in wordlist using regexp | yes | no | no | no |
| Split extension in wordlist | yes | no | no | no |
| Multiple Methods | yes | no | no | no |
| Response Size Process | yes | no | no | no |
| Provide Sub-Dir for Brute Force | yes | no | no | no |
| Provide Dir for Recursively Brute Force | yes | no | no | no |
| URL Injection Point | yes | no | no | no |
Usage
Basic:
Injection Point:
Provide wordlist, default /db/dict.txt
python konan.py -u/--url http://example.com/ -w/--wordlist /root/dict.txtProvide extensions with -e/--extension option and force extension for every wordlist entry with -f/--force option:
python konan.py -u/--url http://example.com/ -e/--extension php,html -f/--forceProvide status code exclusion:
python konan.py -u/--url http://example.com/ -x/--exclude 400,403,401Provide only status code for output:
python konan.py -u/--url http://example.com/ -o/--only 200,301,302Wordlist lowercase (isATest -> isatest) and uppercase (isAtest -> ISATEST):
python konan.py -u/--url http://example.com/ -w/--wordlist /root/dict.txt [-l/--lowercase OR -p/--uppercase]Wordlist split (test.php -> to -> test):
python konan.py -u/--url http://example.com/ -w/--wordlist /root/dict.txt -s/--splitWordlist Ignore word,letters,number,..etc provided by regexp (\w*.php|\w*.html,^[0-9_-]+):_
python konan.py -u/--url http://example.com/ -w/--wordlist -I/--ignore "\?+"Output without -I/--ignore options:
Output with -I/--ignore (in this case \?+) options:
Recursive:
python konan.py -u/--url http://example.com/ -E/--recursiveRecursive directory found and directory provided by -D/--dir-rec:
python konan.py -u/--url http://example.com/ -E/--recursive -D/--dir-rec "admin,tests,dev,internal"Brute Force directory provided by -S/--sub-dir:
python konan.py -u/--url http://example.com/ -S/--sub-dir "admin,test,internal,dev"Multiple Methods (check GET,POST,PUT and DELETE for word entry):
Note: Much web application if not make the request with right method return 404 code, this option test all methods
python konan.py -u/--url http://example.com/ -m/--methods"Content size process (show response if the response size is “>[number]”,”<[number]”,”=[number]”):
python konan.py -u/--url http://example.com/ -C/--lenght "<1000"General Working of a Web Application Firewall (WAF) A Web Application Firewall (WAF) acts as…
How to Send POST Requests Using curl in Linux If you work with APIs, servers,…
If you are a Linux user, you have probably seen commands like chmod 777 while…
Vim and Vi are among the most powerful text editors in the Linux world. They…
Working with compressed files is a common task for any Linux user. Whether you are…
In the digital era, an email address can reveal much more than just a contact…