haccer / subjack

Subdomain Takeover tool written in Go
Apache License 2.0
1.92k stars 338 forks source link

fingerprints.json not found #65

Open Tufferz opened 4 years ago

Tufferz commented 4 years ago

I cant seem to get it to run. when I run the command, I get this error:

2020/07/26 02:45:24 open /src/github.com/haccer/subjack/fingerprints.json: no such file or directory

I have indeed checked and the file is there. I am running the command as root as well.

Anyone know how to fix this?

deeFIR commented 4 years ago

Which OS are you using? Assuming you're using Kali, it'll be in /root/go/src/github.com/haccer/subjack Just point to it using the -c flag when you're running subjack;

$ subjack -w subdomains.txt -c /root/go/src/github.com/haccer/subjack/fingerprints.json

virenpawar commented 4 years ago

Working :+1: using -c /root/go/src/...SNIP.../

BasicAcid commented 4 years ago

On *nix, a possibility is to add the directory to the path:

In my case I added this to my zshrc: export GOPATH=$HOME/go

More information here: https://stackoverflow.com/a/21012349

1efty commented 4 years ago

@haccer @bauthard Why not add it as a native go variable? That way everything is contained in a single binary?

Aspasht commented 2 years ago

In my case, root cause was go get which is not supported and I install using go install, it will append version to a subjack folder. You can find the fingerprint.json using following linux command:

$ find -type f -name "fingerprints.json"
./go/pkg/mod/github.com/haccer/subjack@v0.0.0-20201112041112-49c51e57deab/fingerprints.json

Now you can use subjack using -c flag.

0xgit007 commented 1 year ago

find -type f -name "fingerprints.json" ./go/pkg/mod/github.com/haccer/subjack@v0.0.0-20201112041112-49c51e57deab/fingerprints.json worked thanks