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.
- 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.
- Python 3.7 or higher
- Dependencies: aiohttp, BeautifulSoup, termcolor, tqdm, coloredlogs
- Clone the repository:
git clone https://github.com/dragonked2/Dons.git cd Dons
- Install dependencies:
pip install -r requirements.txt
python main.py
Follow the prompts to enter a single website URL for scanning.
python main.py
Choose the option to scan multiple websites from a file and provide the file path.
You can customize the recursive depth for scanning when prompted. The default depth is set to 4.
Detected matches will be saved to a file on your desktop and displayed in the console.
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 are always welcome! Feel free to open issues or pull requests.
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! 🚀