pry0cc / axiom

The dynamic infrastructure framework for everybody! Distribute the workload of many different scanning tools with ease, including nmap, ffuf, masscan, nuclei, meg and many more!
MIT License
4k stars 622 forks source link

nuclei install fail #725

Closed g0nkg0nk closed 1 year ago

g0nkg0nk commented 1 year ago

https://github.com/pry0cc/axiom/blob/972a0ef7d565d0efc14a2667e70bb04f710c510f/images/provisioners/default.json#L57 provisioners go version 1.19.1 requires 1.20

$ axiom-exec 'nuclei' ... nuclei: command not found ...

$ axiom-exec 'go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest' ... github.com/projectdiscovery/interactsh/pkg/client # github.com/projectdiscovery/interactsh/pkg/client go/pkg/mod/github.com/projectdiscovery/interactsh@v1.1.4/pkg/client/client.go:327:17: undefined: errors.Join note: module requires Go 1.20 ...

temp fix:

axiom-exec 'curl https://raw.githubusercontent.com/udhos/update-golang/master/update-golang.sh|sudo bash'
axiom-exec 'go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest'
patrick-othmer commented 1 year ago

MR for this issue #726

pdelteil commented 1 year ago

https://github.com/pry0cc/axiom/blob/972a0ef7d565d0efc14a2667e70bb04f710c510f/images/provisioners/default.json#L57

provisioners go version 1.19.1 requires 1.20

$ axiom-exec 'nuclei' ... nuclei: command not found ...

$ axiom-exec 'go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest' ... github.com/projectdiscovery/interactsh/pkg/client # github.com/projectdiscovery/interactsh/pkg/client go/pkg/mod/github.com/projectdiscovery/interactsh@v1.1.4/pkg/client/client.go:327:17: undefined: errors.Join note: module requires Go 1.20 ...

temp fix:

axiom-exec 'curl https://raw.githubusercontent.com/udhos/update-golang/master/update-golang.sh|sudo bash'
axiom-exec 'go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest'

Thanks. I had the same issue, you saved me some time!