Web security
ffuf Commands for Beginners: Find Hidden Web Paths in a Lab
Many web applications have pages nobody links to: admin panels, old backups, test files. ffuf is a fast tool that guesses those paths from a wordlist. It is a standard step in web testing and in hands-on web exams. Run it only against your own lab or systems you have written permission to test.
Set Up a Target
Run a deliberately vulnerable application such as DVWA or OWASP Juice Shop in a virtual machine, as in our home lab guide. In the examples, 192.168.56.20 is the lab web server; replace it with yours. Kali Linux includes ffuf and wordlists; see Kali Linux for beginners.
Your First Scan
The word FUZZ marks where ffuf places each wordlist entry:
ffuf -u http://192.168.56.20/FUZZ -w /usr/share/wordlists/dirb/common.txt
Each line of output shows a path, its HTTP status and its size. Status 200 means the page exists, 301 or 302 is a redirect and 403 means it exists but you may not open it.
Cut the Noise
-mc 200,301,403shows only those status codes.-fc 404hides a status code.-fs 1234hides responses of one size, useful when a site returns the same page for every wrong path.-e .php,.txt,.bakalso tries each word with those extensions.-t 20 -rate 50limits threads and requests per second, so you do not overload a fragile lab machine.
Reading Results
Open each interesting path in your browser or in Burp Suite. A found path is a lead, not a vulnerability. Ask what it exposes: a login page, a backup file, a version number. Write the finding with the request, the response and why it matters.
Cheat Sheet
ffuf -u http://TARGET/FUZZ -w wordlist.txtfinds paths.-e .php,.txt,.bakadds file extensions.-mc 200,301matches codes;-fc 404hides a code;-fs SIZEhides a response size.-t 20 -rate 50limits speed.-H "Cookie: SESSION=value"sends a header such as a session cookie.-u "http://TARGET/page?id=FUZZ" -w numbers.txtfuzzes a parameter value.-o results.json -of jsonsaves the output.
We ran these ffuf options against a local test web server before publishing. Flags can differ between versions, so check ffuf -h.
Where It Fits
Content discovery sits at the mapping stage of web testing, before injection and access control checks. See penetration testing phases explained and OWASP Top 10 explained. It is practiced in our Application Security course and is useful preparation for WAHS.
Sources and Further Reading
Want guided practice on a vulnerable web lab? Book free trial classes. Contact us or call +91 86868 92922.
Courses Mentioned in This Guide
More Guides
sqlmap for Beginners: Testing SQL Injection in a Lab
Learn sqlmap step by step: test a URL parameter, list databases and tables, use cookies and keep tests safe, with commands for a lab you own.
Read the guide →OWASP ZAP for Beginners: A Free Web Vulnerability Scanner
Learn OWASP ZAP step by step: proxy your browser, spider a site, run passive and active scans, read alerts and use the baseline script, in a lab you own.
Read the guide →SQL Injection Explained: How It Works and How to Prevent It
SQL injection in plain language: how it works, in-band and blind variants, real impact, how testers find it legally, and the fixes developers should use.
Read the guide →Cross-Site Scripting (XSS) Explained for Beginners
XSS in plain language: reflected, stored and DOM-based cross-site scripting, what an attacker can do, how testers find it, and how developers prevent it.
Read the guide →Start Your Cyber Security Career
Talk to a counselor, choose the right course for your goals, and get the fee, syllabus and next batch dates in writing.
- Call+91 86868 92922
Open 7 days: Mon to Fri 8:30 AM to 8:30 PM IST
Sat and Sun 10 AM to 6 PM IST - Emailinfo@hackingtrainer.com
- VisitGround Floor, G-3, Sri Venkatasai Nest, Kallu Compound Road, Nagarjuna Nagar Colony, Yella Reddy Guda, Ameerpet, Hyderabad – 500073
Open in Google Maps