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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNDM3OTYsIm5iZiI6MTcyNjE0MzQ5NiwicGF0aCI6Ii82NjU0MTkwMi8yNzU2MTQ1MjgtYWQwMmFlMWUtOGYzMC00ZWYzLWFkMzUtOTU3MzVmMWNmZWI3LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDEyMTgxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdjZGVmMmUxNmI0ZWUxNDQ3MmEzYzg2MTBhZDA0ZDA3ZGMwNDhlZWQ2YWRiYWEzZGQzZmMyMDExNzhjNzJlM2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Lkl-tFzNX7C0tVmGPdr0YHguExVyPCfhjdgv7C9MbX0)
- 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! 🚀