haccer / subjack

Subdomain Takeover tool written in Go
Apache License 2.0
1.91k stars 337 forks source link

How to start program? #53

Open rayabee opened 4 years ago

rayabee commented 4 years ago

Ok, for the risk of being a total noob i have to ask this question... how do i get this to work?

I followed the instructions to install Go from here: https://golang.org/dl/

The following is pasted in my terminal (Kali Linux): go get github.com/Ice3man543/SubOver

When i then input this: ./subjack -w subdomains.txt -t 100 -timeout 30 -o results.txt -ssl it says "bash: ./subjack: No such file or directory ".

I have a textfile with the list of subdomains in it and called it subdomains.txt.

Sorry for this guys, i'm pretty sure it's easy to fix but i'm a little lost.

darshkpatel commented 4 years ago

this is github.com/haccer/subjack and not github.com/Ice3man543/SubOver

rayabee commented 4 years ago

Sorrhy about that, my mistake.

I do actually mean how to start SubJack.

./subjack -w subdomains.txt -t 100 -timeout 30 -o results.txt -ssl gives "bash: ./subjack: No such file or directory" and i think this has to do with the $PATH but i am new to this and not sure how to continue...

darshkpatel commented 4 years ago

You use ./ When you're in the same directory as the binary, and if you're trying to execute the binary elsewhere, the folder containing for the binary should be in the $PATH

Hope thay helps.

On Thu, 2 Apr, 2020, 11:57 am rayabee, notifications@github.com wrote:

Sorrhy about that, my mistake.

I do actually mean how to start SubJack.

./subjack -w subdomains.txt -t 100 -timeout 30 -o results.txt -ssl gives "bash: ./subjack: No such file or directory" and i think this has to do with the $PATH but i am new to this and not sure how to continue...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/haccer/subjack/issues/53#issuecomment-607647511, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACV4TLUS3OKT6IKRTYT4ORLRKQV55ANCNFSM4LUNGKIA .

sabeesh03 commented 4 years ago

./subjack -w subdomains.txt -t 100 -timeout 30 -o results.txt -ssl -bash: ./subjack: is a directory

same here

Delson704557 commented 4 years ago

paste this in the teminal "alias subjack='~/go/bin/subjack'"

and then use this command "subjack -w subdomains.txt -t 100 -timeout 30 -o results.txt -ssl"

and ensure that whatever directory ur running this command, there has to be subdomain.txt file in that directory.

I hope this helped you!!