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

Error when installing netcap on Ubuntu18 #18

Closed
Jgerardopine opened this issue Nov 27, 2020 · 1 comment
Closed

Error when installing netcap on Ubuntu18 #18

Jgerardopine opened this issue Nov 27, 2020 · 1 comment

Comments

@Jgerardopine
Copy link

Description:

When installing netcap on an Ubuntu18 setup on VisualStucio code I get the following error:

github.com/dreadl0ck/netcap/encoder
go/src/github.com/dreadl0ck/netcap/encoder/tls.go:51:17: hello.Unmarshall undefined (type tlsx.ClientHello has no field or method Unmarshall)
go/src/github.com/dreadl0ck/netcap/encoder/tls.go:55:3: use of untyped nil
go/src/github.com/dreadl0ck/netcap/encoder/tls.go:131:37: cannot use hello (type *tlsx.ClientHello) as type *tlsx.ClientHelloBasic in argument to ja3.DigestHex

Do I need to install some additionl package on Linux or is there a specific verison that I should use?

@dreadl0ck
Copy link
Owner

Hi there, thanks for reporting!

What version of Go are you using?
Make sure you compile with go modules enabled, it should pick the correct version of the tlsx package then.

Starting in Go 1.13, module mode will be the default for all development.
https://blog.golang.org/using-go-modules

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