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.
![Dons Js Scanner](https://private-user-images.githubusercontent.com/66541902/275614528-ad02ae1e-8f30-4ef3-ad35-95735f1cfeb7.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExODc5NjEsIm5iZiI6MTcyMTE4NzY2MSwicGF0aCI6Ii82NjU0MTkwMi8yNzU2MTQ1MjgtYWQwMmFlMWUtOGYzMC00ZWYzLWFkMzUtOTU3MzVmMWNmZWI3LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE3VDAzNDEwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcwMDNlN2ExOGYyMjg1MTEzMTU2NjZhZDk0ZWYyZGVkNGMxNTVlOGRkODk5N2Y1MWFhMzgwZjVkMjFiYTRlYTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.1LglIJLotyM_cYH0NpSOKouILZPHhWaJYJpqrZCmuuA)
- 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! 🚀