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

-bash: wcvs: command not found. #19

Closed
tyloren0a opened this issue Jan 26, 2024 · 9 comments
Closed

-bash: wcvs: command not found. #19

tyloren0a opened this issue Jan 26, 2024 · 9 comments

Comments

@tyloren0a
Copy link

Hi,
go install -v github.com/Hackmanit/Web-Cache-Vulnerability-Scanner@latest -> installs all packages but does not work.

@m10x
Copy link
Collaborator

m10x commented Jan 28, 2024

Hello @tyloren0a,
Have you added GOPATH/bin to your PATH?
Depending on your OS and Golang Configuration $HOME/go/bin/Web-Cache-Vulnerability-Scanner or %USERPROFILE%\go\bin\Web-Cache-Vulnerability-Scanner might work

@tyloren0a
Copy link
Author

Hi @m10x ,
I set GOPATH and other go tools work (subfinder for example) but this tool does not work despite downloading all packages.

@m10x
Copy link
Collaborator

m10x commented Jan 30, 2024

Can you please provide more information:

  • What's your OS and your golang version
  • What is the output of the go install command?

@tyloren0a
Copy link
Author

tyloren0a commented Jan 30, 2024

Hi @m10x ,
I am using wsl2 (Kali Linux) on windows 11.
My go version : go version go1.21.6 linux/amd64
Since it has already downloaded the tool's packages, it does not give an output at the moment.

@m10x
Copy link
Collaborator

m10x commented Jan 31, 2024

Hm ok. Can you please show the output of:
go install -n github.com/Hackmanit/Web-Cache-Vulnerability-Scanner@latest
This returns, in my case, the output:
touch /home/m10x/go/bin/Web-Cache-Vulnerability-Scanner

Further, can you please provide the output of:
go env

@tyloren0a
Copy link
Author

Hi @m10x ,
go install -n github.com/Hackmanit/Web-Cache-Vulnerability-Scanner@latest
output : touch /home/tyloren/go/bin/Web-Cache-Vulnerability-Scanner

❯ go env
GO111MODULE='auto'
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/tyloren/.cache/go-build'
GOENV='/home/tyloren/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/tyloren/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/tyloren/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.6'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD=''
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2816589105=/tmp/go-build -gno-record-gcc-switches'

@m10x
Copy link
Collaborator

m10x commented Jan 31, 2024

Are you able to run /home/tyloren/go/bin/Web-Cache-Vulnerability-Scanner?

If not, does it exist and what does file /home/tyloren/go/bin/Web-Cache-Vulnerability-Scanner return?

@tyloren0a
Copy link
Author

tyloren0a commented Feb 1, 2024

Hi @m10x ,
I think the command works but the file name is "Web-Cache-Vulnerability-Scanner".
WCVS v1.1.2 started at 2024-02-01_03-45-14
[ERR] The specified header file path wordlists/headers couldn't be found: open wordlists/headers: no such file or directory
Use the flag "-hw path/to/wordlist" to specify the path to a header wordlist

@m10x
Copy link
Collaborator

m10x commented Feb 9, 2024

Ok great. Here are the recommended header/parameter wordlists: https://github.com/Hackmanit/Web-Cache-Vulnerability-Scanner/tree/master/wordlists
Or you can also skip the header / parameter tests with --skiptest 'headers,parameters'

@m10x m10x closed this as completed Feb 9, 2024
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

2 participants