mirror of
https://github.com/aljazceru/recon-pipeline.git
synced 2025-12-21 08:14:21 +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:
@@ -141,7 +141,7 @@ class DBManager:
|
||||
|
||||
def get_status_codes(self):
|
||||
""" Simple helper that returns all status codes found during scanning """
|
||||
return set(str(x[0]) for x in self.session.query(Endpoint.status_code).all())
|
||||
return set(str(x[0]) for x in self.session.query(Endpoint.status_code).all() if x[0] is not None)
|
||||
|
||||
def get_and_filter(self, model, defaults=None, **kwargs):
|
||||
""" Simple helper to either get an existing record if it exists otherwise create and return a new instance """
|
||||
|
||||
Reference in New Issue
Block a user