Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

open /src/github.com/haccer/subjack/fingerprints.json: no such file or directory #88

Open
medxpy opened this issue Oct 20, 2021 · 9 comments

Comments

@medxpy
Copy link

medxpy commented Oct 20, 2021

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/subjack@v0.0.0-20201112041112-49c51e57deab/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/subjack@v0.0.0-20201112041112-49c51e57deab/fingerprints.json 2021/10/20 20:34:27 open /src/github.com/haccer/subjack/fingerprints.json: no such file or directory

thank you.

@DylanTiger
Copy link

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

@medxpy
Copy link
Author

medxpy commented Nov 12, 2021

@DylanTiger Thank you

@Alpha-gig
Copy link

@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 )

@cyber-Techy
Copy link

I am having the same issued with the above, please can someone tell what is the content of of fingerprints.json.
Thank you

@itis911
Copy link

itis911 commented Feb 26, 2022

The same

@silentknight46
Copy link

Same issue
You can Not Solve The problem Then Remove this tool

@c4ir0
Copy link

c4ir0 commented Jul 28, 2022

Capture
subjack-2.1.zip

@DylanTiger
Copy link

DylanTiger commented Jul 28, 2022 via email

@n16h7h4wk09
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants