Skip to content

nxtexploit/LeakScanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Ā 

History

7 Commits
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 

Repository files navigation


LeakScanner

Scan All GitHub Repositories at Once: Effortless Leak Detection

LeakScanner is a Bash script inspired by Gitleaks, that allows you to scan multiple GitHub repositories at once for sensitive information leaks like passwords, api keys, and tokens. It automates the process of running the Gitleaks tool to detect potential leaks in each repository.


LeakScanner

Table of Contents

Features

  • Scan both GitHub user profiles and organizations.
  • Fetch up to 1000 repositories per scan (GitHub API limitation).
  • Automatically clone all repositories and run Gitleaks to detect potential leaks.

Prerequisites

To perform leak detection, you need to Install GitLeaks first. In order to Install this:

  1. Clone this repository to your local machine
    git clone https://github.com/gitleaks/gitleaks.git
  2. Navigate to the cloned directory:
    cd gitleaks
  3. Run this command:
    make build

Or follow the instructions on the GitLeaks GitHub repository for your platform.

Usage

  1. Clone this repository to your local machine:

    git clone https://github.com/nxtexploit/LeakScanner.git
  2. Navigate to the cloned directory:

    cd LeakScanner
  3. Make the script executable:

    chmod +x leakscanner.sh
  4. Run the script:

    ./leakscanner.sh
  5. If you want to scan a Organization account then choose 1st options[1] of if want to scan a Personal account then choose the 2nd options[2]. Enter the username of your target. It will detect all the sensitive info like passwords, api keys, and tokens and so on.

  6. There are plenty of features that you use after the scan over like Verify Findings and many more.


Configuration

  • The script is interactive and will prompt you for the necessary inputs.
  • Review the script's source code to understand its behavior before using it.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

The MIT License is a permissive open-source license that allows you to do almost anything with the code. It gives you permission to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software.

About

šŸ”LeakScanner - Inspired by Gitleaks

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages