A burp suite extension that reviews backup, old, temporary and unreferenced files on the web server for sensitive information (OWASP OTG-CONFIG-004)
As I checked some tools in this field, I realized that almost all of the tools use only static payloads (they use built-in dictionaries) and they don't generate dynamic payloads based on target which is being tested.
For example, suppose this is hierarchy tree of our web application:
/
├───upload #Dir
├───├───index.php
├───├───index.php~
├───├───index.php.bkup
├───├───upload.zip
├───└───users #Dir
├───────├───index.php
├───────├───catalog.zip
├───WeirdDirName #Dir
├───├───index.php
├───├───captcha.php
├───├───captcha.php.old
├───WeirdDirName.tar.gz
and this is the result of a crawler:
/
├───upload #Dir
├───├─── /
├───└───users #Dir
├───────├─── /
├───WeirdDirName #Dir
├───├─── /
├───├───captcha.php
This extension will find all backup, old and temp files in this scenario:
- /upload/index.php~
- /upload/index.php.bkup
- /upload/upload.zip
- /upload/catalog.zip
- /upload/
- /WeirdDirName.tar.gz
- /WeirdDirName/captcha.php.old
Here is a screenshot of extension's results.
- Select a request of a target host from any tab of burp suite
- In "backupFinder -> Finder -> options" tab, apply your configurations.
- Go to "backupFinder -> Finder -> Finder" tab and click on "start" button.
These options can be used to customize the detection:
- Level: Level of tests to perform (1-5, default 3)
- Thread: num of threads (1-50, default 10)
- Built-in dictionary: there is a built-in dictionary containing most used directory and file names to be used for static payload generation.
- Loadable dictionary: you can use your own dictionary file for static payload generation.
- HTTP method: HTTP method to be used in requests (HEAD, GET)(default: Head)
- Includable extensions
- Excludable extensions
- Includable status codes
- Excludable status codes
This program is for Educational purpose 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.
If you have any further questions, please don't hesitate to contact me via my twitter account.