masshog

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 10 Imported by: 0

README

MassHog

Masshog Logo

MassHog is a command-line tool designed to help users efficiently scan multiple GitHub repositories for sensitive information using the TruffleHog tool. By providing a list of HTTPS URLs to repositories, MassHog simplifies the process of identifying secrets that may have been accidentally committed.

Features

  • Batch Scanning: Scan multiple GitHub repositories by providing a single file containing HTTPS URLs.
  • Integration with TruffleHog: Leverage TruffleHog's powerful scanning capabilities for detecting secrets.
  • User-friendly Interface: Easy-to-use command-line interface for quick setup and execution.
  • Configurable Options: Customize the scan parameters for your specific needs.

Requirements

  • Go 1.23 or later
  • TruffleHog installed on your machine

Installation

Using Go
  • Install using go install command

    go install github.com/dmdhrumilmistry/masshog@latest
    
Manual Method
  • Clone the repository

    git clone https://github.com/dmdhrumilmistry/masshog.git
    cd masshog
    
  • Install masshog

    go install .
    

Usage

  • To scan multiple GitHub repositories, create a file (e.g., repos.txt) that contains the HTTPS URLs of the repositories you want to scan. Each URL should be on a new line:

    https://github.com/owner/repo1.git
    https://github.com/owner/repo2.git
    https://github.com/owner/repo3.git
    
  • Run MassHog with the following command

    masshog -f repos.txt -s state.json -o results.json
    
  • For configurations and flags use -h

    masshog -h
    

Contributing

Contributions are welcome! If you have suggestions or improvements, please create a pull request or open an issue.

  • Fork the repository

  • Create your feature branch

    git checkout -b feature/my-feature
    
  • Commit your changes

    git commit -m 'Add some feature'
    
  • Push to the branch

    git push origin feature/my-feature
    
  • Open a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL