Turning LFI into RFI

These are techniques that you can use to turn LFI into RFI

PHP http:// Wrapper

This allows you to access URLS

http://[path-to-remote-file]

Starting a simple python server we can attempt to gain the file as so:

Doesn't work

HTTP except:// Wrapper

This wrapper allows you to run system commands. Its syntax is:

HTTP input:// Wrapper

This allows you to read raw data from the request body, this uses post data

post data syntax

PHP filter:// Wrapper

This wrapper converts the page into base64 and outputs it

Last updated