Skip to content

Commit

Permalink
add anew tool to default provisioner
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtavian committed Feb 15, 2025
1 parent fcc593f commit 0fef07c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions images/json/provisioners/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,20 +84,23 @@
"echo 'Downloading permutations'",
"wget -q -O /home/op/lists/permutations.txt https://gist.github.com/six2dez/ffc2b14d283e8f8eff6ac83e20a3c4b4/raw",

"echo 'Downloading resolvers'",
"echo 'Downloading Trickest resolvers'",
"wget -q -O /home/op/lists/resolvers.txt https://raw.githubusercontent.com/trickest/resolvers/master/resolvers.txt",

"echo 'Downloading SecLists'",
"git clone https://github.com/danielmiessler/SecLists.git /home/op/lists/seclists",

"echo 'Installing Tools'",

"echo 'Installing assetfinder'",
"/bin/su -l op -c '/usr/local/go/bin/go install github.com/tomnomnom/assetfinder@latest'",
"echo 'Installing anew'",
"/bin/su -l op -c '/usr/local/go/bin/go install -v github.com/tomnomnom/anew@latest'",

"echo 'Installing Amass'",
"wget -q -O /tmp/amass.zip https://github.com/OWASP/Amass/releases/download/v3.21.2/amass_linux_amd64.zip && cd /tmp/ && unzip /tmp/amass.zip && mv /tmp/amass_linux_amd64/amass /usr/bin/amass",

"echo 'Installing assetfinder'",
"/bin/su -l op -c '/usr/local/go/bin/go install github.com/tomnomnom/assetfinder@latest'",

"echo 'Installing ax framework'",
"/bin/su -l op -c 'git clone https://github.com/attacksurge/ax.git /home/op/.axiom && cd /home/op/.axiom/interact && ./axiom-configure --setup --shell zsh --unattended'",

Expand Down
9 changes: 6 additions & 3 deletions images/pkr.hcl/provisioners/default.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -81,20 +81,23 @@
"echo 'Downloading permutations'",
"wget -q -O /home/op/lists/permutations.txt https://gist.github.com/six2dez/ffc2b14d283e8f8eff6ac83e20a3c4b4/raw",

"echo 'Downloading resolvers'",
"echo 'Downloading Trickest resolvers'",
"wget -q -O /home/op/lists/resolvers.txt https://raw.githubusercontent.com/trickest/resolvers/master/resolvers.txt",

"echo 'Downloading SecLists'",
"git clone https://github.com/danielmiessler/SecLists.git /home/op/lists/seclists",

"echo 'Installing Tools'",

"echo 'Installing assetfinder'",
"/bin/su -l op -c '/usr/local/go/bin/go install github.com/tomnomnom/assetfinder@latest'",
"echo 'Installing anew'",
"/bin/su -l op -c '/usr/local/go/bin/go install -v github.com/tomnomnom/anew@latest'",

"echo 'Installing Amass'",
"wget -q -O /tmp/amass.zip https://github.com/OWASP/Amass/releases/download/v3.21.2/amass_linux_amd64.zip && cd /tmp/ && unzip /tmp/amass.zip && mv /tmp/amass_linux_amd64/amass /usr/bin/amass",

"echo 'Installing assetfinder'",
"/bin/su -l op -c '/usr/local/go/bin/go install github.com/tomnomnom/assetfinder@latest'",

"echo 'Installing ax framework'",
"/bin/su -l op -c 'git clone https://github.com/attacksurge/ax.git /home/op/.axiom && cd /home/op/.axiom/interact && ./axiom-configure --setup --shell zsh --unattended'",

Expand Down

0 comments on commit 0fef07c

Please sign in to comment.