subjack
subjack copied to clipboard
open /src/github.com/haccer/subjack/fingerprints.json: no such file or directory
Hey, i'm trying to running the tool and i got this error message, i try to solve it by reading previous issue, but i got stuck on it bcz i don't have the folder /src inside my go directory. Then i try to refer to the file using -c /home/med/go/pkg/mod/github.com/haccer/[email protected]/fingerprints.json. But isn't work.
subjack -w sub.thomson -t 100 timeout 30 -o results.txt -ssl -c /home/med/go/pkg/mod/github.com/haccer/[email protected]/fingerprints.json 2021/10/20 20:34:27 open /src/github.com/haccer/subjack/fingerprints.json: no such file or directory
thank you.
i solved creating the required path for the file. sudo mkdir -p /src/github.com/haccer/subjack then save the fingerprints.json in that directory
@DylanTiger Thank you
@DylanTiger Can i use vim to create the fingerprints.json and save it in that directory cause i'm getting similar errors open /root/go/src/github.com/haccer/subjack/fingerprints.json: no such file or directory And i already created a path ( sudo mkdir -p /root/go/src/github.com/haccer/subjack/fingerprints.json )
I am having the same issued with the above, please can someone tell what is the content of of fingerprints.json. Thank you
The same
Same issue You can Not Solve The problem Then Remove this tool
the file fingerprints.json is included in the repo https://github.com/haccer/subjack/blob/master/fingerprints.json
Sent from myMail for Android Thursday, 28 July 2022, 04:31pm +02:00 from b@@.*** @.*** :
subjack-2.1.zip — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you were mentioned. Message ID: @ github . com>
This actually happens because you do not have the GOPATH set. From the main.go file:
GOPATH := os.Getenv("GOPATH")
Project := "/src/github.com/haccer/subjack/"
configFile := "fingerprints.json"
So you need to set the GOPATH and then, clone this repo under $GOPATH/src/github.com/haccer folder. Let's say you set $HOME/go as your GOPATH then you need to clone this repo under $HOME/go/src/github.com/haccer