Home - NovusEdge/gohack GitHub Wiki

About

gohack is a hacking-tools utility written in go.


Installation

  • Linux:
# Navigate to suitable installation location
git clone https://github.com/NovusEdge/gohack
cd gohack/ && pip install -r requirements.txt
python3 setup.py

# Setting $GOHACKPATH in the env.
export $(grep "GOHACKPATH" $HOME/.config/gohack)

# To add to PATH:
export PATH=$PATH:$GOHACKPATH/src/bin

Note: A suitable location for installation may be either the home-directory: ~ or the /usr/local directory

  • Windows:
<# For installation in some specific location, replace %homepath% with the path to the directory. #>
cd %homepath% && git clone https://github.com/NovusEdge/gohack
cd gohack && py -m pip install -r requirements.txt
py setup.py

SETX GOHACKPATH "PATH_TO_INSTALL_LOCATION/gohack"
SETX gohack "%HOHACKPATH%/src/bin"

Usage

For general help and usage of all available commands:

gohack help

For some specific tool:

gohack help <tool name/alias>

Example:

gohack help portScanner

For more information on the tools, check: Tool Index

Here's an example usage of the tool:

$ gohack ps -domain="github.com"
[+] Port 80 is Open.
[+] Port 22 is Open.
[+] Port 443 is Open.