Skip to content

Issue with installing go lang agent #8

Description

@xSunShine

Hello,

When ever i try to generate go lang payload i got this error:

usr/bin/go
golangtemptemplate.go:12:2: cannot find package "github.com/miekg/dns" in any of:
/usr/lib/go-1.18/src/github.com/miekg/dns (from $GOROOT)
/root/go/src/github.com/miekg/dns (from $GOPATH)
golangtemptemplate.go:13:2: cannot find package "golang.org/x/sys/windows" in any of:
/usr/lib/go-1.18/src/golang.org/x/sys/windows (from $GOROOT)
/root/go/src/golang.org/x/sys/windows (from $GOPATH)
[-] Error while generating the agent

i tryed installing as mentioned in github to install 1.16.3 and also "go install
golang.org/x/sys
github.com/miekg/dns
" with "@latest" on the end of each command and still can't create go lang payload.

i have very little experiance with go lang so any suggestions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions