Sitemap

TryHackMe-ffuf

Task-1 Introduction

3 min readFeb 14, 2024

--

Get your ffuf and seclists installed in your linux terminal.

Task-2 Basics

Q1- What is the first file you found with a 200 status code?

Command: ffuf -u http://10.10.224.209/FUZZ -w /usr/share/seclists/Discovery/Web-Content/big.txt

Answer: favicon.ico

Task-3 Finding pages and directories

Q1- What text file did you find?

Command: ffuf -u http://10.10.224.209/FUZZ -w /usr/share/seclists/Discovery/Web-Content/raft-medium-files-lowercase.txt

Answer: robots.txt

Q2-What two file extensions were found for the index page?

Command: fuf -u http://10.10.224.209/indexFUZZ -w /usr/share/seclists/Discovery/Web-Content/web-extensions.txt

Answer:php,phps

Q3-What page has a size of 4840?

Command: ffuf -u http://10.10.224.209/FUZZ -w /usr/share/seclists/Discovery/Web-Content/raft-medium-words-lowercase.txt -e .php,.txt

Answer: about.php

Q4-How many directories are there?

Command: ffuf -u http://10.10.224.209/FUZZ -w /usr/share/seclists/Discovery/Web-Content/raft-medium-directories-lowercase.txt

Answer: 4

Press enter or click to view image in full size

Task-4 Using Filters

Q1- After applying the fc filter, how many results were returned?

Command: ffuf -u http://10.10.238.252/FUZZ -w /usr/share/seclists/Discovery/Web-Content/raft-medium-files-lowercase.txt -fc 403

Answer: 11

Press enter or click to view image in full size

Q2- After applying the mc filter, how many results were returned?

Command: ffuf -u http://10.10.238.252/FUZZ -w /usr/share/seclists/Discovery/Web-Content/raft-medium-files-lowercase.txt -mc 200

Answer: 6

Q3- Which valuable file would have been hidden if you used -fc 403 instead of -fr?

Command: ffuf -u http://10.10.238.252/FUZZ -w /usr/share/seclists/Discovery/Web-Content/raft-medium-files-lowercase.txt -fr '/\..*'

Get Ruth Barkat’s stories in your inbox

Join Medium for free to get updates from this writer.

Answer: wp-forum.phps

Press enter or click to view image in full size

Task-5 Fuzzing parameters

Q1-What is the parameter you found?

Command:$ ffuf -u 'http://10.10.198.26/sqli-labs/Less-1/?FUZZ=1' -c -w /usr/share/seclists/Discovery/Web-Content/raft-medium-words-lowercase.txt -fw 39

Answer: id

Press enter or click to view image in full size

Q2- What is the highest valid id?

Command: $ ruby -e '(0..255).each{|i| puts i}' | ffuf -u 'http://10.10.198.26/sqli-labs/Less-1/?id=FUZZ' -c -w - -fw 33

Answer: 14

Press enter or click to view image in full size

Q3- What is Dummy's password?

Command: $ ffuf -u http://10.10.198.26/sqli-labs/Less-11/ -c -w /usr/share/seclists/Passwords/Leaked-Databases/hak5.txt -X POST -d 'uname=Dummy&passwd=FUZZ&submit=Submit' -fs 1435 -H 'Content-Type: application/x-www-form-urlencoded'

Answer: p@ssword.

Press enter or click to view image in full size

Task-6 Finding vhosts and subdomains

Q- I read the task material

Answer: No answer needed.

Task-7 Proxifying ffuf traffic

Q- I understand how to make the traffic go through a proxy.

Answer:No answer needed.

Task 8 Questions Reviewing the options

Q1- How do you save the output to a markdown file (ffuf.md)?

Answer: -of md -o ffuf.md

Q2- How do you re-use a raw http request file?

Answer: -request

Q3- How do you strip comments from a wordlist?

Answer: -ic

Q4- How would you read a wordlist from STDIN?

Answer: -w -

Q5- How do you print full URLs and redirect locations?

Answer: -v

Q6- What option would you use to follow redirects?

Answer: -r

Q7- How do you enable colorized output?

Answer: -c

--

--