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
-
Clone the repository:
- git clone https://github.com/ifconfig-me/JScripter/JScripter.git
- cd JScripter ``
-
Ensure that GAU, hakrawler, and FFUF are installed and accessible from the command line.
- Create a file containing the list of target URLs (e.g., urls.txt).
- Run the script:
python JScripter.py -f urls.txt -d saved_js_files -t 10
- Run the script with a single URL:
python 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).