██████╗ ██████╗ ██╗ ██╗███╗ ██╗ ██╗███████╗
██╔══██╗██╔═══██╗██║ ██║████╗ ██║ ██║██╔════╝
██║ ██║██║ ██║██║ █╗ ██║██╔██╗ ██║ ██║███████╗
██║ ██║██║ ██║██║███╗██║██║╚██╗██║██ ██║╚════██║
██████╔╝╚██████╔╝╚███╔███╔╝██║ ╚████║╚█████╔╝███████║
╚═════╝ ╚═════╝ ╚══╝╚══╝ ╚═╝ ╚═══╝ ╚════╝ ╚══════╝
downjs is a versatile Go script designed to simplify the process of downloading JavaScript files from various URLs and perform checks for the existence of associated .map files. This functionality is invaluable for developers and analysts who want to streamline the process of collecting JavaScript files for further analysis and debugging.
It's your idea man! ;)
-
Effortless JavaScript Downloads: With downjs, you can effortlessly download JavaScript files from a list of URLs without the need for manual downloads or complex scripts.
-
Map File Analysis: The script also checks for the existence of associated .map files, which are essential for debugging and analyzing minified JavaScript code.
-
Flexible Configuration: Customize the script to suit your needs by adjusting the list of URLs and file destinations.
-
Concurrent Downloads: downjs leverages Go's concurrency capabilities, allowing you to download multiple files simultaneously, making the process faster and more efficient.
go install github.com/phor3nsic/downjs@latest- Create a text file (e.g.
jslist.txt) containing a list of URLs pointing to the JavaScript files you want to download. Each URL should be on a separate line. - Pipe the list into downjs:
cat jslist.txt | downjs- downjs will download the specified JavaScript files and check for the existence of associated .map files, saving them for further analysis in the same directory.
- Access the downloaded files and .map files in the designated output folder for further analysis and debugging.