githunt

command module
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: MIT Imports: 13 Imported by: 0

README

Tests Linter

GitHunt

A simple command line tool to mass check targets for exposed .git directories.

Features

  • Check single target for exposed git directory
  • Check multiple targets for exposed git directory

TODO

  • Add option to dump exposed git directories

Usage

  _   o  _|_  |_        ._   _|_ 
 (_|  |   |_  | |  |_|  | |   |_   
  _|
Usage: githunt [options...] 

Usage Examples:
  githunt -url example.com
  githunt -urls urls.txt -workers 100 -timeout 30s -output out.txt

Options:
  Target:
    -url         check single url
    -urls        file containing multiple urls (one per line)
    -path        sets the path to .git config file (default: /.git/config)

  Request:
    -workers     sets the desirable number of http workers (default: 50)
    -cpus        sets the maximum number of CPUs that can be utilized (default: available-1)
    -timeout     sets a time limit for requests, valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". (default: 15s)
  
  General:
    -output      save vulnerable targets to a file

Installation

To install the command line program, use the following:

go get -v github.com/georlav/githunt/...

Build

To build a local version, use the following:

go build -o githunt main.go

Credits

License

The MIT License (MIT) - see LICENSE.md for more details

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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