Skip to content

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

modules: add missing option descriptions

Brendan Colesa3b98f37da36
diff --git a/modules/sfp_accounts.py b/modules/sfp_accounts.py
index 7b772550..09226782 100644
--- a/modules/sfp_accounts.py
+++ b/modules/sfp_accounts.py
@@ -42,7 +42,8 @@ class sfp_accounts(SpiderFootPlugin):
"ignorenamedict": "Don't bother looking up names that are just stand-alone first names (too many false positives).",
"ignoreworddict": "Don't bother looking up names that appear in the dictionary.",
"musthavename": "The username must be mentioned on the social media page to consider it valid (helps avoid false positives).",
- "userfromemail": "Extract usernames from e-mail addresses at all? If disabled this can reduce false positives for common usernames but for highly unique usernames it would result in missed accounts."
+ "userfromemail": "Extract usernames from e-mail addresses at all? If disabled this can reduce false positives for common usernames but for highly unique usernames it would result in missed accounts.",
+ "_maxthreads": "Maximum threads"
}
results = None
diff --git a/modules/sfp_azureblobstorage.py b/modules/sfp_azureblobstorage.py
index 5d194fd3..54c6c508 100644
--- a/modules/sfp_azureblobstorage.py
+++ b/modules/sfp_azureblobstorage.py
@@ -38,7 +38,8 @@ class sfp_azureblobstorage(SpiderFootPlugin):
# Option descriptions
optdescs = {
- "suffixes": "List of suffixes to append to domains tried as blob storage names"
+ "suffixes": "List of suffixes to append to domains tried as blob storage names",
+ "_maxthreads": "Maximum threads"
}
results = None
diff --git a/modules/sfp_digitaloceanspace.py b/modules/sfp_digitaloceanspace.py
index f8944742..5c8cab2f 100644
--- a/modules/sfp_digitaloceanspace.py
+++ b/modules/sfp_digitaloceanspace.py
@@ -40,7 +40,8 @@ class sfp_digitaloceanspace(SpiderFootPlugin):
# Option descriptions
optdescs = {
"endpoints": "Different Digital Ocean locations to check where spaces may exist.",
- "suffixes": "List of suffixes to append to domains tried as space names"
+ "suffixes": "List of suffixes to append to domains tried as space names",
+ "_maxthreads": "Maximum threads"
}
results = None
diff --git a/modules/sfp_dnsbrute.py b/modules/sfp_dnsbrute.py
index 887aed19..724f9c7b 100644
--- a/modules/sfp_dnsbrute.py
+++ b/modules/sfp_dnsbrute.py
@@ -45,7 +45,8 @@ class sfp_dnsbrute(SpiderFootPlugin):
'commons': "Try a list of about 750 common hostnames/sub-domains.",
'top10000': "Try a further 10,000 common hostnames/sub-domains. Will make the scan much slower.",
'numbersuffix': "For any host found, try appending 1, 01, 001, -1, -01, -001, 2, 02, etc. (up to 10)",
- 'numbersuffixlimit': "Limit using the number suffixes for hosts that have already been resolved? If disabled this will significantly extend the duration of scans."
+ 'numbersuffixlimit': "Limit using the number suffixes for hosts that have already been resolved? If disabled this will significantly extend the duration of scans.",
+ "_maxthreads": "Maximum threads"
}
events = None
diff --git a/modules/sfp_googleobjectstorage.py b/modules/sfp_googleobjectstorage.py
index 923814c8..27b4281e 100644
--- a/modules/sfp_googleobjectstorage.py
+++ b/modules/sfp_googleobjectstorage.py
@@ -38,7 +38,8 @@ class sfp_googleobjectstorage(SpiderFootPlugin):
# Option descriptions
optdescs = {
- "suffixes": "List of suffixes to append to domains tried as bucket names"
+ "suffixes": "List of suffixes to append to domains tried as bucket names",
+ "_maxthreads": "Maximum threads"
}
results = None
diff --git a/modules/sfp_s3bucket.py b/modules/sfp_s3bucket.py
index 0869945d..43dfdd04 100644
--- a/modules/sfp_s3bucket.py
+++ b/modules/sfp_s3bucket.py
@@ -40,7 +40,8 @@ class sfp_s3bucket(SpiderFootPlugin):
# Option descriptions
optdescs = {
"endpoints": "Different S3 endpoints to check where buckets may exist, as per http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region",
- "suffixes": "List of suffixes to append to domains tried as bucket names"
+ "suffixes": "List of suffixes to append to domains tried as bucket names",
+ "_maxthreads": "Maximum threads"
}
results = None
diff --git a/modules/sfp_tldsearch.py b/modules/sfp_tldsearch.py
index 78fd165c..8c31005c 100644
--- a/modules/sfp_tldsearch.py
+++ b/modules/sfp_tldsearch.py
@@ -38,7 +38,8 @@ class sfp_tldsearch(SpiderFootPlugin):
# Option descriptions
optdescs = {
'activeonly': "Only report domains that have content (try to fetch the page)?",
- "skipwildcards": "Skip TLDs and sub-TLDs that have wildcard DNS."
+ "skipwildcards": "Skip TLDs and sub-TLDs that have wildcard DNS.",
+ "_maxthreads": "Maximum threads"
}
# Internal results tracking
diff --git a/test/unit/test_spiderfoot_module_loading.py b/test/unit/test_spiderfoot_module_loading.py
index d3186cad..0df2ad9b 100644
--- a/test/unit/test_spiderfoot_module_loading.py
+++ b/test/unit/test_spiderfoot_module_loading.py
@@ -90,13 +90,8 @@ class TestSpiderFootModuleLoading(unittest.TestCase):
self.assertTrue(m.get('meta'))
self.assertIsInstance(m.get('meta'), dict)
- # skip non-conforming modules
- if module in [
- "sfp__stor_db", "sfp__stor_stdout",
- "sfp_googleobjectstorage", "sfp_digitaloceanspace",
- "sfp_tldsearch", "sfp_azureblobstorage", "sfp_s3bucket",
- "sfp_accounts", "sfp_dnsbrute"
- ]:
+ # skip debugging and output modules
+ if module in ["sfp__stor_db", "sfp__stor_stdout"]:
continue
for cat in m.get('cats'):