Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flag provided but not defined: -prefer-https #43

Open
yusufmalikul opened this issue Jan 7, 2021 · 4 comments
Open

flag provided but not defined: -prefer-https #43

yusufmalikul opened this issue Jan 7, 2021 · 4 comments

Comments

@yusufmalikul
Copy link

yusufmalikul commented Jan 7, 2021

# cat amass-output.txt | httprobe --prefer-https

flag provided but not defined: -prefer-https

Usage of httprobe:
  -c int
        set the concurrency level (default 20)
  -p value
        add additional probe (proto:port)
  -s    skip the default probes (http:80 and https:443)
  -t int
        timeout (milliseconds) (default 10000)
  -v    output errors to stderr
# go version
go version go1.15.6 linux/amd64
# uname -a
Linux kali 5.9.0-kali2-amd64 #1 SMP Debian 5.9.6-1kali1 (2020-11-11) x86_64 GNU/Linux

any idea?

@kuranai
Copy link

kuranai commented Feb 28, 2021

Hey, I had the same problem.
As far as I understood, go get will by default try to install the last tagged version, which is 0.1.2 for this repo and the flag was added after this tag.
So to make it work you have to do the following:
go get -u github.com/tomnomnom/httprobe@master

@BorrowedBastion
Copy link

Thanks @kuranai! Getting the master version fixes this.

@dehinde007
Copy link

go get -u github.com/tomnomnom/httprobe@master

This is not working for me

@cyb3rsalih
Copy link

With Go 1.7+ go install github.com/tomnomnom/httprobe@master worked for me.

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

No branches or pull requests

5 participants