Home

Awesome

Backup-Finder

A burp suite extension that reviews backup, old, temporary, and unreferenced files on the webserver for sensitive information.</br></br> OWASP references:

Why should I use this extension?

As I analyzed some of "backup finder" tools, I realized that almost all of the available tools use <b>only</b> static payloads (they use built-in dictionaries) and they don't generate dynamic payloads based on target which is being tested.</br> </br>For example, suppose this is hierarchy tree of our web application:</br> </br>/</br> ├───<b>upload</b>    #Dir</br> ├───├───index.php</br> ├───├───index.php~</br> ├───├───index.php.bkup</br> ├───├───upload.zip</br> ├───└───<b>users</b>    #Dir</br> ├───────├───index.php</br> ├───────├───catalog.zip</br> ├───<b>WeirdDirName</b>    #Dir</br> ├───├───index.php</br> ├───├───captcha.php</br> ├───├───captcha.php.old</br> ├───WeirdDirName.tar.gz</br></br> and this is the result of a crawler:</br> /</br> ├───<b>upload</b>    #Dir</br> ├───├─── /</br> ├───└───<b>users</b>    #Dir</br> ├───────├─── /</br> ├───<b>WeirdDirName</b>    #Dir</br> ├───├─── /</br> ├───├───captcha.php</br></br>

This extension will find all backup, old and temp files in this scenario:</br>

Installation

The quickest way is to load the jar file (BackupFinder.jar) in the extender tab of the Burpsuite.</br> Extender -> Extensions -> Add</br> A new tab will be added to the burp suite.</br>

Quick Start

  1. Select a request of a target host from any tab of the burp suite
  2. In "backupFinder -> Finder -> options" tab, apply your configurations.
  3. Go to "backupFinder -> Finder -> Finder" tab and click on "start" button.

Fine Tuning (To have the best results)

This extension uses the datas in the target tab (which are collected actively or passively) under the domain name that you call extension for as its feed. to have the best result, it's recommended that you first do these steps before starting the extension process:

Build From Source Code

  1. To build the project, you need <a href="https://gradle.org/install/">Gradle</a> installed.</br>
  2. Clone the repository</br>git clone https://github.com/moeinfatehi/Backup-Finder
  3. Open the main directory of the project (where build.gradle file exists) and run: gradle makeJar
  4. The Jar file will be generated in "build/libs/Backup-finder.jar"

Some of the options

These options can be used to customize the detection:

Disclaimer

This program is for educational purposes ONLY. Do not use it without permission. The usual disclaimer applies, especially the fact that I'm not liable for any damages caused by the direct or indirect use of the information or functionality provided by these programs. The author or any Internet provider bears NO responsibility for content or misuse of these programs or any derivatives thereof. By using these programs you accept the fact that any damage (data loss, system crash, system compromise, etc.) caused by the use of this program is not my responsibility.

Hack and have fun!

If you have any further questions, please don't hesitate to contact me via my <a href="https://twitter.com/MoeinFatehi">twitter</a> account.