This forums by LIBIN LAL find us on facebook

Happy Onam to all my sweet friends.
Latest topics
» How to use someone WhatsApp in your Android & iPhone?
Sun Sep 24, 2017 8:22 pm by mr_admin

» How to add contacts to WhatsApp
Sun Sep 03, 2017 8:27 pm by mr_admin

» Fresh Dork List For SQL Injection
Sat Sep 19, 2015 11:52 am by mr_admin

» How To Bypass Phone and SMS verification of Any Website
Fri Sep 18, 2015 11:25 am by mr_admin

» Burn Keylogger
Fri Sep 18, 2015 11:00 am by mr_admin

» Hacking Website using RFI Method
Wed Sep 16, 2015 7:51 pm by mr_admin

» Forum Rules
Wed Sep 16, 2015 2:44 pm by mr_admin

Hacking Website using RFI Method

View previous topic View next topic Go down

Posts : 16
Join date : 2015-09-15
View user profile

Postmr_admin on Wed Sep 16, 2015 7:51 pm

What Is RFI(Remote File Inclusion)
Remote File Inclusion (RFI) is a type of vulnerability most often found on websites. It allows an attacker to include a remote file, usually through a script on the web server. The vulnerability occurs due to the use of user-supplied input without proper validation. This can lead to something as minimal as outputting the contents of the file, but depending on the severity, to list a few it can lead to:

* Code execution on the web server
* Code execution on the client-side such as JavaScript which can lead to other attacks such as cross site scripting (XSS).
* Denial of Service (DoS)
* Data Theft/ManipulationRFI is a very uncommon vulnerability due to excessive patches and updates on websites.

S0 here we go _follow me____!!!!!

Finding a Vulnerable Site using Google Dorks and Checking for vulnerability
Here i provided a link for finding vulnerable sites using Google Dorks For RFI

Now for testing whether our site is vulnerable to RFI or not we will uss the following command


Suppose our target site is* *. So for checking our url will become something like diz


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 the site is not vulnerable to RFI.

Exploiting The Vulnerability
For that you will need to upload your shell

You will need to upload your shell in .txt format (shell.txt) instead of .php format (shell.php). I recommend you use c99, r57, Locus, etc.

You will need to upload it to any website hosting.
So once you have uploaded your shell to your website, it should look like this.

[You must be registered and logged in to see this link.]

Now comes adding our shell to victims website

Okay, once we are at the vulnerable page (*[You must be registered and logged in to see this link.]
we will have to replace*"* *"* and include our own file(in my place its

Our new link should look like this.

***[You must be registered and logged in to see this link.]

*NOTE--> *The question mark (?) is important. If the site was vulnerable you should now see your shell embedded to the webpage. You can then do as you wish with it. Sometimes "shell.txt?" may not be enough, we may need to use null bytes for it to execute successfully. If you receive an error from "shell.txt?" try "shell.txt?".

* *Ok so we uploaded our shell successfully in the target site and i think you all know that what all you can do after uploading shell to the site Smile

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!

Create a new account

Log in

Already have an account? No problem, log in here.

Log in

Permissions in this forum:
You cannot reply to topics in this forum