Issue with installing go lang agent
- Dominant language
- Python
- Stars
- 622
- Forks
- 133
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing Go payload generation and inspect golangtemptemplate.go, especially its imports of github.com/miekg/dns and golang.org/x/sys/windows. Check how the project expects these dependencies to be installed; done means generating the Go payload without the missing-package errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100