Closed Techbrunch closed 2 years ago
Maybe we are installing it wrong. I’ll take a look. Thanks! https://github.com/pry0cc/axiom/blob/94b6db50bd317b3386031648b9f686683add3315/images/provisioners/default.json#L261
I was able to confirm this is installed and is working as expected. Can you run axiom-update
and axiom-build default
and try again? I’m going to close this issue as its not replicable.
So I don't know what is the issue but I confirm that I ran into this issue again (new computer / new install of axiom).
axiom-scan ips.txt -m naabu -p -exclude-cdn -o naabu -json ─╯
_
____ __ __(_)___ ____ ___ ______________ _____
/ __ `/ |/_/ / __ \/ __ `__ \______/ ___/ ___/ __ `/ __ \
/ /_/ /> </ / /_/ / / / / / /_____(__ ) /__/ /_/ / / / /
\__,_/_/|_/_/\____/_/ /_/ /_/ /____/\___/\__,_/_/ /_/
@pry0cc
& @0xtavian
creating scan working directory at : /home/op/scan/naabu+1648487681/
module: [ naabu ] | module args: [ -p -exclude-cdn -json ] | input: [ 38 lines ] |
instances: 10 [ xxx01 xxx02 xxx03 xxx04 xxx05 xxx06 xxx07 xxx08 xxx09 xxx10 ] |
command: [ [ ! -s input ] && exit 1; cat input | sudo /home/op/go/bin/naabu -o output -p -exclude-cdn -json ] | ext: [ txt ] | threads: [ null ]
spliting and distributing input file...
[ OK ]
sudo: /home/op/go/bin/naabu: command not found
sudo: /home/op/go/bin/naabu: command not found
sudo: /home/op/go/bin/naabu: command not found
sudo: /home/op/go/bin/naabu: command not found
sudo: /home/op/go/bin/naabu: command not found
sudo: /home/op/go/bin/naabu: command not found
sudo: /home/op/go/bin/naabu: command not found
sudo: /home/op/go/bin/naabu: command not found
sudo: /home/op/go/bin/naabu: command not found
sudo: /home/op/go/bin/naabu: command not found
xxx08 scan finished
xxx01 scan finished
xxx03 scan finished
xxx09 scan finished
xxx10 scan finished
xxx07 scan finished
xxx05 scan finished
xxx02 scan finished
xxx06 scan finished
xxx04 scan finished
Mode set to txt.. Sorting unique.
Appending axiom-scan runtime statistics to : /Users/xxx/.axiom/stats.log
module: [ naabu ] | module args: [ -p -exclude-cdn -json ] | instances: [ 10 ] | targets: [ 38 targets ] | results: [ 0 results ] |
runtime: [ 00h:00m:40s ] | date: [ Mon Mar 28 19:14:41 CEST 2022 ] | id: [ naabu+1648487681 ] |
output: [ /Users/xxx/Documents/projets/xxx/recon/xxx/naabu ] | log: [ /Users/xxx/.axiom/logs/naabu+1648487681 ] | remote: [ /home/op/scan/naabu+1648487681 ] |
command: [ [ ! -s input ] && exit 1; cat input | sudo /home/op/go/bin/naabu -o output -p -exclude-cdn -json ] | ext: [ txt ] | threads: [ null ]
cd $HOME/.axiom && git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
axiom-update
Already up to date.
axiom-ssh xxx01
▄▄▄ ▒██ ██▒ ██▓ ▒█████ ███▄ ▄███▓
▒████▄ ▒▒ █ █ ▒░▓██▒▒██▒ ██▒▓██▒▀█▀ ██▒
▒██ ▀█▄ ░░ █ ░▒██▒▒██░ ██▒▓██ ▓██░
░██▄▄▄▄██ ░ █ █ ▒ ░██░▒██ ██░▒██ ▒██
▓█ ▓██▒▒██▒ ▒██▒░██░░ ████▓▒░▒██▒ ░██▒
▒▒ ▓▒█░▒▒ ░ ░▓ ░░▓ ░ ▒░▒░▒░ ░ ▒░ ░ ░
▒ ▒▒ ░░░ ░▒ ░ ▒ ░ ░ ▒ ▒░ ░ ░ ░
Public IP: xxx - Instance: xxx01
➜ ~ naabu
zsh: command not found: naabu
➜ ~ /home/op/go/bin/naabu
zsh: no such file or directory: /home/op/go/bin/naabu
The base image was built today using the reconFTW template: axiom-reconftw-1648477629
@0xtavian So I reread the doc and my problem is that I what using the wrong image. I should have been using the default one. I was under the wrong impression that reconFTW add more tools.
I am solved with: axiom-exec "git clone https://github.com/projectdiscovery/naabu.git && cd naabu/v2/cmd/naabu && go build && chmod +x naabu && echo password-sudo-or-root |sudo cp naabu /usr/bin"
case after look: Permission Denied, execute after: axiom-exec "cd naabu/v2/cmd/naabu && chmod +x naabu && echo password | sudo cp naabu /usr/bin"
I am solved with: axiom-exec "git clone https://github.com/projectdiscovery/naabu.git && cd naabu/v2/cmd/naabu && go build && chmod +x naabu && echo password-sudo-or-root |sudo cp naabu /usr/bin"
case after look: Permission Denied, execute after:
axiom-exec "cd naabu/v2/cmd/naabu && chmod +x naabu && echo password | sudo cp naabu /usr/bin"
🧡👏👏
Unless I'm missing something it appears that naabu was removed from the provisioner.
https://github.com/pry0cc/axiom/search?q=naabu&type=code