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
4.06k stars 645 forks source link

Install lastest go,amass and others #604

Closed ghost closed 2 years ago

0xtavian commented 2 years ago

@p0mbe this seems to break every single go tool in the default provisioner with the exception of anew lol. Please let me know if you disagree. I wont be merging this as is, but ty for the effort.

nearly every go tool errors like this during axiom-build default

=> digitalocean: /usr/local/go/src/runtime/internal/sys/consts.go:13:7: StackGuardMultiplier redeclared in this block
==> digitalocean:       /usr/local/go/src/runtime/internal/sys/arch.go:27:74: previous declaration
==> digitalocean: /usr/local/go/src/runtime/internal/sys/consts.go:16:7: DefaultPhysPageSize redeclared in this block
==> digitalocean:       /usr/local/go/src/runtime/internal/sys/arch.go:36:29: previous declaration
==> digitalocean: /usr/local/go/src/runtime/internal/sys/consts.go:20:7: PCQuantum redeclared in this block
==> digitalocean:       /usr/local/go/src/runtime/internal/sys/arch.go:40:19: previous declaration
==> digitalocean: /usr/local/go/src/runtime/internal/sys/consts.go:23:7: Int64Align redeclared in this block
==> digitalocean:       /usr/local/go/src/runtime/internal/sys/arch.go:43:20: previous declaration
==> digitalocean: /usr/local/go/src/runtime/internal/sys/consts.go:30:7: MinFrameSize redeclared in this block
==> digitalocean:       /usr/local/go/src/runtime/internal/sys/arch.go:50:22: previous declaration
==> digitalocean: /usr/local/go/src/runtime/internal/sys/consts.go:34:7: StackAlign redeclared in this block
==> digitalocean:       /usr/local/go/src/runtime/internal/sys/arch.go:54:20: previous declaration
==> digitalocean: # sync/atomic
==> digitalocean: /usr/local/go/src/sync/atomic/type.go:39:16: syntax error: unexpected any, expecting ]
==> digitalocean: /usr/local/go/src/sync/atomic/type.go:45:17: syntax error: unexpected [, expecting comma or )
==> digitalocean: /usr/local/go/src/sync/atomic/type.go:48:17: syntax error: unexpected [, expecting comma or )
==> digitalocean: /usr/local/go/src/sync/atomic/type.go:51:17: syntax error: unexpected [, expecting comma or )
==> digitalocean: /usr/local/go/src/sync/atomic/type.go:54:17: syntax error: unexpected [, expecting comma or )

After build and init, you can see the only go tool built successfully was new.

wright01:~:% httpx
zsh: command not found: httpx
wright01:~:% nuclei
zsh: command not found: nuclei
wright01:~:% gowitness
zsh: command not found: gowitness
wright01:~:% subfinder
zsh: command not found: subfinder
wright01:bin:% ls
anew
ghost commented 2 years ago

Its so weird 😳, when I run it the 1st time everything worked fine..

guess it was fine to close the commit....