Closed Daviey closed 3 years ago
Does this crash always happen? I just tried the same command a few times (built off the same commit), each being successful.
Yep, consistent. I've tried the same binary on two machines, same result.
This is the binary built with go get: http://daviey.com/tmp/gowitness
I just did a go get
install on a fresh Kali instance and still can't replicate this.
rm
your go modules cache (go clean -modcache
) Also, what version of go are you building with? (go version
). I've built on 1.16.2 darwin/amd64
& 1.15.9 linux/amd64
and that seems ok.
go version go1.16.2 linux/amd64
In your screenshot, you don't have the -F / --fullpage flag. The binary works fine for normal, but segfaults every time for fullscreen.
(Thanks for helping to investigate this :) )
Does docker run --rm -it leonjza/gowitness:latest gowitness single -F https://github.com
also crash for you?
Confirmed your docker image worked, and copying the binary to my local system also worked.
I then realised that GOBIN isn't in my PATH on this system, so the previous rebuild after go clean was ineffective (was still using my previous build!).
I can confirm now that the binary built after go clean -modcache
does work with -F option.
Apologies for that, and thanks muchly for helping!
Fullpage (via
--fullpage
or-F
creates a panic:Version
Installed via go get