mirror of
https://github.com/aljazceru/recon-pipeline.git
synced 2025-12-20 07:44:26 +01:00
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:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user