Dons
Dons copied to clipboard
Dons Js Scanner is a sleek command-line tool that hunts for hidden treasures—API keys, credentials, and secrets—lurking in the JavaScript of websites. Its vibrant ASCII art logo welcomes users to a jo...
Dons Js Scanner
Dons Js Scanner is a Python tool designed by Ali Essam to scan websites and uncover potential sensitive information within JavaScript files. It utilizes asynchronous programming for efficient web crawling and in-depth analysis.
Features
- Asynchronous Scanning: Utilizes asyncio and aiohttp for speedy web crawling and JavaScript file analysis.
- Sensitive Information Detection: Identifies potential sensitive information using pre-defined regex patterns.
- Result Clustering: Presents cleaner output by clustering similar results.
Getting Started
Prerequisites
- Python 3.7 or higher
- Dependencies: aiohttp, BeautifulSoup, termcolor, tqdm, coloredlogs
Installation
- Clone the repository:
git clone https://github.com/dragonked2/Dons.git cd Dons - Install dependencies:
pip install -r requirements.txt
Usage
Scan Single Website
python main.py
Follow the prompts to enter a single website URL for scanning.
Scan Multiple Websites from a File
python main.py
Choose the option to scan multiple websites from a file and provide the file path.
Customizing Scan Depth
You can customize the recursive depth for scanning when prompted. The default depth is set to 4.
Results
Detected matches will be saved to a file on your desktop and displayed in the console.
Example
Matches found at https://example.com, JavaScript file: https://example.com/js/main.js:
Key: Google API Key
Snippet: AIza...
Key: Google Cloud Pub/Sub Emulator Host
Snippet: google.pubsub.emulator.host = 'example.appspot.com'
Contributions
Contributions are always welcome! Feel free to open issues or pull requests.
Connect with Me
License
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to star ⭐️ the repository if you find it helpful! 🚀