-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add do_uninstall function * uninstall f/ amass/aqua/go * uninstall functional on all tools * Add in missed fixes from rebase * solve permission issue * Removes un-needed vars from yaml * Resolves go test issues * adds framework for uninstall tests * Fixes uninstall tests for Go tools * Adds uninstall testing for luigi and improves uninstall * Adds uninstall testing for searchsploit * Update installation documentation
- Loading branch information
1 parent
9e863a2
commit 1ad3adc
Showing
19 changed files
with
272 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
installed: false | ||
dependencies: [go] | ||
go: &gotool !get_tool_path "{go[path]}" | ||
path: !join_path [!get_default "{gopath}", bin/amass] | ||
path: &path !join_path [!get_default "{gopath}", "bin/amass"] | ||
environ: {"GO111MODULE": "on", "GOPATH": !get_default "{gopath}"} | ||
|
||
commands: | ||
install_commands: | ||
- !join [*gotool, get github.com/OWASP/Amass/v3/...] | ||
|
||
uninstall_commands: | ||
- !join [rm, *path] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
installed: false | ||
tools: &tools !get_default "{tools-dir}" | ||
path: &aqua !join_path [*tools, aquatone] | ||
path: &path !join_path [*tools, aquatone] | ||
|
||
commands: | ||
install_commands: | ||
- mkdir /tmp/aquatone | ||
- wget -q https://github.com/michenriksen/aquatone/releases/download/v1.7.0/aquatone_linux_amd64_1.7.0.zip -O /tmp/aquatone/aquatone.zip | ||
- bash -c 'if [[ ! $(which unzip) ]]; then sudo apt install -y zip; fi' | ||
- unzip /tmp/aquatone/aquatone.zip -d /tmp/aquatone | ||
- !join [mv /tmp/aquatone/aquatone, *aqua] | ||
- !join [mv /tmp/aquatone/aquatone, *path] | ||
- rm -rf /tmp/aquatone | ||
- bash -c 'found=false; for loc in {/usr/bin/google-chrome,/usr/bin/google-chrome-beta,/usr/bin/google-chrome-unstable,/usr/bin/chromium-browser,/usr/bin/chromium}; do if [[ $(which $loc) ]]; then found=true; break; fi ; done; if [[ $found = false ]]; then sudo apt install -y chromium-browser ; fi' | ||
|
||
uninstall_commands: | ||
- !join [rm, *path] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
installed: false | ||
dependencies: [go, seclists] | ||
go: &gotool !get_tool_path "{go[path]}" | ||
path: !join_path [!get_default "{gopath}", bin/gobuster] | ||
path: &path !join_path [!get_default "{gopath}", bin/gobuster] | ||
environ: {"GOPATH": !get_default "{gopath}"} | ||
home: &home !get_default "{home}" | ||
|
||
commands: | ||
install_commands: | ||
- !join [*gotool, get github.com/OJ/gobuster] | ||
|
||
uninstall_commands: | ||
- !join [rm, *path] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
installed: false | ||
tools: &tools !get_default "{tools-dir}" | ||
path: &masscan !join_path [*tools, masscan] | ||
path: &path !join_path [*tools, masscan] | ||
|
||
commands: | ||
install_commands: | ||
- git clone https://github.com/robertdavidgraham/masscan /tmp/masscan | ||
- make -s -j -C /tmp/masscan | ||
- !join [mv /tmp/masscan/bin/masscan, *masscan] | ||
- !join [mv /tmp/masscan/bin/masscan, *path] | ||
- rm -rf /tmp/masscan | ||
- !join [sudo setcap CAP_NET_RAW+ep, *masscan] | ||
- !join [sudo setcap CAP_NET_RAW+ep, *path] | ||
|
||
uninstall_commands: | ||
- !join [rm, *path] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
installed: false | ||
dependencies: [gobuster] | ||
tools: &tools !get_default "{tools-dir}" | ||
path: !join_path [*tools, recursive-gobuster/recursive-gobuster.pyz] | ||
path: &path !join_path [*tools, recursive-gobuster/recursive-gobuster.pyz] | ||
recursive-parent: &parent !join_path [*tools, recursive-gobuster] | ||
|
||
commands: | ||
install_commands: | ||
- !join ["bash -c 'if [ -d", *parent, "]; then cd", *parent, | ||
"&& git fetch --all && git pull; else git clone https://github.com/epi052/recursive-gobuster.git", | ||
*parent, " ; fi'"] | ||
*parent, "; fi'"] | ||
|
||
uninstall_commands: | ||
- !join [sudo, rm, -r, *parent] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
installed: false | ||
tools: &tools !get_default "{tools-dir}" | ||
path: &secfile !join_path [*tools, seclists] | ||
path: &path !join_path [*tools, seclists] | ||
|
||
commands: | ||
- !join ["bash -c 'if [[ -d /usr/share/seclists ]]; then ln -s /usr/share/seclists", | ||
*secfile, "; elif [[ -d", *secfile, "]] ; then cd", *secfile, "&& git fetch --all && git pull;", | ||
"else git clone https://github.com/danielmiessler/SecLists.git", *secfile, "; fi'"] | ||
install_commands: | ||
- !join ["bash -c 'if [[ -d /usr/share/seclists ]]; then ln -s /usr/share/seclists", | ||
*path, "; elif [[ -d", *path, "]] ; then cd", *path, "&& git fetch --all && git pull;", | ||
"else git clone https://github.com/danielmiessler/SecLists.git", *path, "; fi'"] | ||
|
||
uninstall_commands: | ||
- !join [sudo, rm, -r, *path] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
installed: false | ||
dependencies: [go] | ||
go: &gotool !get_tool_path "{go[path]}" | ||
path: !join_path [!get_default "{gopath}", bin/subjack] | ||
path: &path !join_path [!get_default "{gopath}", bin/subjack] | ||
environ: {"GOPATH": !get_default "{gopath}"} | ||
|
||
fingerprints: !join_path [!get_default "{gopath}", src/github.com/haccer/subjack/fingerprints.json] | ||
|
||
commands: | ||
install_commands: | ||
- !join [*gotool, get github.com/haccer/subjack] | ||
|
||
uninstall_commands: | ||
- !join [rm, *path] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
installed: false | ||
dependencies: [go] | ||
go: &gotool !get_tool_path "{go[path]}" | ||
path: !join_path [!get_default "{gopath}", bin/tko-subs] | ||
path: &path !join_path [!get_default "{gopath}", bin/tko-subs] | ||
environ: {"GOPATH": !get_default "{gopath}"} | ||
providers: !join_path [!get_default "{gopath}", src/github.com/anshumanbh/tko-subs/providers-data.csv] | ||
|
||
commands: | ||
install_commands: | ||
- !join [*gotool, get, github.com/anshumanbh/tko-subs] | ||
|
||
uninstall_commands: | ||
- !join [rm, *path] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
installed: false | ||
dependencies: [go] | ||
go: &gotool !get_tool_path "{go[path]}" | ||
path: !join_path [!get_default "{gopath}", bin/waybackurls] | ||
path: &path !join_path [!get_default "{gopath}", bin/waybackurls] | ||
environ: {"GOPATH": !get_default "{gopath}"} | ||
|
||
commands: | ||
- !join [*gotool, get, github.com/tomnomnom/waybackurls] | ||
install_commands: | ||
- !join [*gotool, get, github.com/tomnomnom/waybackurls] | ||
|
||
uninstall_commands: | ||
- !join [rm, *path] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
installed: false | ||
dependencies: [go] | ||
go: &gotool !get_tool_path "{go[path]}" | ||
path: !join_path [!get_default "{gopath}", bin/webanalyze] | ||
path: &path !join_path [!get_default "{gopath}", bin/webanalyze] | ||
environ: {"GOPATH": !get_default "{gopath}"} | ||
|
||
commands: | ||
install_commands: | ||
- !join [*gotool, get github.com/rverton/webanalyze/...] | ||
|
||
uninstall_commands: | ||
- !join [rm, *path] |
Oops, something went wrong.