burpsuite-js-extractor
burpsuite-js-extractor copied to clipboard
A simple plugin to export JS files from one or multiple targets
Burp Suite JavaScript File Extractor
This Burp Suite extension allows users to extract JavaScript file URLs from the sitemap of a targeted website. It offers the flexibility to select specific items from the sitemap and provides options to save the URLs to a file or copy them to the clipboard.
https://github.com/PatrikFehrenbach/burpsuite-js-extractor/assets/9072595/0dfc85a9-584b-436b-b401-c90dd6bde803
Installation
-
Download Jython:
- Download the latest standalone Jython jar from the Jython website.
-
Configure Jython in Burp Suite:
- Open Burp Suite.
- Go to the
Extendertab. - In the
Optionssub-tab, locate thePython Environmentsection. - Click
Select fileand navigate to the Jython jar file you downloaded.
-
Load the Extension:
- Still in the
Extendertab, switch to theExtensionssub-tab. - Click the
Addbutton. - In the dialog, select
Extension TypeasPython. - Click
Select fileand navigate to the.pyfile of the extension. - Click
NextorFinishto load the extension.
- Still in the
Usage
-
Select Target Items in Sitemap:
- Navigate to the
Targettab. - In the site map, select one or more items from the domain(s) you wish to extract JavaScript files from.
- Navigate to the
-
Extract JavaScript Files:
- Right-click on the selected item(s).
- Choose the appropriate option from the context menu:
Extract JS Files to File: This option allows you to save the JavaScript URLs to a file. Choose the desired location to save the file when prompted.Copy JS Files to Clipboard: This option copies all JavaScript URLs to the clipboard, allowing you to paste them elsewhere.
Notes
- The extension identifies JavaScript files based on the
Content-Typeheader in the HTTP response, looking for types that include "javascript". - Ensure that Burp Suite's spider has adequately crawled the target website to populate the sitemap with relevant JavaScript files.
Contributing
Contributions to this project are welcome! Please fork the repository and submit a pull request with your improvements.
License
This project is licensed under the MIT License - see the LICENSE file for details.