JScripter is a Python script designed to scrape and save unique JavaScript files from a list of URLs or a single URL.
This tool is intended only for educational purposes and for testing in corporate environments. https://twitter.com/nav1n0x/ and https://github.com/ifconfig-me take no responsibility for the misuse of this code. Use it at your own risk. Do not attack a target you don't have permission to engage with.
Feelfee to fork and make this script your own :)
- Scrape JavaScript files from multiple URLs concurrently using threading.
- Save unique JavaScript files to a specified directory and - Print confirmation.
- Removed duplicate JSFiles
- Display detailed progress information, including the number of URLs processed, elapsed time, and approximate remaining time.
- Silent mode for minimal output.
- Python 3.x
requests
librarybeautifulsoup4
librarycolorama
librarytqdm
library
You can install the required libraries using pip:
pip install requests beautifulsoup4 colorama tqdm
To Install JScripter
, Follow These Steps:
git clone https://github.com/PushkraJ99/JScripter
cd JScripter
pip3 install requirements.txt
python3 JScripter.py -h
- Ensure that gaulus, hakrawler, and ffuf are installed and accessible from the command line.
To Install
gaulus, hakrawler, and ffuf
, Follow These Steps:
go install github.com/bp0lr/gauplus@latest
go install github.com/hakluke/hakrawler@latest
go install github.com/ffuf/ffuf@latest
- Create a file containing the list of target URLs (e.g., urls.txt).
- Run the script:
python3 JScripter.py -f urls.txt -d saved_js_files -t 10
- Run the script with a single URL:
python3 JScripter.py -u https://example.com -d saved_js_files -t 10
- -f, --file: File containing list of target URLs.
- -u, --url: Single target URL.
- -d, --directory: Directory to save unique JavaScript files (required).
- -s, --silent: Silent mode. No banner, no progress, only URLs.
- -t, --threads: Number of threads to use for concurrent processing (default is 5).
Contributions are Welcome! If you'd like to Contribute to JScripter
Please Follow These Steps
- Fork the Repository.
- Create a New Branch.
- Make Your Changes and Commit them.
- Submit a Pull Request.