PentestPad / subzy

Subdomain takeover vulnerability checker
https://www.pentestpad.com
GNU General Public License v2.0
989 stars 149 forks source link

unable to run subzy with out absolute path #44

Closed tehseensagar closed 1 month ago

tehseensagar commented 1 year ago

I have just install subzy . I'm using go 1.18 version. my go apth env is set as well. even I did export GOPATH=$HOME/go and found that i have go/bin/subzy on path as well. But when I run subzy it does not find it. If I use /home/myuser/go/bin/subzy it is working fin.

Any idea what went wrong?

zin-htet-aung commented 2 months ago

cp /go/bin/subzy /usr/local/bin , it can solve

ZishanAdThandar commented 1 month ago

Solution:

  1. Use export GOPATH=$HOME/go as root and normal user.
  2. Then
    sudo cp $HOME/go/bin/* /usr/local/bin/*
    cp $HOME/go/bin/* /usr/local/bin/*