Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Add 'ABORTING' to setStatus valid statuses

Brendan Colesc913b037490a
diff --git a/sfscan.py b/sfscan.py
index a4abc9ad..9e73ac8c 100644
--- a/sfscan.py
+++ b/sfscan.py
@@ -167,7 +167,7 @@ class SpiderFootScanner():
None
"""
- if status not in ["INITIALIZING", "STARTING", "STARTED", "RUNNING", "ABORT-REQUESTED", "ABORTED", "FINISHED", "ERROR-FAILED"]:
+ if status not in ["INITIALIZING", "STARTING", "STARTED", "RUNNING", "ABORT-REQUESTED", "ABORTED", "ABORTING", "FINISHED", "ERROR-FAILED"]:
raise ValueError("Invalid scan status '%s'" % status)
self.status = status