mirror of
https://github.com/aljazceru/recon-pipeline.git
synced 2025-12-23 17:24:21 +01:00
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
installed: false
|
||||
dependencies: [go]
|
||||
tools: &tools !get_default "{tools-dir}"
|
||||
go: &gotool !get_tool_path "{go[path]}"
|
||||
path: &amass !join_path [*tools, "amass"]
|
||||
path: !join_path [!get_default "{gopath}", bin/amass]
|
||||
environ: {"GO111MODULE": "on", "GOPATH": !get_default "{gopath}"}
|
||||
|
||||
commands:
|
||||
- !join [*gotool, get github.com/OWASP/Amass/v3/...]
|
||||
- !join [cp ~/go/bin/amass, *amass]
|
||||
|
||||
shell: true
|
||||
environ: {"GO111MODULE": "on"}
|
||||
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
installed: false
|
||||
home: &home !get_default "{home}"
|
||||
path: &gotool /usr/local/go/bin/go
|
||||
bashrc: &bashrc !join_path [*home, "/.bashrc;"]
|
||||
bashrc: &bashrc !join_path [!get_default "{home}", .bashrc]
|
||||
path: &gotool !join_path [!get_default "{goroot}", go/bin/go]
|
||||
|
||||
commands:
|
||||
- wget -q https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz -O /tmp/go.tar.gz
|
||||
- sudo tar -C /usr/local -xvf /tmp/go.tar.gz
|
||||
- !join ["bash -c 'if [ ! $(echo ${PATH} | grep $(dirname", *gotool, ")) ]; then echo PATH=${PATH}:/usr/local/go/bin >>", *bashrc, "fi'"]
|
||||
- !join [tar -C, !get_default "{goroot}", -xvf /tmp/go.tar.gz]
|
||||
- !join ["bash -c 'if [ ! $(grep $(dirname", *gotool, ")", *bashrc, ") ]; then echo PATH=${PATH}:$(dirname", *gotool, ") >>", *bashrc, "; fi'"]
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
installed: false
|
||||
dependencies: [go, seclists]
|
||||
home: &home !get_default "{home}"
|
||||
path: !join_path [*home, go/bin/gobuster]
|
||||
go: &gotool !get_tool_path "{go[path]}"
|
||||
go_home: &gohome !join_path [*home, "/go/src/github.com/OJ/gobuster &&"]
|
||||
path: !join_path [!get_default "{gopath}", bin/gobuster]
|
||||
environ: {"GOPATH": !get_default "{gopath}"}
|
||||
|
||||
commands:
|
||||
- !join [*gotool, get github.com/OJ/gobuster]
|
||||
- !join [(cd, *gohome, *gotool, build &&, *gotool, install)]
|
||||
|
||||
shell: true
|
||||
@@ -1,10 +1,10 @@
|
||||
installed: false
|
||||
dependencies: [go]
|
||||
dependencies: [gobuster]
|
||||
tools: &tools !get_default "{tools-dir}"
|
||||
path: !join_path [*tools, recursive-gobuster/recursive-gobuster.pyz]
|
||||
recursive-parent: &recpar !join_path [*tools, recursive-gobuster]
|
||||
recursive-parent: &parent !join_path [*tools, recursive-gobuster]
|
||||
|
||||
commands:
|
||||
- !join ["bash -c 'if [ -d", *recpar, "]; then cd", *recpar,
|
||||
- !join ["bash -c 'if [ -d", *parent, "]; then cd", *parent,
|
||||
"&& git fetch --all && git pull; else git clone https://github.com/epi052/recursive-gobuster.git",
|
||||
*recpar, ; fi']
|
||||
*parent, " ; fi'"]
|
||||
@@ -10,8 +10,8 @@ sed-command: &sedcom !join_empty ["'s#/opt#", *tools, "#g'"]
|
||||
|
||||
commands:
|
||||
- !join ["bash -c 'if [ -d /usr/share/exploitdb ]; then ln -fs /usr/share/exploitdb",
|
||||
*exploitdb, "&& sudo ln -fs $(which searchsploit)", *searchsploit,
|
||||
*exploitdb, "&& ln -fs $(which searchsploit)", *searchsploit,
|
||||
"; elif [ -d", *exploitdb, "]; then cd", *exploitdb,
|
||||
"&& git fetch --all && git pull; else git clone https://github.com/offensive-security/exploitdb.git", *exploitdb, ; fi']
|
||||
- !join ["bash -c 'if [ -f", *ss_rc, "]; then cp -n", *ss_rc, *home, ; fi']
|
||||
- !join ["bash -c 'if [ -f", *homesploit, "]; then sed -i", *sedcom, *homesploit, ; fi']
|
||||
"&& git fetch --all && git pull; else git clone https://github.com/offensive-security/exploitdb.git", *exploitdb, "; fi'"]
|
||||
- !join ["bash -c 'if [ -f", *ss_rc, "]; then cp -n", *ss_rc, *home, "; fi'"]
|
||||
- !join ["bash -c 'if [ -f", *homesploit, "]; then sed -i", *sedcom, *homesploit, "; fi'"]
|
||||
|
||||
@@ -3,6 +3,6 @@ tools: &tools !get_default "{tools-dir}"
|
||||
path: &secfile !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']
|
||||
- !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'"]
|
||||
@@ -1,13 +1,10 @@
|
||||
installed: false
|
||||
dependencies: [go]
|
||||
go: &gotool !get_tool_path "{go[path]}"
|
||||
home: &home !get_default "{home}"
|
||||
path: !join_path [*home, go/bin/subjack]
|
||||
subjack_home: &subjhome !join_path [*home, "/go/src/github.com/haccer/subjack &&"]
|
||||
fingerprints: !join_path [*home, go/src/github.com/haccer/subjack/fingerprints.json]
|
||||
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:
|
||||
- !join [*gotool, get github.com/haccer/subjack]
|
||||
- !join [(cd, *subjhome, *gotool, install)]
|
||||
|
||||
shell: true
|
||||
@@ -1,13 +1,8 @@
|
||||
installed: false
|
||||
dependencies: [go]
|
||||
go: &gotool !get_tool_path "{go[path]}"
|
||||
home: &home !get_default "{home}"
|
||||
path: !join_path [*home, go/bin/tko-subs]
|
||||
tko_home: &tkohome !join_path [*home, "go/src/github.com/anshumanbh/tko-subs &&"]
|
||||
git_dir: !join_path [*home, go/src/github.com/anshumanbh/tko-subs]
|
||||
path: !join_path [!get_default "{gopath}", bin/tko-subs]
|
||||
environ: {"GOPATH": !get_default "{gopath}"}
|
||||
|
||||
commands:
|
||||
- !join [*gotool, get, github.com/anshumanbh/tko-subs]
|
||||
- !join [(cd, *tkohome, *gotool, "build &&", *gotool, "install)"]
|
||||
|
||||
shell: true
|
||||
@@ -1,7 +1,8 @@
|
||||
installed: false
|
||||
dependencies: [go]
|
||||
go: &gotool !get_tool_path "{go[path]}"
|
||||
path: !join_path [!get_default "{home}", go, bin, waybackurls]
|
||||
path: !join_path [!get_default "{gopath}", bin/waybackurls]
|
||||
environ: {"GOPATH": !get_default "{gopath}"}
|
||||
|
||||
commands:
|
||||
- !join [*gotool, get, github.com/tomnomnom/waybackurls]
|
||||
@@ -1,12 +1,8 @@
|
||||
installed: false
|
||||
dependencies: [go]
|
||||
home: &home !get_default "{home}"
|
||||
go: &gotool !get_tool_path "{go[path]}"
|
||||
path: !join_path [*home, go/bin/webanalyze]
|
||||
webanalyze_home: &webhome !join_path [*home, "/go/src/github.com/rverton/webanalyze &&"]
|
||||
path: !join_path [!get_default "{gopath}", bin/webanalyze]
|
||||
environ: {"GOPATH": !get_default "{gopath}"}
|
||||
|
||||
commands:
|
||||
- !join [*gotool, get github.com/rverton/webanalyze/...]
|
||||
- !join [(cd, *webhome, *gotool, "build &&", *gotool, install)]
|
||||
|
||||
shell: true
|
||||
Reference in New Issue
Block a user