PentestPad / subzy

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

Can install - unexpected directory layout #11

Closed shabbadont closed 2 years ago

shabbadont commented 3 years ago

GOROOT and GOPATH are correct. Not sure what is causing this/ I'm using Kali for this.

unexpected directory layout: import path: _/root/go/src/github.com/lukasikic/subzy/src root: /root/go/src dir: /root/go/src/github.com/lukasikic/subzy/src expand root: /root/go expand dir: /root/go/src/github.com/lukasikic/subzy/src separator: /

elzozz commented 3 years ago

Ran into the same issue... newer versions of golang no longer accepts absolute path imports. So change the import path as follows: import ( "github.com/lukasikic/subzy/src" "flag" "fmt" "os" )