SolomonSklash / chomp-scan

A scripted pipeline of tools to streamline the bug bounty/penetration test reconnaissance phase, so you can focus on chomping bugs.
https://www.solomonsklash.io/chomp-scan-update.html
GNU General Public License v3.0
393 stars 76 forks source link

Subjack path #22

Closed D0N-B0T closed 5 years ago

D0N-B0T commented 5 years ago

[!] The path or the file specified by the path for subjack does not exit.

i did source ~/.profile

SolomonSklash commented 5 years ago

Can you run these commands and show me the output? cat /etc/issue command -v subjack which subjack echo $GOPATH ls ~/bounty/tools

D0N-B0T commented 5 years ago

I think its a problem with GO cause it didnt downloaded subjack. i cant find it

D0N-B0T commented 5 years ago

Hmm


asd@asd:~/go/bin$ ls
ffuf  gobuster  inception  subfinder  subjack  waybackurls
krossom@vukali:~/go/bin$ ./subjack
Usage of ./subjack:
  -a    Find those hidden gems by sending requests to every UR

??

D0N-B0T commented 5 years ago

asd@asd:~/chomp-scan$ cat /etc/issue Kali GNU/Linux Rolling \n \l

asd@asd:~/chomp-scan$ command -v subjack asd@asd:~/chomp-scan$ which subjack asd@asd:~/chomp-scan$ echo $GOPATH /home/asd/go

SolomonSklash commented 5 years ago

Do any of the go tools work when you're not in their install directories? It looks like Subjack installed ok, but it still isn't in your $PATH.

D0N-B0T commented 5 years ago

forgot

ls ~/bounty/tools
altdns  aquatone  bfac  CORStest  dnscan  massdns  S3Scanner  Sublist3r

Do any of the go tools work when you're not in their install directories? It looks like Subjack installed ok, but it still isn't in your $PATH.

nope no one of them. I think no one of them didnt install...

SolomonSklash commented 5 years ago

Since they are all listed in ~/go/bin, they did install. You were able to run ./subjack and it ran, so it is installed. I really think the issue is with the $PATH variable. Do an echo $PATH and make sure that ~/go/bin is there. That's what the source ~/.profile is supposed to accomplish. Are you using a shell other than bash by chance?

D0N-B0T commented 5 years ago

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/root/go-workspace/bin

... idk

SolomonSklash commented 5 years ago

So it is definitely missing from your $PATH. This is a temporary fix, but try this. Run PATH=$PATH:$HOME/go/bin Then do echo $PATH and see if ~/go/bin is there and if chomp-scan.sh will run.

sabeesh03 commented 4 years ago

./subjack is a directory