WIP: add waybackurls scan (#56)

* fixed up config.defaults definition

tools-dir and database-dir now use defaults.home value

* added tool definition file; closes #54

* added basic PoC for waybackurls scanner; updated helpers.py test

* added Endpoint/Target parsing; updated existing tests to pass

* added tests for waybackurls

* added WaybackurlsScan to FullScan

* added documenation for WaybackurlsScan
This commit is contained in:
epi052
2020-05-02 18:06:44 -07:00
committed by GitHub
parent 078fdaada7
commit f556319453
13 changed files with 212 additions and 13 deletions

View File

@@ -256,7 +256,7 @@ class ReconShell(cmd2.Cmd):
""" Scan something.
Possible scans include
AmassScan GobusterScan SearchsploitScan
AmassScan GobusterScan SearchsploitScan WaybackurlsScan
ThreadedNmapScan WebanalyzeScan AquatoneScan FullScan
MasscanScan SubjackScan TKOSubsScan HTBScan
"""
@@ -345,7 +345,6 @@ class ReconShell(cmd2.Cmd):
if persistent_tool_dict.exists():
tools = pickle.loads(persistent_tool_dict.read_bytes())
print(args.tool)
if tools.get(args.tool).get("dependencies"):
# get all of the requested tools dependencies
@@ -605,7 +604,7 @@ class ReconShell(cmd2.Cmd):
for endpoint in endpoints:
color = color_map.get(str(endpoint.status_code)[0])
if args.plain:
if args.plain or endpoint.status_code is None:
results.append(endpoint.url)
else:
results.append(f"[{style(endpoint.status_code, fg=color)}] {endpoint.url}")