(May 23, 2018 10:20 AM)hi_man Wrote: Is this link working ? I am getting redirected victimsite.com
Yes, OP is trying to hack victimsite.com
Lol.. Think about that for a second.
I'm not 100% sure what to say OP considering you're
not linking real sites, but RFI is basically when PHP includes PHP files based on user input. If that's the case, you need to inject a file with code in it and it should be executed by the victim's site in turn.
See
https://www.owasp.org/index.php/Testing_..._Inclusion for more information. It's honestly a really good explanation here!
Local file inclusion BTW, is where that you grab a file contained locally within the server. So instead of including the URL, you include "../../../" and keep doing so in order to grab the contents of a sensitive file contained
WITHIN the server, such as /etc/passwd.
Remember! RFI is considered a much bigger vulnerability, and generally speaking, when a victim includes a remote file, it will usually be possible to include a local file. So definitely test for both!