Open Mega-dotcom opened 1 year ago
Describe the bug
$ /root/go/bin/gowitness --debug nmap -N -f web_ports.xml -t 20 ... panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x510100] goroutine 1 [running]: net/url.(*URL).String(0x0) /usr/lib/go-1.18/src/net/url/url.go:800 +0x40 github.com/sensepost/gowitness/cmd.glob..func4(0x1b672c0?, {0x11444bc?, 0x6?, 0x6?}) /root/go/pkg/mod/github.com/sensepost/gowitness@v0.0.0-20230711101818-5797fbaee673/cmd/nmap.go:85 +0x2d4 github.com/spf13/cobra.(*Command).execute(0x1b672c0, {0xc000304900, 0x6, 0x6}) /root/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:944 +0x847 github.com/spf13/cobra.(*Command).ExecuteC(0x1b67b60) /root/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3bc github.com/spf13/cobra.(*Command).Execute(...) /root/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992 github.com/sensepost/gowitness/cmd.Execute() /root/go/pkg/mod/github.com/sensepost/gowitness@v0.0.0-20230711101818-5797fbaee673/cmd/root.go:50 +0x25 main.main() /root/go/pkg/mod/github.com/sensepost/gowitness@v0.0.0-20230711101818-5797fbaee673/main.go:14 +0x3c
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Version Information:
gowitness: 2.5.0 git hash: dev go version: dev
Additional context Add any other context about the problem here.
Describe the bug
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Version Information:
Additional context Add any other context about the problem here.