JS Sniper is a Python script designed to extract information from JavaScript files obtained from either a single URL or a list of URLs provided in a text file.
- Asynchronous processing of URLs for efficient extraction.
- Detection of various sensitive information, including API keys, access tokens, and more.
- Support for both single URL input and batch processing from a file containing multiple URLs.
Ensure you have the following prerequisites installed before running JS Sniper:
-
Python 3.x: Make sure you have Python 3.x installed on your system. You can download it from python.org.
-
Dependencies: Install the required dependencies using the following commands:
pip install aiohttp colorama pip install request pip install aiohttp pip install asyncio
These commands install the necessary libraries for asynchronous HTTP requests (
aiohttp
), colored terminal output (colorama
), handling HTTP requests (request
), and asynchronous programming (asyncio
).
No specific installation is required. Simply clone or download the script and ensure you have the prerequisites installed.
-
Run the script:
python jssniper.py
-
Choose an option:
- Enter a single URL.
- Enter a file path containing multiple URLs.
python jssniper.py
# choose 1 for a snigle url
# choose 2 for a txt file
If errors occur during processing, review and check the affected URLs manually. No sensitive information identified in the processed URLs if no valid pages.
Please if you have any questions or comments feel free to contact me, Twitter LinkedIn