soumikhasan696 / Dons

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 journey where it scans, reveals, and safeguards against potential security breaches.

Home Page:https://www.egscan.co/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

380024582_904511401099198_7120165947283670814_n

Dons Js Scanner

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.

Dons Js Scanner

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

  1. Clone the repository:
    git clone https://github.com/dragonked2/Dons.git
    cd Dons
          
  2. 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

Ali Essam - LinkedIn

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! 🚀

About

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 journey where it scans, reveals, and safeguards against potential security breaches.

https://www.egscan.co/

License:GNU General Public License v3.0


Languages

Language:Python 100.0%