JSNinja is a powerful tool for extracting URLs and sensitive information from JavaScript files. It's designed for security enthusiasts,BugHunters and developers.
To install JSNinja, run the following commands:
apt update
apt install git python3 python3-pip -y
git clone https://github.com/iamunixtz/JSNinja.git
cd JSNinja
pip3 install -r requirements.txt
apt update ; apt install git python3 python3-pip -y ; git clone https://github.com/iamunixtz/JSNinja.git ; cd JSNinja ; pip3 install -r requirements.txt
To run JSNinja, use the following command:
python3 jsninja.py -u http://example.com/script.js --secrets --urls
-u
or--url
: Specify a single JavaScript URL to fetch.--secrets
: Look for sensitive information in the JavaScript content.--urls
: Extract URLs from the JavaScript content.-o
or--output_file
: Specify the file to save extracted links (default:extracted_links.txt
).
This project is licensed under the MIT License - see the LICENSE file for details.