SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Tests: Specify default options in conftest.py (#1179)
bcoles2d689622821a
diff --git a/test/conftest.py b/test/conftest.pynew file mode 100644index 00000000..361903d4--- /dev/null+++ b/test/conftest.py@@ -0,0 +1,45 @@+import pytest++[email protected](autouse=True)+def default_options(request):+ request.cls.default_options = {+ '_debug': False,+ '__logging': True, # Logging in general+ '__outputfilter': None, # Event types to filter from modules' output+ '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests+ '_dnsserver': '', # Override the default resolver+ '_fetchtimeout': 5, # number of seconds before giving up on a fetch+ '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',+ '_internettlds_cache': 72,+ '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",+ '__version__': '3.3',+ '__database': 'spiderfoot.test.db', # note: test database file+ '__modules__': None, # List of modules. Will be set after start-up.+ '_socks1type': '',+ '_socks2addr': '',+ '_socks3port': '',+ '_socks4user': '',+ '_socks5pwd': '',+ '_torctlport': 9051,+ '__logstdout': False+ }++ request.cls.web_default_options = {+ 'root': '/'+ }++ request.cls.cli_default_options = {+ "cli.debug": False,+ "cli.silent": False,+ "cli.color": True,+ "cli.output": "pretty",+ "cli.history": True,+ "cli.history_file": "",+ "cli.spool": False,+ "cli.spool_file": "",+ "cli.ssl_verify": True,+ "cli.username": "",+ "cli.password": "",+ "cli.server_baseurl": "http://127.0.0.1:5001"+ }diff --git a/test/unit/modules/test_sfp__stor_db.py b/test/unit/modules/test_sfp__stor_db.pyindex 335fd349..f7d7e2ea 100644--- a/test/unit/modules/test_sfp__stor_db.py+++ b/test/unit/modules/test_sfp__stor_db.py@@ -1,4 +1,5 @@# test_sfp__stor_db.py+import pytestimport unittestfrom modules.sfp__stor_db import sfp__stor_db@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModule_stor_db(unittest.TestCase):"""Test modules.sfp__stor_db"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-@unittest.skip("todo")def test_opts(self):module = sfp__stor_db()diff --git a/test/unit/modules/test_sfp__stor_stdout.py b/test/unit/modules/test_sfp__stor_stdout.pyindex cd839817..294d5f12 100644--- a/test/unit/modules/test_sfp__stor_stdout.py+++ b/test/unit/modules/test_sfp__stor_stdout.py@@ -1,4 +1,5 @@# test_sfp__stor_stdout.py+import pytestimport unittestfrom modules.sfp__stor_stdout import sfp__stor_stdout@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModule_stor_stdout(unittest.TestCase):"""Test modules.sfp__stor_stdout"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-@unittest.skip("todo")def test_opts(self):module = sfp__stor_stdout()diff --git a/test/unit/modules/test_sfp_abusech.py b/test/unit/modules/test_sfp_abusech.pyindex f6e8e3e6..6928efdb 100644--- a/test/unit/modules/test_sfp_abusech.py+++ b/test/unit/modules/test_sfp_abusech.py@@ -1,4 +1,5 @@# test_sfp_abusech.py+import pytestimport unittestfrom modules.sfp_abusech import sfp_abusech@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleabusech(unittest.TestCase):"""Test modules.sfp_abusech"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_abusech()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_abuseipdb.py b/test/unit/modules/test_sfp_abuseipdb.pyindex 920de01b..d38e18d0 100644--- a/test/unit/modules/test_sfp_abuseipdb.py+++ b/test/unit/modules/test_sfp_abuseipdb.py@@ -1,4 +1,5 @@# test_sfp_abuseipdb.py+import pytestimport unittestfrom modules.sfp_abuseipdb import sfp_abuseipdb@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleabuseipdb(unittest.TestCase):"""Test modules.sfp_abuseipdb"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_abuseipdb()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_accounts.py b/test/unit/modules/test_sfp_accounts.pyindex 39b94683..0d812def 100644--- a/test/unit/modules/test_sfp_accounts.py+++ b/test/unit/modules/test_sfp_accounts.py@@ -1,4 +1,5 @@# test_sfp_accounts.py+import pytestimport unittestfrom modules.sfp_accounts import sfp_accounts@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleaccounts(unittest.TestCase):"""Test modules.sfp_accounts"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_accounts()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_adblock.py b/test/unit/modules/test_sfp_adblock.pyindex b7bde36f..1cd3e173 100644--- a/test/unit/modules/test_sfp_adblock.py+++ b/test/unit/modules/test_sfp_adblock.py@@ -1,4 +1,5 @@# test_sfp_adblock.py+import pytestimport unittestfrom modules.sfp_adblock import sfp_adblock@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleadblock(unittest.TestCase):"""Test modules.sfp_adblock"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_adblock()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_ahmia.py b/test/unit/modules/test_sfp_ahmia.pyindex d9835b70..4e5626f5 100644--- a/test/unit/modules/test_sfp_ahmia.py+++ b/test/unit/modules/test_sfp_ahmia.py@@ -1,4 +1,5 @@# test_sfp_ahmia.py+import pytestimport unittestfrom modules.sfp_ahmia import sfp_ahmia@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleahmia(unittest.TestCase):"""Test modules.sfp_ahmia"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_ahmia()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_alienvault.py b/test/unit/modules/test_sfp_alienvault.pyindex 8d587f7b..3f6cc678 100644--- a/test/unit/modules/test_sfp_alienvault.py+++ b/test/unit/modules/test_sfp_alienvault.py@@ -1,4 +1,5 @@# test_sfp_alienvault.py+import pytestimport unittestfrom modules.sfp_alienvault import sfp_alienvault@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulealienvault(unittest.TestCase):"""Test modules.sfp_alienvault"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_alienvault()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_alienvaultiprep.py b/test/unit/modules/test_sfp_alienvaultiprep.pyindex c7861e38..5a640102 100644--- a/test/unit/modules/test_sfp_alienvaultiprep.py+++ b/test/unit/modules/test_sfp_alienvaultiprep.py@@ -1,4 +1,5 @@# test_sfp_alienvaultiprep.py+import pytestimport unittestfrom modules.sfp_alienvaultiprep import sfp_alienvaultiprep@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulealienvaultiprep(unittest.TestCase):"""Test modules.sfp_alienvaultiprep"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_alienvaultiprep()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_apility.py b/test/unit/modules/test_sfp_apility.pyindex eca015a3..341bb4dc 100644--- a/test/unit/modules/test_sfp_apility.py+++ b/test/unit/modules/test_sfp_apility.py@@ -1,4 +1,5 @@# test_sfp_apility.py+import pytestimport unittestfrom modules.sfp_apility import sfp_apility@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleapility(unittest.TestCase):"""Test modules.sfp_apility"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_apility()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_apple_itunes.py b/test/unit/modules/test_sfp_apple_itunes.pyindex bcbab768..f0f39d02 100644--- a/test/unit/modules/test_sfp_apple_itunes.py+++ b/test/unit/modules/test_sfp_apple_itunes.py@@ -1,4 +1,5 @@# test_sfp_apple_itunes.py+import pytestimport unittestfrom modules.sfp_apple_itunes import sfp_apple_itunes@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleAppleItunes(unittest.TestCase):"""Test modules.sfp_apple_itunes"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_apple_itunes()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_archiveorg.py b/test/unit/modules/test_sfp_archiveorg.pyindex ce19ce13..c6c9bec7 100644--- a/test/unit/modules/test_sfp_archiveorg.py+++ b/test/unit/modules/test_sfp_archiveorg.py@@ -1,4 +1,5 @@# test_sfp_archiveorg.py+import pytestimport unittestfrom modules.sfp_archiveorg import sfp_archiveorg@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulearchiveorg(unittest.TestCase):"""Test modules.sfp_archiveorg"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_archiveorg()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_arin.py b/test/unit/modules/test_sfp_arin.pyindex f4ca1a97..263c5b89 100644--- a/test/unit/modules/test_sfp_arin.py+++ b/test/unit/modules/test_sfp_arin.py@@ -1,4 +1,5 @@# test_sfp_arin.py+import pytestimport unittestfrom modules.sfp_arin import sfp_arin@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulearin(unittest.TestCase):"""Test modules.sfp_arin"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_arin()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_azureblobstorage.py b/test/unit/modules/test_sfp_azureblobstorage.pyindex a4a05643..467dabd2 100644--- a/test/unit/modules/test_sfp_azureblobstorage.py+++ b/test/unit/modules/test_sfp_azureblobstorage.py@@ -1,4 +1,5 @@# test_sfp_azureblobstorage.py+import pytestimport unittestfrom modules.sfp_azureblobstorage import sfp_azureblobstorage@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleazureblobstorage(unittest.TestCase):"""Test modules.sfp_azureblobstorage"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_azureblobstorage()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_badipscom.py b/test/unit/modules/test_sfp_badipscom.pyindex 531ccf4b..ad71ec46 100644--- a/test/unit/modules/test_sfp_badipscom.py+++ b/test/unit/modules/test_sfp_badipscom.py@@ -1,4 +1,5 @@# test_sfp_badipscom.py+import pytestimport unittestfrom modules.sfp_badipscom import sfp_badipscom@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulebadipscom(unittest.TestCase):"""Test modules.sfp_badipscom"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_badipscom()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_badpackets.py b/test/unit/modules/test_sfp_badpackets.pyindex 7f520527..c8713f9d 100644--- a/test/unit/modules/test_sfp_badpackets.py+++ b/test/unit/modules/test_sfp_badpackets.py@@ -1,4 +1,5 @@# test_sfp_badpackets.py+import pytestimport unittestfrom modules.sfp_badpackets import sfp_badpackets@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulebadpackets(unittest.TestCase):"""Test modules.sfp_badpackets"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_badpackets()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_bambenek.py b/test/unit/modules/test_sfp_bambenek.pyindex 19a6ec60..4dd443eb 100644--- a/test/unit/modules/test_sfp_bambenek.py+++ b/test/unit/modules/test_sfp_bambenek.py@@ -1,4 +1,5 @@# test_sfp_bambenek.py+import pytestimport unittestfrom modules.sfp_bambenek import sfp_bambenek@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulebambenek(unittest.TestCase):"""Test modules.sfp_bambenek"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_bambenek()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_base64.py b/test/unit/modules/test_sfp_base64.pyindex 9123c6d5..2e80cccf 100644--- a/test/unit/modules/test_sfp_base64.py+++ b/test/unit/modules/test_sfp_base64.py@@ -1,4 +1,5 @@# test_sfp_base64.py+import pytestimport unittestfrom modules.sfp_base64 import sfp_base64@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleBase64(unittest.TestCase):"""Test modules.sfp_base64"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_base64()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_bgpview.py b/test/unit/modules/test_sfp_bgpview.pyindex 0dfc0ef6..620699c3 100644--- a/test/unit/modules/test_sfp_bgpview.py+++ b/test/unit/modules/test_sfp_bgpview.py@@ -1,4 +1,5 @@# test_sfp_bgpview.py+import pytestimport unittestfrom modules.sfp_bgpview import sfp_bgpview@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulebgpview(unittest.TestCase):"""Test modules.sfp_bgpview"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_bgpview()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_binaryedge.py b/test/unit/modules/test_sfp_binaryedge.pyindex 2e0e8dfc..8bdf5634 100644--- a/test/unit/modules/test_sfp_binaryedge.py+++ b/test/unit/modules/test_sfp_binaryedge.py@@ -1,4 +1,5 @@# test_sfp_binaryedge.py+import pytestimport unittestfrom modules.sfp_binaryedge import sfp_binaryedge@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulebinaryedge(unittest.TestCase):"""Test modules.sfp_binaryedge"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_binaryedge()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_bingsearch.py b/test/unit/modules/test_sfp_bingsearch.pyindex 0719d1de..927b96ea 100644--- a/test/unit/modules/test_sfp_bingsearch.py+++ b/test/unit/modules/test_sfp_bingsearch.py@@ -1,4 +1,5 @@# test_sfp_bingsearch.py+import pytestimport unittestfrom modules.sfp_bingsearch import sfp_bingsearch@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulebingsearch(unittest.TestCase):"""Test modules.sfp_bingsearch"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_bingsearch()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_bingsharedip.py b/test/unit/modules/test_sfp_bingsharedip.pyindex cb9c7777..30aec906 100644--- a/test/unit/modules/test_sfp_bingsharedip.py+++ b/test/unit/modules/test_sfp_bingsharedip.py@@ -1,4 +1,5 @@# test_sfp_bingsharedip.py+import pytestimport unittestfrom modules.sfp_bingsharedip import sfp_bingsharedip@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulebingsharedip(unittest.TestCase):"""Test modules.sfp_bingsharedip"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_bingsharedip()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_binstring.py b/test/unit/modules/test_sfp_binstring.pyindex b66b16f4..b7a99403 100644--- a/test/unit/modules/test_sfp_binstring.py+++ b/test/unit/modules/test_sfp_binstring.py@@ -1,4 +1,5 @@# test_sfp_binstring.py+import pytestimport unittestfrom modules.sfp_binstring import sfp_binstring@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleBinstring(unittest.TestCase):"""Test modules.sfp_binstring"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_binstring()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_bitcoin.py b/test/unit/modules/test_sfp_bitcoin.pyindex 9c39c466..54fd654c 100644--- a/test/unit/modules/test_sfp_bitcoin.py+++ b/test/unit/modules/test_sfp_bitcoin.py@@ -1,4 +1,5 @@# test_sfp_bitcoin.py+import pytestimport unittestfrom modules.sfp_bitcoin import sfp_bitcoin@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleBitcoin(unittest.TestCase):"""Test modules.sfp_bitcoin"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_bitcoin()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_bitcoinabuse.py b/test/unit/modules/test_sfp_bitcoinabuse.pyindex 76f6b8ba..7e960df3 100644--- a/test/unit/modules/test_sfp_bitcoinabuse.py+++ b/test/unit/modules/test_sfp_bitcoinabuse.py@@ -1,4 +1,5 @@# test_sfp_bitcoinabuse.py+import pytestimport unittestfrom modules.sfp_bitcoinabuse import sfp_bitcoinabuse@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleBitcoinAbuse(unittest.TestCase):"""Test modules.sfp_bitcoinabuse"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_bitcoinabuse()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_bitcoinwhoswho.py b/test/unit/modules/test_sfp_bitcoinwhoswho.pyindex bbec91b1..77667ade 100644--- a/test/unit/modules/test_sfp_bitcoinwhoswho.py+++ b/test/unit/modules/test_sfp_bitcoinwhoswho.py@@ -1,4 +1,5 @@# test_sfp_bitcoinwhoswho.py+import pytestimport unittestfrom modules.sfp_bitcoinwhoswho import sfp_bitcoinwhoswho@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuletemplate(unittest.TestCase):"""Test modules.sfp_bitcoinwhoswho"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_bitcoinwhoswho()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_blockchain.py b/test/unit/modules/test_sfp_blockchain.pyindex 780b5d80..f78e41f4 100644--- a/test/unit/modules/test_sfp_blockchain.py+++ b/test/unit/modules/test_sfp_blockchain.py@@ -1,4 +1,5 @@# test_sfp_blockchain.py+import pytestimport unittestfrom modules.sfp_blockchain import sfp_blockchain@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleblockchain(unittest.TestCase):"""Test modules.sfp_blockchain"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_blockchain()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_blocklistde.py b/test/unit/modules/test_sfp_blocklistde.pyindex fe27c2fd..096cd98d 100644--- a/test/unit/modules/test_sfp_blocklistde.py+++ b/test/unit/modules/test_sfp_blocklistde.py@@ -1,4 +1,5 @@# test_sfp_blocklistde.py+import pytestimport unittestfrom modules.sfp_blocklistde import sfp_blocklistde@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleblocklistde(unittest.TestCase):"""Test modules.sfp_blocklistde"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_blocklistde()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_botscout.py b/test/unit/modules/test_sfp_botscout.pyindex 21762f8c..96bc7c33 100644--- a/test/unit/modules/test_sfp_botscout.py+++ b/test/unit/modules/test_sfp_botscout.py@@ -1,4 +1,5 @@# test_sfp_botscout.py+import pytestimport unittestfrom modules.sfp_botscout import sfp_botscout@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulebotscout(unittest.TestCase):"""Test modules.sfp_botscout"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_botscout()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_botvrij.py b/test/unit/modules/test_sfp_botvrij.pyindex a50ea059..663bbb86 100644--- a/test/unit/modules/test_sfp_botvrij.py+++ b/test/unit/modules/test_sfp_botvrij.py@@ -1,4 +1,5 @@# test_sfp_botvrij.py+import pytestimport unittestfrom modules.sfp_botvrij import sfp_botvrij@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulebotvrij(unittest.TestCase):"""Test modules.sfp_botvrij"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_botvrij()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_builtwith.py b/test/unit/modules/test_sfp_builtwith.pyindex 09f87a1e..f7acb880 100644--- a/test/unit/modules/test_sfp_builtwith.py+++ b/test/unit/modules/test_sfp_builtwith.py@@ -1,4 +1,5 @@# test_sfp_builtwith.py+import pytestimport unittestfrom modules.sfp_builtwith import sfp_builtwith@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulebuiltwith(unittest.TestCase):"""Test modules.sfp_builtwith"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_builtwith()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_c99.py b/test/unit/modules/test_sfp_c99.pyindex 9d3bca93..f422b10e 100644--- a/test/unit/modules/test_sfp_c99.py+++ b/test/unit/modules/test_sfp_c99.py@@ -1,4 +1,5 @@# test_sfp_c99.py+import pytestimport unittestfrom modules.sfp_c99 import sfp_c99@@ -6,29 +7,11 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleC99(unittest.TestCase):-- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }+ """+ Test modules.sfp_c99+ """def test_opts(self):module = sfp_c99()diff --git a/test/unit/modules/test_sfp_callername.py b/test/unit/modules/test_sfp_callername.pyindex 97b70a65..9bea2d6d 100644--- a/test/unit/modules/test_sfp_callername.py+++ b/test/unit/modules/test_sfp_callername.py@@ -1,4 +1,5 @@# test_sfp_callername.py+import pytestimport unittestfrom modules.sfp_callername import sfp_callername@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulecallername(unittest.TestCase):"""Test modules.sfp_callername"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_callername()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_censys.py b/test/unit/modules/test_sfp_censys.pyindex db1d908c..4f9e684d 100644--- a/test/unit/modules/test_sfp_censys.py+++ b/test/unit/modules/test_sfp_censys.py@@ -1,4 +1,5 @@# test_sfp_censys.py+import pytestimport unittestfrom modules.sfp_censys import sfp_censys@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulecensys(unittest.TestCase):"""Test modules.sfp_censys"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_censys()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_cinsscore.py b/test/unit/modules/test_sfp_cinsscore.pyindex f654d033..3f1bec19 100644--- a/test/unit/modules/test_sfp_cinsscore.py+++ b/test/unit/modules/test_sfp_cinsscore.py@@ -1,4 +1,5 @@# test_sfp_cinsscore.py+import pytestimport unittestfrom modules.sfp_cinsscore import sfp_cinsscore@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulecinsscore(unittest.TestCase):"""Test modules.sfp_cinsscore"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_cinsscore()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_circllu.py b/test/unit/modules/test_sfp_circllu.pyindex 55682ff3..018d9b1e 100644--- a/test/unit/modules/test_sfp_circllu.py+++ b/test/unit/modules/test_sfp_circllu.py@@ -1,4 +1,5 @@# test_sfp_circllu.py+import pytestimport unittestfrom modules.sfp_circllu import sfp_circllu@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulecircllu(unittest.TestCase):"""Test modules.sfp_circllu"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_circllu()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_citadel.py b/test/unit/modules/test_sfp_citadel.pyindex d525f4cc..29fcc9b1 100644--- a/test/unit/modules/test_sfp_citadel.py+++ b/test/unit/modules/test_sfp_citadel.py@@ -1,4 +1,5 @@# test_sfp_citadel.py+import pytestimport unittestfrom modules.sfp_citadel import sfp_citadel@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulecitadel(unittest.TestCase):"""Test modules.sfp_citadel"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_citadel()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_cleanbrowsing.py b/test/unit/modules/test_sfp_cleanbrowsing.pyindex 7347ba28..057b8692 100644--- a/test/unit/modules/test_sfp_cleanbrowsing.py+++ b/test/unit/modules/test_sfp_cleanbrowsing.py@@ -1,4 +1,5 @@# test_sfp_cleanbrowsing.py+import pytestimport unittestfrom modules.sfp_cleanbrowsing import sfp_cleanbrowsing@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulecleanbrowsing(unittest.TestCase):"""Test modules.sfp_cleanbrowsing"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_cleanbrowsing()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_cleantalk.py b/test/unit/modules/test_sfp_cleantalk.pyindex 5e5d3bd4..97dc47a5 100644--- a/test/unit/modules/test_sfp_cleantalk.py+++ b/test/unit/modules/test_sfp_cleantalk.py@@ -1,4 +1,5 @@# test_sfp_cleantalk.py+import pytestimport unittestfrom modules.sfp_cleantalk import sfp_cleantalk@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulecleantalk(unittest.TestCase):"""Test modules.sfp_cleantalk"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_cleantalk()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_clearbit.py b/test/unit/modules/test_sfp_clearbit.pyindex 816c9987..69187788 100644--- a/test/unit/modules/test_sfp_clearbit.py+++ b/test/unit/modules/test_sfp_clearbit.py@@ -1,4 +1,5 @@# test_sfp_clearbit.py+import pytestimport unittestfrom modules.sfp_clearbit import sfp_clearbit@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleclearbit(unittest.TestCase):"""Test modules.sfp_clearbit"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_clearbit()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_cloudflaredns.py b/test/unit/modules/test_sfp_cloudflaredns.pyindex 6bb9be27..faf3e45e 100644--- a/test/unit/modules/test_sfp_cloudflaredns.py+++ b/test/unit/modules/test_sfp_cloudflaredns.py@@ -1,4 +1,5 @@# test_sfp_cloudflaredns.py+import pytestimport unittestfrom modules.sfp_cloudflaredns import sfp_cloudflaredns@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulecloudflaredns(unittest.TestCase):"""Test modules.sfp_cloudflaredns"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_cloudflaredns()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_coinblocker.py b/test/unit/modules/test_sfp_coinblocker.pyindex 0604d54a..dc527d2d 100644--- a/test/unit/modules/test_sfp_coinblocker.py+++ b/test/unit/modules/test_sfp_coinblocker.py@@ -1,4 +1,5 @@# test_sfp_coinblocker.py+import pytestimport unittestfrom modules.sfp_coinblocker import sfp_coinblocker@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulecoinblocker(unittest.TestCase):"""Test modules.sfp_coinblocker"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_coinblocker()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_commoncrawl.py b/test/unit/modules/test_sfp_commoncrawl.pyindex b8c83a82..a93bede5 100644--- a/test/unit/modules/test_sfp_commoncrawl.py+++ b/test/unit/modules/test_sfp_commoncrawl.py@@ -1,4 +1,5 @@# test_sfp_commoncrawl.py+import pytestimport unittestfrom modules.sfp_commoncrawl import sfp_commoncrawl@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulecommoncrawl(unittest.TestCase):"""Test modules.sfp_commoncrawl"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_commoncrawl()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_comodo.py b/test/unit/modules/test_sfp_comodo.pyindex 7a270d99..83519db9 100644--- a/test/unit/modules/test_sfp_comodo.py+++ b/test/unit/modules/test_sfp_comodo.py@@ -1,4 +1,5 @@# test_sfp_comodo.py+import pytestimport unittestfrom modules.sfp_comodo import sfp_comodo@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulecomodo(unittest.TestCase):"""Test modules.sfp_comodo"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_comodo()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_company.py b/test/unit/modules/test_sfp_company.pyindex da058f8f..ec305ee7 100644--- a/test/unit/modules/test_sfp_company.py+++ b/test/unit/modules/test_sfp_company.py@@ -1,4 +1,5 @@# test_sfp_company.py+import pytestimport unittestfrom modules.sfp_company import sfp_company@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleCompany(unittest.TestCase):"""Test modules.sfp_company"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_company()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_cookie.py b/test/unit/modules/test_sfp_cookie.pyindex 82a019c2..88d597cc 100644--- a/test/unit/modules/test_sfp_cookie.py+++ b/test/unit/modules/test_sfp_cookie.py@@ -1,4 +1,5 @@# test_sfp_cookie.py+import pytestimport unittestfrom modules.sfp_cookie import sfp_cookie@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleCookie(unittest.TestCase):"""Test modules.sfp_cookie"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_cookie()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_countryname.py b/test/unit/modules/test_sfp_countryname.pyindex ac2b02d0..22658fc6 100644--- a/test/unit/modules/test_sfp_countryname.py+++ b/test/unit/modules/test_sfp_countryname.py@@ -1,4 +1,5 @@# test_sfp_countryname.py+import pytestimport unittestfrom modules.sfp_countryname import sfp_countryname@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleCountryName(unittest.TestCase):"""Test modules.sfp_countryname"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_countryname()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_creditcard.py b/test/unit/modules/test_sfp_creditcard.pyindex 46bfb877..74ef4c9f 100644--- a/test/unit/modules/test_sfp_creditcard.py+++ b/test/unit/modules/test_sfp_creditcard.py@@ -1,4 +1,5 @@# test_sfp_creditcard.py+import pytestimport unittestfrom modules.sfp_creditcard import sfp_creditcard@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleCreditCard(unittest.TestCase):"""Test modules.sfp_creditcard"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_creditcard()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_crobat_api.py b/test/unit/modules/test_sfp_crobat_api.pyindex 2be83a85..c4d81a48 100644--- a/test/unit/modules/test_sfp_crobat_api.py+++ b/test/unit/modules/test_sfp_crobat_api.py@@ -1,4 +1,5 @@# test_sfp_crobat_api.py+import pytestimport unittestfrom modules.sfp_crobat_api import sfp_crobat_api@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleCrobat_api(unittest.TestCase):"""Test modules.sfp_crobat_api"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_crobat_api()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_crossref.py b/test/unit/modules/test_sfp_crossref.pyindex fa0a37fc..b9de19bd 100644--- a/test/unit/modules/test_sfp_crossref.py+++ b/test/unit/modules/test_sfp_crossref.py@@ -1,4 +1,5 @@# test_sfp_crossref.py+import pytestimport unittestfrom modules.sfp_crossref import sfp_crossref@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulecrossref(unittest.TestCase):"""Test modules.sfp_crossref"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_crossref()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_crt.py b/test/unit/modules/test_sfp_crt.pyindex 5bfd6f5b..3cbee45e 100644--- a/test/unit/modules/test_sfp_crt.py+++ b/test/unit/modules/test_sfp_crt.py@@ -1,4 +1,5 @@# test_sfp_crt.py+import pytestimport unittestfrom modules.sfp_crt import sfp_crt@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulecrt(unittest.TestCase):"""Test modules.sfp_crt"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_crt()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_crxcavator.py b/test/unit/modules/test_sfp_crxcavator.pyindex 1e6cf8dd..58197fd6 100644--- a/test/unit/modules/test_sfp_crxcavator.py+++ b/test/unit/modules/test_sfp_crxcavator.py@@ -1,4 +1,5 @@# test_sfp_crxcavator.py+import pytestimport unittestfrom modules.sfp_crxcavator import sfp_crxcavator@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleCrxcavator(unittest.TestCase):"""Test modules.sfp_crxcavator"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_crxcavator()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_customfeed.py b/test/unit/modules/test_sfp_customfeed.pyindex ffeb3316..470181bd 100644--- a/test/unit/modules/test_sfp_customfeed.py+++ b/test/unit/modules/test_sfp_customfeed.py@@ -1,4 +1,5 @@# test_sfp_customfeed.py+import pytestimport unittestfrom modules.sfp_customfeed import sfp_customfeed@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulecustomfeed(unittest.TestCase):"""Test modules.sfp_customfeed"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_customfeed()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_cybercrimetracker.py b/test/unit/modules/test_sfp_cybercrimetracker.pyindex a02aa431..af6da4a0 100644--- a/test/unit/modules/test_sfp_cybercrimetracker.py+++ b/test/unit/modules/test_sfp_cybercrimetracker.py@@ -1,4 +1,5 @@# test_sfp_cybercrimetracker.py+import pytestimport unittestfrom modules.sfp_cybercrimetracker import sfp_cybercrimetracker@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulecybercrimetracker(unittest.TestCase):"""Test modules.sfp_cybercrimetracker"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_cybercrimetracker()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_darksearch.py b/test/unit/modules/test_sfp_darksearch.pyindex 59218ade..cf62d080 100644--- a/test/unit/modules/test_sfp_darksearch.py+++ b/test/unit/modules/test_sfp_darksearch.py@@ -1,4 +1,5 @@# test_sfp_darksearch.py+import pytestimport unittestfrom modules.sfp_darksearch import sfp_darksearch@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuledarksearch(unittest.TestCase):"""Test modules.sfp_darksearch"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_darksearch()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_debounce.py b/test/unit/modules/test_sfp_debounce.pyindex 2be95afc..05f420f4 100644--- a/test/unit/modules/test_sfp_debounce.py+++ b/test/unit/modules/test_sfp_debounce.py@@ -1,4 +1,5 @@# test_sfp_debounce.py+import pytestimport unittestfrom modules.sfp_debounce import sfp_debounce@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuledebounce(unittest.TestCase):"""Test modules.sfp_debounce"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_debounce()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_dehashed.py b/test/unit/modules/test_sfp_dehashed.pyindex b016d766..ee956eef 100644--- a/test/unit/modules/test_sfp_dehashed.py+++ b/test/unit/modules/test_sfp_dehashed.py@@ -1,4 +1,5 @@# test_sfp_dehashed.py+import pytestimport unittestfrom modules.sfp_dehashed import sfp_dehashed@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuledebounce(unittest.TestCase):"""Test modules.sfp_dehashed"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3-DEV',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_dehashed()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_digitaloceanspace.py b/test/unit/modules/test_sfp_digitaloceanspace.pyindex 9839c77b..3585c531 100644--- a/test/unit/modules/test_sfp_digitaloceanspace.py+++ b/test/unit/modules/test_sfp_digitaloceanspace.py@@ -1,4 +1,5 @@# test_sfp_digitaloceanspace.py+import pytestimport unittestfrom modules.sfp_digitaloceanspace import sfp_digitaloceanspace@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuledigitaloceanspace(unittest.TestCase):"""Test modules.sfp_digitaloceanspace"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_digitaloceanspace()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_dnsbrute.py b/test/unit/modules/test_sfp_dnsbrute.pyindex 0994aa52..1c26a2fe 100644--- a/test/unit/modules/test_sfp_dnsbrute.py+++ b/test/unit/modules/test_sfp_dnsbrute.py@@ -1,4 +1,5 @@# test_sfp_dnsbrute.py+import pytestimport unittestfrom modules.sfp_dnsbrute import sfp_dnsbrute@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulednsbrute(unittest.TestCase):"""Test modules.sfp_dnsbrute"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_dnsbrute()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_dnscommonsrv.py b/test/unit/modules/test_sfp_dnscommonsrv.pyindex da8130f2..5c872864 100644--- a/test/unit/modules/test_sfp_dnscommonsrv.py+++ b/test/unit/modules/test_sfp_dnscommonsrv.py@@ -1,4 +1,5 @@# test_sfp_dnscommonsrv.py+import pytestimport unittestfrom modules.sfp_dnscommonsrv import sfp_dnscommonsrv@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulednscommonsrv(unittest.TestCase):"""Test modules.sfp_dnscommonsrv"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_dnscommonsrv()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_dnsdb.py b/test/unit/modules/test_sfp_dnsdb.pyindex a3779d88..14e68fac 100644--- a/test/unit/modules/test_sfp_dnsdb.py+++ b/test/unit/modules/test_sfp_dnsdb.py@@ -1,4 +1,5 @@# test_sfp_dnsdb.py+import pytestimport unittestfrom modules.sfp_dnsdb import sfp_dnsdb@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulednsdb(unittest.TestCase):"""Test modules.sfp_dnsdb"""- default_options = {- "_debug": False, # Debug- "__logging": True, # Logging in general- "__outputfilter": None, # Event types to filter from modules' output- "_useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0", # User-Agent to use for HTTP requests- "_dnsserver": "", # Override the default resolver- "_fetchtimeout": 5, # number of seconds before giving up on a fetch- "_internettlds": "https://publicsuffix.org/list/effective_tld_names.dat",- "_internettlds_cache": 72,- "_genericusers": "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- "__version__": "3.3",- "__database": "spiderfoot.test.db", # note: test database file- "__modules__": None, # List of modules. Will be set after start-up.- "_socks1type": "",- "_socks2addr": "",- "_socks3port": "",- "_socks4user": "",- "_socks5pwd": "",- "_torctlport": 9051,- "__logstdout": False,- }-def test_opts(self):module = sfp_dnsdb()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_dnsgrep.py b/test/unit/modules/test_sfp_dnsgrep.pyindex f4162fd9..e4836473 100644--- a/test/unit/modules/test_sfp_dnsgrep.py+++ b/test/unit/modules/test_sfp_dnsgrep.py@@ -1,4 +1,5 @@# test_sfp_dnsgrep.py+import pytestimport unittestfrom modules.sfp_dnsgrep import sfp_dnsgrep@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulednsgrep(unittest.TestCase):"""Test modules.sfp_dnsgrep"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_dnsgrep()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_dnsneighbor.py b/test/unit/modules/test_sfp_dnsneighbor.pyindex 2d16479b..1c517ae7 100644--- a/test/unit/modules/test_sfp_dnsneighbor.py+++ b/test/unit/modules/test_sfp_dnsneighbor.py@@ -1,4 +1,5 @@# test_sfp_dnsneighbor.py+import pytestimport unittestfrom modules.sfp_dnsneighbor import sfp_dnsneighbor@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulednsneighbor(unittest.TestCase):"""Test modules.sfp_dnsneighbor"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_dnsneighbor()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_dnsraw.py b/test/unit/modules/test_sfp_dnsraw.pyindex 493022e2..51bd68a7 100644--- a/test/unit/modules/test_sfp_dnsraw.py+++ b/test/unit/modules/test_sfp_dnsraw.py@@ -1,4 +1,5 @@# test_sfp_dnsraw.py+import pytestimport unittestfrom modules.sfp_dnsraw import sfp_dnsraw@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulednsraw(unittest.TestCase):"""Test modules.sfp_dnsraw"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_dnsraw()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_dnsresolve.py b/test/unit/modules/test_sfp_dnsresolve.pyindex 5f778a80..b9c3c218 100644--- a/test/unit/modules/test_sfp_dnsresolve.py+++ b/test/unit/modules/test_sfp_dnsresolve.py@@ -1,4 +1,5 @@# test_sfp_dnsresolve.py+import pytestimport unittestfrom modules.sfp_dnsresolve import sfp_dnsresolve@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleDnsResolve(unittest.TestCase):"""Test modules.sfp_dnsresolve"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_dnsresolve()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_dnszonexfer.py b/test/unit/modules/test_sfp_dnszonexfer.pyindex 0a4d765c..7598d70b 100644--- a/test/unit/modules/test_sfp_dnszonexfer.py+++ b/test/unit/modules/test_sfp_dnszonexfer.py@@ -1,4 +1,5 @@# test_sfp_dnszonexfer.py+import pytestimport unittestfrom modules.sfp_dnszonexfer import sfp_dnszonexfer@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulednszonexfer(unittest.TestCase):"""Test modules.sfp_dnszonexfer"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_dnszonexfer()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_dronebl.py b/test/unit/modules/test_sfp_dronebl.pyindex 2c186d73..f2c61baa 100644--- a/test/unit/modules/test_sfp_dronebl.py+++ b/test/unit/modules/test_sfp_dronebl.py@@ -1,4 +1,5 @@# test_sfp_dronebl.py+import pytestimport unittestfrom modules.sfp_dronebl import sfp_dronebl@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuledronebl(unittest.TestCase):"""Test modules.sfp_dronebl"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_dronebl()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_duckduckgo.py b/test/unit/modules/test_sfp_duckduckgo.pyindex 20b0f8e4..4a8d7612 100644--- a/test/unit/modules/test_sfp_duckduckgo.py+++ b/test/unit/modules/test_sfp_duckduckgo.py@@ -1,4 +1,5 @@# test_sfp_duckduckgo.py+import pytestimport unittestfrom modules.sfp_duckduckgo import sfp_duckduckgo@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleduckduckgo(unittest.TestCase):"""Test modules.sfp_duckduckgo"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_duckduckgo()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_email.py b/test/unit/modules/test_sfp_email.pyindex e3bb5fc8..d91a7546 100644--- a/test/unit/modules/test_sfp_email.py+++ b/test/unit/modules/test_sfp_email.py@@ -1,4 +1,5 @@# test_sfp_email.py+import pytestimport unittestfrom modules.sfp_email import sfp_email@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleEmail(unittest.TestCase):"""Test modules.sfp_email"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_email()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_emailcrawlr.py b/test/unit/modules/test_sfp_emailcrawlr.pyindex be4b833f..aeaa4e17 100644--- a/test/unit/modules/test_sfp_emailcrawlr.py+++ b/test/unit/modules/test_sfp_emailcrawlr.py@@ -1,4 +1,5 @@# test_sfp_emailcrawlr.py+import pytestimport unittestfrom modules.sfp_emailcrawlr import sfp_emailcrawlr@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleemailcrawlr(unittest.TestCase):"""Test modules.sfp_emailcrawlr"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_emailcrawlr()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_emailformat.py b/test/unit/modules/test_sfp_emailformat.pyindex 4e39a35c..f1c31b7b 100644--- a/test/unit/modules/test_sfp_emailformat.py+++ b/test/unit/modules/test_sfp_emailformat.py@@ -1,4 +1,5 @@# test_sfp_emailformat.py+import pytestimport unittestfrom modules.sfp_emailformat import sfp_emailformat@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleemailformat(unittest.TestCase):"""Test modules.sfp_emailformat"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_emailformat()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_emailrep.py b/test/unit/modules/test_sfp_emailrep.pyindex 4fb93f3f..63ec74e0 100644--- a/test/unit/modules/test_sfp_emailrep.py+++ b/test/unit/modules/test_sfp_emailrep.py@@ -1,4 +1,5 @@# test_sfp_emailrep.py+import pytestimport unittestfrom modules.sfp_emailrep import sfp_emailrep@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleemailrep(unittest.TestCase):"""Test modules.sfp_emailrep"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_emailrep()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_emergingthreats.py b/test/unit/modules/test_sfp_emergingthreats.pyindex 29a9912b..f5e309c9 100644--- a/test/unit/modules/test_sfp_emergingthreats.py+++ b/test/unit/modules/test_sfp_emergingthreats.py@@ -1,4 +1,5 @@# test_sfp_emergingthreats.py+import pytestimport unittestfrom modules.sfp_emergingthreats import sfp_emergingthreats@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleemergingthreats(unittest.TestCase):"""Test modules.sfp_emergingthreats"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_emergingthreats()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_errors.py b/test/unit/modules/test_sfp_errors.pyindex e4d3ddd6..4563e05c 100644--- a/test/unit/modules/test_sfp_errors.py+++ b/test/unit/modules/test_sfp_errors.py@@ -1,4 +1,5 @@# test_sfp_errors.py+import pytestimport unittestfrom modules.sfp_errors import sfp_errors@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleErrors(unittest.TestCase):"""Test modules.sfp_errors"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_errors()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_ethereum.py b/test/unit/modules/test_sfp_ethereum.pyindex 7a6f7ea8..5bdd7fc7 100644--- a/test/unit/modules/test_sfp_ethereum.py+++ b/test/unit/modules/test_sfp_ethereum.py@@ -1,4 +1,5 @@# test_sfp_ethereum.py+import pytestimport unittestfrom modules.sfp_ethereum import sfp_ethereum@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleEthereum(unittest.TestCase):"""Test modules.sfp_ethereum"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_ethereum()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_etherscan.py b/test/unit/modules/test_sfp_etherscan.pyindex 93e72a29..e97f494a 100644--- a/test/unit/modules/test_sfp_etherscan.py+++ b/test/unit/modules/test_sfp_etherscan.py@@ -1,4 +1,5 @@# test_sfp_etherscan.py+import pytestimport unittestfrom modules.sfp_etherscan import sfp_etherscan@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleetherscan(unittest.TestCase):"""Test modules.sfp_etherscan"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3-DEV',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_etherscan()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_filemeta.py b/test/unit/modules/test_sfp_filemeta.pyindex 4a713391..ca64adfa 100644--- a/test/unit/modules/test_sfp_filemeta.py+++ b/test/unit/modules/test_sfp_filemeta.py@@ -1,4 +1,5 @@# test_sfp_filemeta.py+import pytestimport unittestfrom modules.sfp_filemeta import sfp_filemeta@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleFilemeta(unittest.TestCase):"""Test modules.sfp_filemeta"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_filemeta()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_flickr.py b/test/unit/modules/test_sfp_flickr.pyindex 5fd34d0f..3d5c0cdc 100644--- a/test/unit/modules/test_sfp_flickr.py+++ b/test/unit/modules/test_sfp_flickr.py@@ -1,4 +1,5 @@# test_sfp_flickr.py+import pytestimport unittestfrom modules.sfp_flickr import sfp_flickr@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleflickr(unittest.TestCase):"""Test modules.sfp_flickr"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_flickr()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_fortinet.py b/test/unit/modules/test_sfp_fortinet.pyindex 5cfea08d..fc6e4ef2 100644--- a/test/unit/modules/test_sfp_fortinet.py+++ b/test/unit/modules/test_sfp_fortinet.py@@ -1,4 +1,5 @@# test_sfp_fortinet.py+import pytestimport unittestfrom modules.sfp_fortinet import sfp_fortinet@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulefortinet(unittest.TestCase):"""Test modules.sfp_fortinet"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_fortinet()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_fraudguard.py b/test/unit/modules/test_sfp_fraudguard.pyindex 372b5c8f..1a3e46ac 100644--- a/test/unit/modules/test_sfp_fraudguard.py+++ b/test/unit/modules/test_sfp_fraudguard.py@@ -1,4 +1,5 @@# test_sfp_fraudguard.py+import pytestimport unittestfrom modules.sfp_fraudguard import sfp_fraudguard@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulefraudguard(unittest.TestCase):"""Test modules.sfp_fraudguard"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_fraudguard()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_fringeproject.py b/test/unit/modules/test_sfp_fringeproject.pyindex 393873de..efc16857 100644--- a/test/unit/modules/test_sfp_fringeproject.py+++ b/test/unit/modules/test_sfp_fringeproject.py@@ -1,4 +1,5 @@# test_sfp_fringeproject.py+import pytestimport unittestfrom modules.sfp_fringeproject import sfp_fringeproject@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulefringeproject(unittest.TestCase):"""Test modules.sfp_fringeproject"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_fringeproject()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_fsecure_riddler.py b/test/unit/modules/test_sfp_fsecure_riddler.pyindex 7cc9e932..1245ebdb 100644--- a/test/unit/modules/test_sfp_fsecure_riddler.py+++ b/test/unit/modules/test_sfp_fsecure_riddler.py@@ -1,4 +1,5 @@# test_sfp_fsecure_riddler.py+import pytestimport unittestfrom modules.sfp_fsecure_riddler import sfp_fsecure_riddler@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulefsecure_riddler(unittest.TestCase):"""Test modules.sfp_fsecure_riddler"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_fsecure_riddler()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_fullcontact.py b/test/unit/modules/test_sfp_fullcontact.pyindex e8a0c34a..e5096541 100644--- a/test/unit/modules/test_sfp_fullcontact.py+++ b/test/unit/modules/test_sfp_fullcontact.py@@ -1,4 +1,5 @@# test_sfp_fullcontact.py+import pytestimport unittestfrom modules.sfp_fullcontact import sfp_fullcontact@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulefullcontact(unittest.TestCase):"""Test modules.sfp_fullcontact"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_fullcontact()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_github.py b/test/unit/modules/test_sfp_github.pyindex c6b3764f..2d7954b6 100644--- a/test/unit/modules/test_sfp_github.py+++ b/test/unit/modules/test_sfp_github.py@@ -1,4 +1,5 @@# test_sfp_github.py+import pytestimport unittestfrom modules.sfp_github import sfp_github@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulegithub(unittest.TestCase):"""Test modules.sfp_github"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_github()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_googlemaps.py b/test/unit/modules/test_sfp_googlemaps.pyindex 72e586af..1706cc94 100644--- a/test/unit/modules/test_sfp_googlemaps.py+++ b/test/unit/modules/test_sfp_googlemaps.py@@ -1,4 +1,5 @@# test_sfp_googlemaps.py+import pytestimport unittestfrom modules.sfp_googlemaps import sfp_googlemaps@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulegooglemaps(unittest.TestCase):"""Test modules.sfp_googlemaps"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_googlemaps()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_googleobjectstorage.py b/test/unit/modules/test_sfp_googleobjectstorage.pyindex 7d2f6a6a..a4aa3923 100644--- a/test/unit/modules/test_sfp_googleobjectstorage.py+++ b/test/unit/modules/test_sfp_googleobjectstorage.py@@ -1,4 +1,5 @@# test_sfp_googleobjectstorage.py+import pytestimport unittestfrom modules.sfp_googleobjectstorage import sfp_googleobjectstorage@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulegoogleobjectstorage(unittest.TestCase):"""Test modules.sfp_googleobjectstorage"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_googleobjectstorage()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_googlesafebrowsing.py b/test/unit/modules/test_sfp_googlesafebrowsing.pyindex 2cda9a05..71676f3e 100644--- a/test/unit/modules/test_sfp_googlesafebrowsing.py+++ b/test/unit/modules/test_sfp_googlesafebrowsing.py@@ -1,4 +1,5 @@# test_sfp_googlesafebrowsing.py+import pytestimport unittestfrom modules.sfp_googlesafebrowsing import sfp_googlesafebrowsing@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulegooglesafebrowsing(unittest.TestCase):"""Test modules.sfp_googlesafebrowsing"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_googlesafebrowsing()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_googlesearch.py b/test/unit/modules/test_sfp_googlesearch.pyindex bd43b0de..742de861 100644--- a/test/unit/modules/test_sfp_googlesearch.py+++ b/test/unit/modules/test_sfp_googlesearch.py@@ -1,4 +1,5 @@# test_sfp_googlesearch.py+import pytestimport unittestfrom modules.sfp_googlesearch import sfp_googlesearch@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulegooglesearch(unittest.TestCase):"""Test modules.sfp_googlesearch"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_googlesearch()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_gravatar.py b/test/unit/modules/test_sfp_gravatar.pyindex e2a6845a..1c88f76b 100644--- a/test/unit/modules/test_sfp_gravatar.py+++ b/test/unit/modules/test_sfp_gravatar.py@@ -1,4 +1,5 @@# test_sfp_gravatar.py+import pytestimport unittestfrom modules.sfp_gravatar import sfp_gravatar@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulegravatar(unittest.TestCase):"""Test modules.sfp_gravatar"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_gravatar()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_grayhatwarfare.py b/test/unit/modules/test_sfp_grayhatwarfare.pyindex 6dbe9085..7493cbef 100644--- a/test/unit/modules/test_sfp_grayhatwarfare.py+++ b/test/unit/modules/test_sfp_grayhatwarfare.py@@ -1,4 +1,5 @@# test_sfp_grayhatwarfare.py+import pytestimport unittestfrom modules.sfp_grayhatwarfare import sfp_grayhatwarfare@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleGrayhatWarfare(unittest.TestCase):"""Test modules.sfp_grayhatwarfare"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3-DEV',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_grayhatwarfare()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_greensnow.py b/test/unit/modules/test_sfp_greensnow.pyindex 0f408d11..288880f8 100644--- a/test/unit/modules/test_sfp_greensnow.py+++ b/test/unit/modules/test_sfp_greensnow.py@@ -1,4 +1,5 @@# test_sfp_greensnow.py+import pytestimport unittestfrom modules.sfp_greensnow import sfp_greensnow@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulegreensnow(unittest.TestCase):"""Test modules.sfp_greensnow"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_greensnow()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_grep_app.py b/test/unit/modules/test_sfp_grep_app.pyindex 89213932..928b6ca7 100644--- a/test/unit/modules/test_sfp_grep_app.py+++ b/test/unit/modules/test_sfp_grep_app.py@@ -1,4 +1,5 @@# test_sfp_grep_app.py+import pytestimport unittestfrom modules.sfp_grep_app import sfp_grep_app@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulegrep_app(unittest.TestCase):"""Test modules.sfp_grep_app"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_grep_app()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_greynoise.py b/test/unit/modules/test_sfp_greynoise.pyindex 85331ddc..58f3f6d4 100644--- a/test/unit/modules/test_sfp_greynoise.py+++ b/test/unit/modules/test_sfp_greynoise.py@@ -1,4 +1,5 @@# test_sfp_greynoise.py+import pytestimport unittestfrom modules.sfp_greynoise import sfp_greynoise@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulegreynoise(unittest.TestCase):"""Test modules.sfp_greynoise"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_greynoise()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_h1nobbdde.py b/test/unit/modules/test_sfp_h1nobbdde.pyindex 1fd63f35..74c5a40c 100644--- a/test/unit/modules/test_sfp_h1nobbdde.py+++ b/test/unit/modules/test_sfp_h1nobbdde.py@@ -1,4 +1,5 @@# test_sfp_h1nobbdde.py+import pytestimport unittestfrom modules.sfp_h1nobbdde import sfp_h1nobbdde@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleh1nobbdde(unittest.TestCase):"""Test modules.sfp_h1nobbdde"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_h1nobbdde()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_hackertarget.py b/test/unit/modules/test_sfp_hackertarget.pyindex 07fd4aa3..c298792a 100644--- a/test/unit/modules/test_sfp_hackertarget.py+++ b/test/unit/modules/test_sfp_hackertarget.py@@ -1,4 +1,5 @@# test_sfp_hackertarget.py+import pytestimport unittestfrom modules.sfp_hackertarget import sfp_hackertarget@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulehackertarget(unittest.TestCase):"""Test modules.sfp_hackertarget"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_hackertarget()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_hashes.py b/test/unit/modules/test_sfp_hashes.pyindex e69e804a..08f966bb 100644--- a/test/unit/modules/test_sfp_hashes.py+++ b/test/unit/modules/test_sfp_hashes.py@@ -1,4 +1,5 @@# test_sfp_hashes.py+import pytestimport unittestfrom modules.sfp_hashes import sfp_hashes@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleHashes(unittest.TestCase):"""Test modules.sfp_hashes"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_hashes()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_haveibeenpwned.py b/test/unit/modules/test_sfp_haveibeenpwned.pyindex e67cf94d..f1693310 100644--- a/test/unit/modules/test_sfp_haveibeenpwned.py+++ b/test/unit/modules/test_sfp_haveibeenpwned.py@@ -1,4 +1,5 @@# test_sfp_haveibeenpwned.py+import pytestimport unittestfrom modules.sfp_haveibeenpwned import sfp_haveibeenpwned@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulehaveibeenpwned(unittest.TestCase):"""Test modules.sfp_haveibeenpwned"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_haveibeenpwned()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_honeypot.py b/test/unit/modules/test_sfp_honeypot.pyindex 152c43ca..2962169f 100644--- a/test/unit/modules/test_sfp_honeypot.py+++ b/test/unit/modules/test_sfp_honeypot.py@@ -1,4 +1,5 @@# test_sfp_honeypot.py+import pytestimport unittestfrom modules.sfp_honeypot import sfp_honeypot@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulehoneypot(unittest.TestCase):"""Test modules.sfp_honeypot"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_honeypot()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_hosting.py b/test/unit/modules/test_sfp_hosting.pyindex 907b72b3..91ba24b5 100644--- a/test/unit/modules/test_sfp_hosting.py+++ b/test/unit/modules/test_sfp_hosting.py@@ -1,4 +1,5 @@# test_sfp_hosting.py+import pytestimport unittestfrom modules.sfp_hosting import sfp_hosting@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleHosting(unittest.TestCase):"""Test modules.sfp_hosting"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_hosting()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_hostio.py b/test/unit/modules/test_sfp_hostio.pyindex ce099a38..ec7f771e 100644--- a/test/unit/modules/test_sfp_hostio.py+++ b/test/unit/modules/test_sfp_hostio.py@@ -1,4 +1,5 @@# test_sfp_hostio.py+import pytestimport unittestfrom modules.sfp_hostio import sfp_hostio@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulehostio(unittest.TestCase):"""Test modules.sfp_hostio"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_hostio()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_hunter.py b/test/unit/modules/test_sfp_hunter.pyindex 6202569e..1b1fbbf5 100644--- a/test/unit/modules/test_sfp_hunter.py+++ b/test/unit/modules/test_sfp_hunter.py@@ -1,4 +1,5 @@# test_sfp_hunter.py+import pytestimport unittestfrom modules.sfp_hunter import sfp_hunter@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulehunter(unittest.TestCase):"""Test modules.sfp_hunter"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_hunter()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_hybrid_analysis.py b/test/unit/modules/test_sfp_hybrid_analysis.pyindex a1392437..bbb2e79d 100644--- a/test/unit/modules/test_sfp_hybrid_analysis.py+++ b/test/unit/modules/test_sfp_hybrid_analysis.py@@ -1,4 +1,5 @@# test_sfp_hybrid_analysis.py+import pytestimport unittestfrom modules.sfp_hybrid_analysis import sfp_hybrid_analysis@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulehybrid_analysis(unittest.TestCase):"""Test modules.sfp_hybrid_analysis"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_hybrid_analysis()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_iban.py b/test/unit/modules/test_sfp_iban.pyindex 963c4154..eebcaf8e 100644--- a/test/unit/modules/test_sfp_iban.py+++ b/test/unit/modules/test_sfp_iban.py@@ -1,4 +1,5 @@# test_sfp_iban.py+import pytestimport unittestfrom modules.sfp_iban import sfp_iban@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleIban(unittest.TestCase):"""Test modules.sfp_iban"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_iban()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_iknowwhatyoudownload.py b/test/unit/modules/test_sfp_iknowwhatyoudownload.pyindex c9b75e50..a9190c8a 100644--- a/test/unit/modules/test_sfp_iknowwhatyoudownload.py+++ b/test/unit/modules/test_sfp_iknowwhatyoudownload.py@@ -1,4 +1,5 @@# test_sfp_iknowwhatyoudownload.py+import pytestimport unittestfrom modules.sfp_iknowwhatyoudownload import sfp_iknowwhatyoudownload@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleiknowwhatyoudownload(unittest.TestCase):"""Test modules.sfp_iknowwhatyoudownload"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_iknowwhatyoudownload()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_instagram.py b/test/unit/modules/test_sfp_instagram.pyindex cc6b6ba6..3e3418f5 100644--- a/test/unit/modules/test_sfp_instagram.py+++ b/test/unit/modules/test_sfp_instagram.py@@ -1,4 +1,5 @@# test_sfp_instagram.py+import pytestimport unittestfrom modules.sfp_instagram import sfp_instagram@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleinstagram(unittest.TestCase):"""Test modules.sfp_instagram"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_instagram()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_intelx.py b/test/unit/modules/test_sfp_intelx.pyindex 79536eef..452c8ad7 100644--- a/test/unit/modules/test_sfp_intelx.py+++ b/test/unit/modules/test_sfp_intelx.py@@ -1,4 +1,5 @@# test_sfp_intelx.py+import pytestimport unittestfrom modules.sfp_intelx import sfp_intelx@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleintelx(unittest.TestCase):"""Test modules.sfp_intelx"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_intelx()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_intfiles.py b/test/unit/modules/test_sfp_intfiles.pyindex e451ee69..d1188998 100644--- a/test/unit/modules/test_sfp_intfiles.py+++ b/test/unit/modules/test_sfp_intfiles.py@@ -1,4 +1,5 @@# test_sfp_intfiles.py+import pytestimport unittestfrom modules.sfp_intfiles import sfp_intfiles@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleintfiles(unittest.TestCase):"""Test modules.sfp_intfiles"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_intfiles()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_ipapico.py b/test/unit/modules/test_sfp_ipapico.pyindex 6c188a18..fc618ede 100644--- a/test/unit/modules/test_sfp_ipapico.py+++ b/test/unit/modules/test_sfp_ipapico.py@@ -1,4 +1,5 @@# test_sfp_ipapico.py+import pytestimport unittestfrom modules.sfp_ipapico import sfp_ipapico@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleipapicom(unittest.TestCase):"""Test modules.sfp_ipapico"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3-DEV',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_ipapico()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_ipapicom.py b/test/unit/modules/test_sfp_ipapicom.pyindex 41a0062c..5a09eda0 100644--- a/test/unit/modules/test_sfp_ipapicom.py+++ b/test/unit/modules/test_sfp_ipapicom.py@@ -1,4 +1,5 @@# test_sfp_ipapicom.py+import pytestimport unittestfrom modules.sfp_ipapicom import sfp_ipapicom@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleipapicom(unittest.TestCase):"""Test modules.sfp_ipapicom"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3-DEV',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_ipapicom()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_ipinfo.py b/test/unit/modules/test_sfp_ipinfo.pyindex e2d2e331..4d06e3b8 100644--- a/test/unit/modules/test_sfp_ipinfo.py+++ b/test/unit/modules/test_sfp_ipinfo.py@@ -1,4 +1,5 @@# test_sfp_ipinfo.py+import pytestimport unittestfrom modules.sfp_ipinfo import sfp_ipinfo@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleipinfo(unittest.TestCase):"""Test modules.sfp_ipinfo"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_ipinfo()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_ipqualityscore.py b/test/unit/modules/test_sfp_ipqualityscore.pyindex 8861e436..5631eed1 100644--- a/test/unit/modules/test_sfp_ipqualityscore.py+++ b/test/unit/modules/test_sfp_ipqualityscore.py@@ -1,4 +1,5 @@# test_sfp_ipqualityscore.py+import pytestimport unittestfrom modules.sfp_ipqualityscore import sfp_ipqualityscore@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleipqualityscore(unittest.TestCase):"""Test modules.sfp_ipqualityscore"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_ipqualityscore()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_ipregistry.py b/test/unit/modules/test_sfp_ipregistry.pyindex a8f283dc..52bd1778 100644--- a/test/unit/modules/test_sfp_ipregistry.py+++ b/test/unit/modules/test_sfp_ipregistry.py@@ -1,4 +1,5 @@# test_sfp_ipregistry.py+import pytestimport unittestfrom modules.sfp_ipregistry import sfp_ipregistry@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuletemplate(unittest.TestCase):"""Test modules.sfp_ipregistry"""- default_options = {- "_debug": False, # Debug- "__logging": True, # Logging in general- "__outputfilter": None, # Event types to filter from modules' output- "_useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0", # User-Agent to use for HTTP requests- "_dnsserver": "", # Override the default resolver- "_fetchtimeout": 5, # number of seconds before giving up on a fetch- "_internettlds": "https://publicsuffix.org/list/effective_tld_names.dat",- "_internettlds_cache": 72,- "_genericusers": "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- "__version__": "3.3",- "__database": "spiderfoot.test.db", # note: test database file- "__modules__": None, # List of modules. Will be set after start-up.- "_socks1type": "",- "_socks2addr": "",- "_socks3port": "",- "_socks4user": "",- "_socks5pwd": "",- "_torctlport": 9051,- "__logstdout": False,- }-def test_opts(self):module = sfp_ipregistry()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_ipstack.py b/test/unit/modules/test_sfp_ipstack.pyindex 582cc1a7..7ec37772 100644--- a/test/unit/modules/test_sfp_ipstack.py+++ b/test/unit/modules/test_sfp_ipstack.py@@ -1,4 +1,5 @@# test_sfp_ipstack.py+import pytestimport unittestfrom modules.sfp_ipstack import sfp_ipstack@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleipstack(unittest.TestCase):"""Test modules.sfp_ipstack"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_ipstack()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_isc.py b/test/unit/modules/test_sfp_isc.pyindex 3a5c4688..0e42961f 100644--- a/test/unit/modules/test_sfp_isc.py+++ b/test/unit/modules/test_sfp_isc.py@@ -1,4 +1,5 @@# test_sfp_isc.py+import pytestimport unittestfrom modules.sfp_isc import sfp_isc@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleisc(unittest.TestCase):"""Test modules.sfp_isc"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_isc()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_jsonwhoiscom.py b/test/unit/modules/test_sfp_jsonwhoiscom.pyindex d30f5d84..853f959f 100644--- a/test/unit/modules/test_sfp_jsonwhoiscom.py+++ b/test/unit/modules/test_sfp_jsonwhoiscom.py@@ -1,4 +1,5 @@# test_sfp_jsonwhoiscom.py+import pytestimport unittestfrom modules.sfp_jsonwhoiscom import sfp_jsonwhoiscom@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulejsonwhoiscom(unittest.TestCase):"""Test modules.sfp_jsonwhoiscom"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_jsonwhoiscom()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_junkfiles.py b/test/unit/modules/test_sfp_junkfiles.pyindex 994ee8e0..220e1e02 100644--- a/test/unit/modules/test_sfp_junkfiles.py+++ b/test/unit/modules/test_sfp_junkfiles.py@@ -1,4 +1,5 @@# test_sfp_junkfiles.py+import pytestimport unittestfrom modules.sfp_junkfiles import sfp_junkfiles@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulejunkfiles(unittest.TestCase):"""Test modules.sfp_junkfiles"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_junkfiles()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_keybase.py b/test/unit/modules/test_sfp_keybase.pyindex 7aa931cf..c43393d8 100644--- a/test/unit/modules/test_sfp_keybase.py+++ b/test/unit/modules/test_sfp_keybase.py@@ -1,4 +1,5 @@# test_sfp_keybase.py+import pytestimport unittestfrom modules.sfp_keybase import sfp_keybase@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulekeybase(unittest.TestCase):"""Test modules.sfp_keybase"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_keybase()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_koodous.py b/test/unit/modules/test_sfp_koodous.pyindex 40e42bee..b4320164 100644--- a/test/unit/modules/test_sfp_koodous.py+++ b/test/unit/modules/test_sfp_koodous.py@@ -1,4 +1,5 @@# test_sfp_koodous.py+import pytestimport unittestfrom modules.sfp_koodous import sfp_koodous@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleKoodous(unittest.TestCase):"""Test modules.sfp_koodous"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_koodous()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_leakix.py b/test/unit/modules/test_sfp_leakix.pyindex 89c39e1b..fbc9f6b9 100644--- a/test/unit/modules/test_sfp_leakix.py+++ b/test/unit/modules/test_sfp_leakix.py@@ -1,4 +1,5 @@# test_sfp_leakix.py+import pytestimport unittestfrom modules.sfp_leakix import sfp_leakix@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleleakix(unittest.TestCase):"""Test modules.sfp_leakix"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_leakix()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_maltiverse.py b/test/unit/modules/test_sfp_maltiverse.pyindex bbb577c9..93696023 100644--- a/test/unit/modules/test_sfp_maltiverse.py+++ b/test/unit/modules/test_sfp_maltiverse.py@@ -1,4 +1,5 @@# test_sfp_maltiverse.py+import pytestimport unittestfrom modules.sfp_maltiverse import sfp_maltiverse@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulemaltiverse(unittest.TestCase):"""Test modules.sfp_maltiverse"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_maltiverse()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_malwaredomainlist.py b/test/unit/modules/test_sfp_malwaredomainlist.pyindex 3aa2805d..b3bd2ada 100644--- a/test/unit/modules/test_sfp_malwaredomainlist.py+++ b/test/unit/modules/test_sfp_malwaredomainlist.py@@ -1,4 +1,5 @@# test_sfp_malwaredomainlist.py+import pytestimport unittestfrom modules.sfp_malwaredomainlist import sfp_malwaredomainlist@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulemalwaredomainlist(unittest.TestCase):"""Test modules.sfp_malwaredomainlist"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_malwaredomainlist()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_malwaredomains.py b/test/unit/modules/test_sfp_malwaredomains.pyindex 2877dd8a..fde01461 100644--- a/test/unit/modules/test_sfp_malwaredomains.py+++ b/test/unit/modules/test_sfp_malwaredomains.py@@ -1,4 +1,5 @@# test_sfp_malwaredomains.py+import pytestimport unittestfrom modules.sfp_malwaredomains import sfp_malwaredomains@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulemalwaredomains(unittest.TestCase):"""Test modules.sfp_malwaredomains"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_malwaredomains()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_malwarepatrol.py b/test/unit/modules/test_sfp_malwarepatrol.pyindex 97bdd371..5ddf6f7d 100644--- a/test/unit/modules/test_sfp_malwarepatrol.py+++ b/test/unit/modules/test_sfp_malwarepatrol.py@@ -1,4 +1,5 @@# test_sfp_malwarepatrol.py+import pytestimport unittestfrom modules.sfp_malwarepatrol import sfp_malwarepatrol@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulemalwarepatrol(unittest.TestCase):"""Test modules.sfp_malwarepatrol"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_malwarepatrol()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_metadefender.py b/test/unit/modules/test_sfp_metadefender.pyindex e30da736..d5c3ad6e 100644--- a/test/unit/modules/test_sfp_metadefender.py+++ b/test/unit/modules/test_sfp_metadefender.py@@ -1,4 +1,5 @@# test_sfp_metadefender.py+import pytestimport unittestfrom modules.sfp_metadefender import sfp_metadefender@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulemetadefender(unittest.TestCase):"""Test modules.sfp_metadefender"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_metadefender()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_mnemonic.py b/test/unit/modules/test_sfp_mnemonic.pyindex c9c5fab9..edb5347e 100644--- a/test/unit/modules/test_sfp_mnemonic.py+++ b/test/unit/modules/test_sfp_mnemonic.py@@ -1,4 +1,5 @@# test_sfp_mnemonic.py+import pytestimport unittestfrom modules.sfp_mnemonic import sfp_mnemonic@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulemnemonic(unittest.TestCase):"""Test modules.sfp_mnemonic"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_mnemonic()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_multiproxy.py b/test/unit/modules/test_sfp_multiproxy.pyindex d8cccaf1..d94e0b6a 100644--- a/test/unit/modules/test_sfp_multiproxy.py+++ b/test/unit/modules/test_sfp_multiproxy.py@@ -1,4 +1,5 @@# test_sfp_multiproxy.py+import pytestimport unittestfrom modules.sfp_multiproxy import sfp_multiproxy@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulemultiproxy(unittest.TestCase):"""Test modules.sfp_multiproxy"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_multiproxy()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_myspace.py b/test/unit/modules/test_sfp_myspace.pyindex 5981127c..9d53dd8e 100644--- a/test/unit/modules/test_sfp_myspace.py+++ b/test/unit/modules/test_sfp_myspace.py@@ -1,4 +1,5 @@# test_sfp_myspace.py+import pytestimport unittestfrom modules.sfp_myspace import sfp_myspace@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulemyspace(unittest.TestCase):"""Test modules.sfp_myspace"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_myspace()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_nameapi.py b/test/unit/modules/test_sfp_nameapi.pyindex bacec76a..66f559ad 100644--- a/test/unit/modules/test_sfp_nameapi.py+++ b/test/unit/modules/test_sfp_nameapi.py@@ -1,4 +1,5 @@# test_sfp_nameapi.py+import pytestimport unittestfrom modules.sfp_nameapi import sfp_nameapi@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulenameapi(unittest.TestCase):"""Test modules.sfp_nameapi"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_nameapi()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_names.py b/test/unit/modules/test_sfp_names.pyindex 6c5d040d..d5399e41 100644--- a/test/unit/modules/test_sfp_names.py+++ b/test/unit/modules/test_sfp_names.py@@ -1,4 +1,5 @@# test_sfp_names.py+import pytestimport unittestfrom modules.sfp_names import sfp_names@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleNames(unittest.TestCase):"""Test modules.sfp_names"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_names()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_networksdb.py b/test/unit/modules/test_sfp_networksdb.pyindex d2bd01e8..a096e2ba 100644--- a/test/unit/modules/test_sfp_networksdb.py+++ b/test/unit/modules/test_sfp_networksdb.py@@ -1,4 +1,5 @@# test_sfp_networksdb.py+import pytestimport unittestfrom modules.sfp_networksdb import sfp_networksdb@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulenetworksdb(unittest.TestCase):"""Test modules.sfp_networksdb"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_networksdb()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_neutrinoapi.py b/test/unit/modules/test_sfp_neutrinoapi.pyindex deecee89..f9474cb6 100644--- a/test/unit/modules/test_sfp_neutrinoapi.py+++ b/test/unit/modules/test_sfp_neutrinoapi.py@@ -1,4 +1,5 @@# test_sfp_neutrinoapi.py+import pytestimport unittestfrom modules.sfp_neutrinoapi import sfp_neutrinoapi@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleneutrinoapi(unittest.TestCase):"""Test modules.sfp_neutrinoapi"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_neutrinoapi()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_numverify.py b/test/unit/modules/test_sfp_numverify.pyindex 438b096a..9095d9ac 100644--- a/test/unit/modules/test_sfp_numverify.py+++ b/test/unit/modules/test_sfp_numverify.py@@ -1,4 +1,5 @@# test_sfp_numverify.py+import pytestimport unittestfrom modules.sfp_numverify import sfp_numverify@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulenumverify(unittest.TestCase):"""Test modules.sfp_numverify"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_numverify()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_onioncity.py b/test/unit/modules/test_sfp_onioncity.pyindex 433e6a45..25430793 100644--- a/test/unit/modules/test_sfp_onioncity.py+++ b/test/unit/modules/test_sfp_onioncity.py@@ -1,4 +1,5 @@# test_sfp_onioncity.py+import pytestimport unittestfrom modules.sfp_onioncity import sfp_onioncity@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleonioncity(unittest.TestCase):"""Test modules.sfp_onioncity"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_onioncity()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_onionsearchengine.py b/test/unit/modules/test_sfp_onionsearchengine.pyindex 623f2942..a7381a8e 100644--- a/test/unit/modules/test_sfp_onionsearchengine.py+++ b/test/unit/modules/test_sfp_onionsearchengine.py@@ -1,4 +1,5 @@# test_sfp_onionsearchengine.py+import pytestimport unittestfrom modules.sfp_onionsearchengine import sfp_onionsearchengine@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleonionsearchengine(unittest.TestCase):"""Test modules.sfp_onionsearchengine"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_onionsearchengine()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_onyphe.py b/test/unit/modules/test_sfp_onyphe.pyindex d6e5b3fc..035dd2a1 100644--- a/test/unit/modules/test_sfp_onyphe.py+++ b/test/unit/modules/test_sfp_onyphe.py@@ -1,4 +1,5 @@# test_sfp_onyphe.py+import pytestimport unittestfrom modules.sfp_onyphe import sfp_onyphe@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleOnyphe(unittest.TestCase):"""Test modules.sfp_onyphe"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_onyphe()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_open_passive_dns_database.py b/test/unit/modules/test_sfp_open_passive_dns_database.pyindex d7e2539e..f5c90a57 100644--- a/test/unit/modules/test_sfp_open_passive_dns_database.py+++ b/test/unit/modules/test_sfp_open_passive_dns_database.py@@ -1,4 +1,5 @@# test_sfp_open_passive_dns_database.py+import pytestimport unittestfrom modules.sfp_open_passive_dns_database import sfp_open_passive_dns_database@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleopen_passive_dns_database(unittest.TestCase):"""Test modules.sfp_open_passive_dns_database"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_open_passive_dns_database()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_openbugbounty.py b/test/unit/modules/test_sfp_openbugbounty.pyindex da3b42f2..a74530c9 100644--- a/test/unit/modules/test_sfp_openbugbounty.py+++ b/test/unit/modules/test_sfp_openbugbounty.py@@ -1,4 +1,5 @@# test_sfp_openbugbounty.py+import pytestimport unittestfrom modules.sfp_openbugbounty import sfp_openbugbounty@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleopenbugbounty(unittest.TestCase):"""Test modules.sfp_openbugbounty"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_openbugbounty()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_opencorporates.py b/test/unit/modules/test_sfp_opencorporates.pyindex f37999e5..e6e43f8f 100644--- a/test/unit/modules/test_sfp_opencorporates.py+++ b/test/unit/modules/test_sfp_opencorporates.py@@ -1,4 +1,5 @@# test_sfp_opencorporates.py+import pytestimport unittestfrom modules.sfp_opencorporates import sfp_opencorporates@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleopencorporates(unittest.TestCase):"""Test modules.sfp_opencorporates"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_opencorporates()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_opendns.py b/test/unit/modules/test_sfp_opendns.pyindex 0ba25a88..fdabde72 100644--- a/test/unit/modules/test_sfp_opendns.py+++ b/test/unit/modules/test_sfp_opendns.py@@ -1,4 +1,5 @@# test_sfp_opendns.py+import pytestimport unittestfrom modules.sfp_opendns import sfp_opendns@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleopendns(unittest.TestCase):"""Test modules.sfp_opendns"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_opendns()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_openphish.py b/test/unit/modules/test_sfp_openphish.pyindex 0151818e..cb6136cf 100644--- a/test/unit/modules/test_sfp_openphish.py+++ b/test/unit/modules/test_sfp_openphish.py@@ -1,4 +1,5 @@# test_sfp_openphish.py+import pytestimport unittestfrom modules.sfp_openphish import sfp_openphish@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleopenphish(unittest.TestCase):"""Test modules.sfp_openphish"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_openphish()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_openstreetmap.py b/test/unit/modules/test_sfp_openstreetmap.pyindex b6088a5a..7fe5d514 100644--- a/test/unit/modules/test_sfp_openstreetmap.py+++ b/test/unit/modules/test_sfp_openstreetmap.py@@ -1,4 +1,5 @@# test_sfp_openstreetmap.py+import pytestimport unittestfrom modules.sfp_openstreetmap import sfp_openstreetmap@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleopenstreetmap(unittest.TestCase):"""Test modules.sfp_openstreetmap"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_openstreetmap()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_pageinfo.py b/test/unit/modules/test_sfp_pageinfo.pyindex 7ec32214..49245d40 100644--- a/test/unit/modules/test_sfp_pageinfo.py+++ b/test/unit/modules/test_sfp_pageinfo.py@@ -1,4 +1,5 @@# test_sfp_pageinfo.py+import pytestimport unittestfrom modules.sfp_pageinfo import sfp_pageinfo@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulePageInfo(unittest.TestCase):"""Test modules.sfp_pageinfo"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_pageinfo()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_pastebin.py b/test/unit/modules/test_sfp_pastebin.pyindex c0e420bc..29b5e959 100644--- a/test/unit/modules/test_sfp_pastebin.py+++ b/test/unit/modules/test_sfp_pastebin.py@@ -1,4 +1,5 @@# test_sfp_pastebin.py+import pytestimport unittestfrom modules.sfp_pastebin import sfp_pastebin@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulepastebin(unittest.TestCase):"""Test modules.sfp_pastebin"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_pastebin()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_pgp.py b/test/unit/modules/test_sfp_pgp.pyindex c03931b6..4cfcddf9 100644--- a/test/unit/modules/test_sfp_pgp.py+++ b/test/unit/modules/test_sfp_pgp.py@@ -1,4 +1,5 @@# test_sfp_pgp.py+import pytestimport unittestfrom modules.sfp_pgp import sfp_pgp@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulepgp(unittest.TestCase):"""Test modules.sfp_pgp"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_pgp()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_phishstats.py b/test/unit/modules/test_sfp_phishstats.pyindex b3777f45..91c94243 100644--- a/test/unit/modules/test_sfp_phishstats.py+++ b/test/unit/modules/test_sfp_phishstats.py@@ -1,4 +1,5 @@# test_sfp_phishstats.py+import pytestimport unittestfrom modules.sfp_phishstats import sfp_phishstats@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulephishstats(unittest.TestCase):"""Test modules.sfp_phishstats"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_phishstats()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_phishtank.py b/test/unit/modules/test_sfp_phishtank.pyindex d63b9a29..9fdb8e42 100644--- a/test/unit/modules/test_sfp_phishtank.py+++ b/test/unit/modules/test_sfp_phishtank.py@@ -1,4 +1,5 @@# test_sfp_phishtank.py+import pytestimport unittestfrom modules.sfp_phishtank import sfp_phishtank@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulephishtank(unittest.TestCase):"""Test modules.sfp_phishtank"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_phishtank()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_phone.py b/test/unit/modules/test_sfp_phone.pyindex c441e02e..833b25ab 100644--- a/test/unit/modules/test_sfp_phone.py+++ b/test/unit/modules/test_sfp_phone.py@@ -1,4 +1,5 @@# test_sfp_phone.py+import pytestimport unittestfrom modules.sfp_phone import sfp_phone@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulePhone(unittest.TestCase):"""Test modules.sfp_phone"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_phone()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_portscan_tcp.py b/test/unit/modules/test_sfp_portscan_tcp.pyindex 118cb95a..501f3ad2 100644--- a/test/unit/modules/test_sfp_portscan_tcp.py+++ b/test/unit/modules/test_sfp_portscan_tcp.py@@ -1,4 +1,5 @@# test_sfp_portscan_tcp.py+import pytestimport unittestfrom modules.sfp_portscan_tcp import sfp_portscan_tcp@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleportscan_tcp(unittest.TestCase):"""Test modules.sfp_portscan_tcp"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_portscan_tcp()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_projectdiscovery.py b/test/unit/modules/test_sfp_projectdiscovery.pyindex 2f616862..caf85bec 100644--- a/test/unit/modules/test_sfp_projectdiscovery.py+++ b/test/unit/modules/test_sfp_projectdiscovery.py@@ -1,33 +1,16 @@# test_sfp_projectdiscovery.py+import pytestimport unittestfrom modules.sfp_projectdiscovery import sfp_projectdiscoveryfrom sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleProjectdiscovery(unittest.TestCase):-- default_options = {- "_debug": False, # Debug- "__logging": True, # Logging in general- "__outputfilter": None, # Event types to filter from modules' output- "_useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0", # User-Agent to use for HTTP requests- "_dnsserver": "", # Override the default resolver- "_fetchtimeout": 5, # number of seconds before giving up on a fetch- "_internettlds": "https://publicsuffix.org/list/effective_tld_names.dat",- "_internettlds_cache": 72,- "_genericusers": "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- "__version__": "3.3",- "__database": "spiderfoot.test.db", # note: test database file- "__modules__": None, # List of modules. Will be set after start-up.- "_socks1type": "",- "_socks2addr": "",- "_socks3port": "",- "_socks4user": "",- "_socks5pwd": "",- "_torctlport": 9051,- "__logstdout": False,- }+ """+ Test modules.sfp_projectdiscovery+ """def test_opts(self):module = sfp_projectdiscovery()diff --git a/test/unit/modules/test_sfp_psbdmp.py b/test/unit/modules/test_sfp_psbdmp.pyindex 7337dec3..6b89f9e0 100644--- a/test/unit/modules/test_sfp_psbdmp.py+++ b/test/unit/modules/test_sfp_psbdmp.py@@ -1,4 +1,5 @@# test_sfp_psbdmp.py+import pytestimport unittestfrom modules.sfp_psbdmp import sfp_psbdmp@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulepsbdmp(unittest.TestCase):"""Test modules.sfp_psbdmp"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_psbdmp()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_pulsedive.py b/test/unit/modules/test_sfp_pulsedive.pyindex cd01b2e4..53186897 100644--- a/test/unit/modules/test_sfp_pulsedive.py+++ b/test/unit/modules/test_sfp_pulsedive.py@@ -1,4 +1,5 @@# test_sfp_pulsedive.py+import pytestimport unittestfrom modules.sfp_pulsedive import sfp_pulsedive@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulepulsedive(unittest.TestCase):"""Test modules.sfp_pulsedive"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_pulsedive()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_quad9.py b/test/unit/modules/test_sfp_quad9.pyindex dbf42a74..2cacd6bb 100644--- a/test/unit/modules/test_sfp_quad9.py+++ b/test/unit/modules/test_sfp_quad9.py@@ -1,4 +1,5 @@# test_sfp_quad9.py+import pytestimport unittestfrom modules.sfp_quad9 import sfp_quad9@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulequad9(unittest.TestCase):"""Test modules.sfp_quad9"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_quad9()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_recondev.py b/test/unit/modules/test_sfp_recondev.pyindex 32b43d92..cb7a0cc8 100644--- a/test/unit/modules/test_sfp_recondev.py+++ b/test/unit/modules/test_sfp_recondev.py@@ -1,4 +1,5 @@# test_sfp_recondev.py+import pytestimport unittestfrom modules.sfp_recondev import sfp_recondev@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulerecondev(unittest.TestCase):"""Test modules.sfp_recondev"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_recondev()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_ripe.py b/test/unit/modules/test_sfp_ripe.pyindex 2632b1b5..34a7ee84 100644--- a/test/unit/modules/test_sfp_ripe.py+++ b/test/unit/modules/test_sfp_ripe.py@@ -1,4 +1,5 @@# test_sfp_ripe.py+import pytestimport unittestfrom modules.sfp_ripe import sfp_ripe@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleripe(unittest.TestCase):"""Test modules.sfp_ripe"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_ripe()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_riskiq.py b/test/unit/modules/test_sfp_riskiq.pyindex 0295be8d..0a53b54d 100644--- a/test/unit/modules/test_sfp_riskiq.py+++ b/test/unit/modules/test_sfp_riskiq.py@@ -1,4 +1,5 @@# test_sfp_riskiq.py+import pytestimport unittestfrom modules.sfp_riskiq import sfp_riskiq@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleriskiq(unittest.TestCase):"""Test modules.sfp_riskiq"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_riskiq()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_robtex.py b/test/unit/modules/test_sfp_robtex.pyindex 262ef59d..379f1ffa 100644--- a/test/unit/modules/test_sfp_robtex.py+++ b/test/unit/modules/test_sfp_robtex.py@@ -1,4 +1,5 @@# test_sfp_robtex.py+import pytestimport unittestfrom modules.sfp_robtex import sfp_robtex@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulerobtex(unittest.TestCase):"""Test modules.sfp_robtex"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_robtex()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_s3bucket.py b/test/unit/modules/test_sfp_s3bucket.pyindex dee2763a..d3905813 100644--- a/test/unit/modules/test_sfp_s3bucket.py+++ b/test/unit/modules/test_sfp_s3bucket.py@@ -1,4 +1,5 @@# test_sfp_s3bucket.py+import pytestimport unittestfrom modules.sfp_s3bucket import sfp_s3bucket@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModules3bucket(unittest.TestCase):"""Test modules.sfp_s3bucket"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_s3bucket()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_scylla.py b/test/unit/modules/test_sfp_scylla.pyindex f4c169c9..46bec6b6 100644--- a/test/unit/modules/test_sfp_scylla.py+++ b/test/unit/modules/test_sfp_scylla.py@@ -1,4 +1,5 @@# test_sfp_scylla.py+import pytestimport unittestfrom modules.sfp_scylla import sfp_scylla@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulescylla(unittest.TestCase):"""Test modules.sfp_scylla"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_scylla()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_securitytrails.py b/test/unit/modules/test_sfp_securitytrails.pyindex 565298b6..67bca5b9 100644--- a/test/unit/modules/test_sfp_securitytrails.py+++ b/test/unit/modules/test_sfp_securitytrails.py@@ -1,4 +1,5 @@# test_sfp_securitytrails.py+import pytestimport unittestfrom modules.sfp_securitytrails import sfp_securitytrails@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulesecuritytrails(unittest.TestCase):"""Test modules.sfp_securitytrails"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_securitytrails()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_seon.py b/test/unit/modules/test_sfp_seon.pyindex c48dfbfe..71c89596 100644--- a/test/unit/modules/test_sfp_seon.py+++ b/test/unit/modules/test_sfp_seon.py@@ -1,4 +1,5 @@# test_sfp_seon.py+import pytestimport unittestfrom modules.sfp_seon import sfp_seon@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleseon(unittest.TestCase):"""Test modules.sfp_seon"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3-DEV',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_seon()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_shodan.py b/test/unit/modules/test_sfp_shodan.pyindex 86c5f804..68f60906 100644--- a/test/unit/modules/test_sfp_shodan.py+++ b/test/unit/modules/test_sfp_shodan.py@@ -1,4 +1,5 @@# test_sfp_shodan.py+import pytestimport unittestfrom modules.sfp_shodan import sfp_shodan@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleshodan(unittest.TestCase):"""Test modules.sfp_shodan"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_shodan()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_similar.py b/test/unit/modules/test_sfp_similar.pyindex 3c46fccd..82bfdb37 100644--- a/test/unit/modules/test_sfp_similar.py+++ b/test/unit/modules/test_sfp_similar.py@@ -1,4 +1,5 @@# test_sfp_similar.py+import pytestimport unittestfrom modules.sfp_similar import sfp_similar@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulesimilar(unittest.TestCase):"""Test modules.sfp_similar"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_similar()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_skymem.py b/test/unit/modules/test_sfp_skymem.pyindex 59fe3e46..14e0b751 100644--- a/test/unit/modules/test_sfp_skymem.py+++ b/test/unit/modules/test_sfp_skymem.py@@ -1,4 +1,5 @@# test_sfp_skymem.py+import pytestimport unittestfrom modules.sfp_skymem import sfp_skymem@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleskymem(unittest.TestCase):"""Test modules.sfp_skymem"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_skymem()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_slideshare.py b/test/unit/modules/test_sfp_slideshare.pyindex 098e487c..188754f9 100644--- a/test/unit/modules/test_sfp_slideshare.py+++ b/test/unit/modules/test_sfp_slideshare.py@@ -1,4 +1,5 @@# test_sfp_slideshare.py+import pytestimport unittestfrom modules.sfp_slideshare import sfp_slideshare@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleslideshare(unittest.TestCase):"""Test modules.sfp_slideshare"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_slideshare()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_snov.py b/test/unit/modules/test_sfp_snov.pyindex 391920c4..a0f0b9ec 100644--- a/test/unit/modules/test_sfp_snov.py+++ b/test/unit/modules/test_sfp_snov.py@@ -1,4 +1,5 @@# test_sfp_snov.py+import pytestimport unittestfrom modules.sfp_snov import sfp_snov@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulesnov(unittest.TestCase):"""Test modules.sfp_snov"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_snov()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_social.py b/test/unit/modules/test_sfp_social.pyindex c9937364..0e78a032 100644--- a/test/unit/modules/test_sfp_social.py+++ b/test/unit/modules/test_sfp_social.py@@ -1,4 +1,5 @@# test_sfp_social.py+import pytestimport unittestfrom modules.sfp_social import sfp_social@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulesocial(unittest.TestCase):"""Test modules.sfp_social"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_social()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_sociallinks.py b/test/unit/modules/test_sfp_sociallinks.pyindex 19e5f560..03437e3e 100644--- a/test/unit/modules/test_sfp_sociallinks.py+++ b/test/unit/modules/test_sfp_sociallinks.py@@ -1,4 +1,5 @@# test_sfp_sociallinks.py+import pytestimport unittestfrom modules.sfp_sociallinks import sfp_sociallinks@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulesociallinks(unittest.TestCase):"""Test modules.sfp_sociallinks"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3-DEV',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_sociallinks()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_socialprofiles.py b/test/unit/modules/test_sfp_socialprofiles.pyindex a2c528c6..1a03cc7b 100644--- a/test/unit/modules/test_sfp_socialprofiles.py+++ b/test/unit/modules/test_sfp_socialprofiles.py@@ -1,4 +1,5 @@# test_sfp_socialprofiles.py+import pytestimport unittestfrom modules.sfp_socialprofiles import sfp_socialprofiles@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulesocialprofiles(unittest.TestCase):"""Test modules.sfp_socialprofiles"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_socialprofiles()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_sorbs.py b/test/unit/modules/test_sfp_sorbs.pyindex 6b5f0994..737a9b42 100644--- a/test/unit/modules/test_sfp_sorbs.py+++ b/test/unit/modules/test_sfp_sorbs.py@@ -1,4 +1,5 @@# test_sfp_sorbs.py+import pytestimport unittestfrom modules.sfp_sorbs import sfp_sorbs@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulesorbs(unittest.TestCase):"""Test modules.sfp_sorbs"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_sorbs()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_spamcop.py b/test/unit/modules/test_sfp_spamcop.pyindex f4b2a744..fc8671d3 100644--- a/test/unit/modules/test_sfp_spamcop.py+++ b/test/unit/modules/test_sfp_spamcop.py@@ -1,4 +1,5 @@# test_sfp_spamcop.py+import pytestimport unittestfrom modules.sfp_spamcop import sfp_spamcop@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulespamcop(unittest.TestCase):"""Test modules.sfp_spamcop"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_spamcop()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_spamhaus.py b/test/unit/modules/test_sfp_spamhaus.pyindex f920b58f..f860d517 100644--- a/test/unit/modules/test_sfp_spamhaus.py+++ b/test/unit/modules/test_sfp_spamhaus.py@@ -1,4 +1,5 @@# test_sfp_spamhaus.py+import pytestimport unittestfrom modules.sfp_spamhaus import sfp_spamhaus@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulespamhaus(unittest.TestCase):"""Test modules.sfp_spamhaus"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_spamhaus()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_spider.py b/test/unit/modules/test_sfp_spider.pyindex 6885dad9..18a7f89d 100644--- a/test/unit/modules/test_sfp_spider.py+++ b/test/unit/modules/test_sfp_spider.py@@ -1,4 +1,5 @@# test_sfp_spider.py+import pytestimport unittestfrom modules.sfp_spider import sfp_spider@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulespider(unittest.TestCase):"""Test modules.sfp_spider"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_spider()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_spur.py b/test/unit/modules/test_sfp_spur.pyindex b7ccd0ef..aa5fff2f 100644--- a/test/unit/modules/test_sfp_spur.py+++ b/test/unit/modules/test_sfp_spur.py@@ -1,4 +1,5 @@# test_sfp_spur.py+import pytestimport unittestfrom modules.sfp_spur import sfp_spur@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulespur(unittest.TestCase):"""Test modules.sfp_spur"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_spur()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_spyonweb.py b/test/unit/modules/test_sfp_spyonweb.pyindex 0af6a37a..49654787 100644--- a/test/unit/modules/test_sfp_spyonweb.py+++ b/test/unit/modules/test_sfp_spyonweb.py@@ -1,4 +1,5 @@# test_sfp_spyonweb.py+import pytestimport unittestfrom modules.sfp_spyonweb import sfp_spyonweb@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulespyonweb(unittest.TestCase):"""Test modules.sfp_spyonweb"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_spyonweb()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_spyse.py b/test/unit/modules/test_sfp_spyse.pyindex 70aee1e3..1f0821c2 100644--- a/test/unit/modules/test_sfp_spyse.py+++ b/test/unit/modules/test_sfp_spyse.py@@ -1,4 +1,5 @@# test_sfp_spyse.py+import pytestimport unittestfrom modules.sfp_spyse import sfp_spyse@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulespyse(unittest.TestCase):"""Test modules.sfp_spyse"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_spyse()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_sslcert.py b/test/unit/modules/test_sfp_sslcert.pyindex f70e6a79..516ae074 100644--- a/test/unit/modules/test_sfp_sslcert.py+++ b/test/unit/modules/test_sfp_sslcert.py@@ -1,4 +1,5 @@# test_sfp_sslcert.py+import pytestimport unittestfrom modules.sfp_sslcert import sfp_sslcert@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulesslcert(unittest.TestCase):"""Test modules.sfp_sslcert"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_sslcert()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_strangeheaders.py b/test/unit/modules/test_sfp_strangeheaders.pyindex 7032cac0..8349d441 100644--- a/test/unit/modules/test_sfp_strangeheaders.py+++ b/test/unit/modules/test_sfp_strangeheaders.py@@ -1,4 +1,5 @@# test_sfp_strangeheaders.py+import pytestimport unittestfrom modules.sfp_strangeheaders import sfp_strangeheaders@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleStrangeHeaders(unittest.TestCase):"""Test modules.sfp_strangeheaders"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_strangeheaders()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_subdomain_takeover.py b/test/unit/modules/test_sfp_subdomain_takeover.pyindex 4ba7adc4..17a61007 100644--- a/test/unit/modules/test_sfp_subdomain_takeover.py+++ b/test/unit/modules/test_sfp_subdomain_takeover.py@@ -1,4 +1,5 @@# test_sfp_subdomain_takeover.py+import pytestimport unittestfrom modules.sfp_subdomain_takeover import sfp_subdomain_takeover@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulesubdomain_takeover(unittest.TestCase):"""Test modules.sfp_subdomain_takeover"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_subdomain_takeover()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_talosintel.py b/test/unit/modules/test_sfp_talosintel.pyindex 209d53d9..a531cc00 100644--- a/test/unit/modules/test_sfp_talosintel.py+++ b/test/unit/modules/test_sfp_talosintel.py@@ -1,4 +1,5 @@# test_sfp_talosintel.py+import pytestimport unittestfrom modules.sfp_talosintel import sfp_talosintel@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuletalosintel(unittest.TestCase):"""Test modules.sfp_talosintel"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_talosintel()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_template.py b/test/unit/modules/test_sfp_template.pyindex cca5e664..edf153c7 100644--- a/test/unit/modules/test_sfp_template.py+++ b/test/unit/modules/test_sfp_template.py@@ -1,37 +1,17 @@# test_sfp_template.py+import pytestimport unittestfrom modules.sfp_template import sfp_templatefrom sflib import SpiderFootclass TestModuletemplate(unittest.TestCase):"""Test modules.sfp_template"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_template()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_textmagic.py b/test/unit/modules/test_sfp_textmagic.pyindex 59988f18..603e4316 100644--- a/test/unit/modules/test_sfp_textmagic.py+++ b/test/unit/modules/test_sfp_textmagic.py@@ -1,4 +1,5 @@# test_sfp_textmagic.py+import pytestimport unittestfrom modules.sfp_textmagic import sfp_textmagic@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuletextmagic(unittest.TestCase):"""Test modules.sfp_textmagic"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_textmagic()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_threatcrowd.py b/test/unit/modules/test_sfp_threatcrowd.pyindex 913b91bb..efd569aa 100644--- a/test/unit/modules/test_sfp_threatcrowd.py+++ b/test/unit/modules/test_sfp_threatcrowd.py@@ -1,4 +1,5 @@# test_sfp_threatcrowd.py+import pytestimport unittestfrom modules.sfp_threatcrowd import sfp_threatcrowd@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulethreatcrowd(unittest.TestCase):"""Test modules.sfp_threatcrowd"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_threatcrowd()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_threatminer.py b/test/unit/modules/test_sfp_threatminer.pyindex 410ba328..bac8a7e1 100644--- a/test/unit/modules/test_sfp_threatminer.py+++ b/test/unit/modules/test_sfp_threatminer.py@@ -1,4 +1,5 @@# test_sfp_threatminer.py+import pytestimport unittestfrom modules.sfp_threatminer import sfp_threatminer@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulethreatminer(unittest.TestCase):"""Test modules.sfp_threatminer"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_threatminer()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_tldsearch.py b/test/unit/modules/test_sfp_tldsearch.pyindex 66d0abd3..21bacda3 100644--- a/test/unit/modules/test_sfp_tldsearch.py+++ b/test/unit/modules/test_sfp_tldsearch.py@@ -1,4 +1,5 @@# test_sfp_tldsearch.py+import pytestimport unittestfrom modules.sfp_tldsearch import sfp_tldsearch@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuletldsearch(unittest.TestCase):"""Test modules.sfp_tldsearch"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_tldsearch()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_tool_cmseek.py b/test/unit/modules/test_sfp_tool_cmseek.pyindex 8678a90a..8bffd7f6 100644--- a/test/unit/modules/test_sfp_tool_cmseek.py+++ b/test/unit/modules/test_sfp_tool_cmseek.py@@ -1,4 +1,5 @@# test_sfp_tool_cmseek.py+import pytestimport unittestfrom modules.sfp_tool_cmseek import sfp_tool_cmseek@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleCmseek(unittest.TestCase):"""Test modules.sfp_tool_cmseek"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_tool_cmseek()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_tool_dnstwist.py b/test/unit/modules/test_sfp_tool_dnstwist.pyindex 863d05cc..b078a057 100644--- a/test/unit/modules/test_sfp_tool_dnstwist.py+++ b/test/unit/modules/test_sfp_tool_dnstwist.py@@ -1,4 +1,5 @@# test_sfp_tool_dnstwist.py+import pytestimport unittestfrom modules.sfp_tool_dnstwist import sfp_tool_dnstwist@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuletool_dnstwist(unittest.TestCase):"""Test modules.sfp_tool_dnstwist"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_tool_dnstwist()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_tool_nmap.py b/test/unit/modules/test_sfp_tool_nmap.pyindex 485b42c9..7d53c0cf 100644--- a/test/unit/modules/test_sfp_tool_nmap.py+++ b/test/unit/modules/test_sfp_tool_nmap.py@@ -1,4 +1,5 @@# test_sfp_tool_nmap.py+import pytestimport unittestfrom modules.sfp_tool_nmap import sfp_tool_nmap@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuletool_nmap(unittest.TestCase):"""Test modules.sfp_tool_nmap"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_tool_nmap()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_tool_whatweb.py b/test/unit/modules/test_sfp_tool_whatweb.pyindex 6e1a07c4..1a3d1203 100644--- a/test/unit/modules/test_sfp_tool_whatweb.py+++ b/test/unit/modules/test_sfp_tool_whatweb.py@@ -1,4 +1,5 @@# test_sfp_tool_whatweb.py+import pytestimport unittestfrom modules.sfp_tool_whatweb import sfp_tool_whatweb@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleWhatweb(unittest.TestCase):"""Test modules.sfp_tool_whatweb"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_tool_whatweb()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_torch.py b/test/unit/modules/test_sfp_torch.pyindex c136054d..53752c69 100644--- a/test/unit/modules/test_sfp_torch.py+++ b/test/unit/modules/test_sfp_torch.py@@ -1,4 +1,5 @@# test_sfp_torch.py+import pytestimport unittestfrom modules.sfp_torch import sfp_torch@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuletorch(unittest.TestCase):"""Test modules.sfp_torch"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_torch()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_torexits.py b/test/unit/modules/test_sfp_torexits.pyindex 97cfc8c0..32d469ab 100644--- a/test/unit/modules/test_sfp_torexits.py+++ b/test/unit/modules/test_sfp_torexits.py@@ -1,4 +1,5 @@# test_sfp_torexits.py+import pytestimport unittestfrom modules.sfp_torexits import sfp_torexits@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuletorexits(unittest.TestCase):"""Test modules.sfp_torexits"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_torexits()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_totalhash.py b/test/unit/modules/test_sfp_totalhash.pyindex a823afc4..a8a7cc9e 100644--- a/test/unit/modules/test_sfp_totalhash.py+++ b/test/unit/modules/test_sfp_totalhash.py@@ -1,4 +1,5 @@# test_sfp_totalhash.py+import pytestimport unittestfrom modules.sfp_totalhash import sfp_totalhash@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuletotalhash(unittest.TestCase):"""Test modules.sfp_totalhash"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_totalhash()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_trashpanda.py b/test/unit/modules/test_sfp_trashpanda.pyindex 281e66f6..7866709e 100644--- a/test/unit/modules/test_sfp_trashpanda.py+++ b/test/unit/modules/test_sfp_trashpanda.py@@ -1,4 +1,5 @@# test_sfp_trashpanda.py+import pytestimport unittestfrom modules.sfp_trashpanda import sfp_trashpanda@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuletrashpanda(unittest.TestCase):"""Test modules.sfp_trashpanda"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_trashpanda()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_trumail.py b/test/unit/modules/test_sfp_trumail.pyindex 512e5983..d09ea86f 100644--- a/test/unit/modules/test_sfp_trumail.py+++ b/test/unit/modules/test_sfp_trumail.py@@ -1,4 +1,5 @@# test_sfp_trumail.py+import pytestimport unittestfrom modules.sfp_trumail import sfp_trumail@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuletrumail(unittest.TestCase):"""Test modules.sfp_trumail"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_trumail()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_twilio.py b/test/unit/modules/test_sfp_twilio.pyindex 1c1f9528..b8f94e43 100644--- a/test/unit/modules/test_sfp_twilio.py+++ b/test/unit/modules/test_sfp_twilio.py@@ -1,4 +1,5 @@# test_sfp_twilio.py+import pytestimport unittestfrom modules.sfp_twilio import sfp_twilio@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuletwilio(unittest.TestCase):"""Test modules.sfp_twilio"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_twilio()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_twitter.py b/test/unit/modules/test_sfp_twitter.pyindex 6aa98ef9..5423866b 100644--- a/test/unit/modules/test_sfp_twitter.py+++ b/test/unit/modules/test_sfp_twitter.py@@ -1,4 +1,5 @@# test_sfp_twitter.py+import pytestimport unittestfrom modules.sfp_twitter import sfp_twitter@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuletwitter(unittest.TestCase):"""Test modules.sfp_twitter"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_twitter()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_uceprotect.py b/test/unit/modules/test_sfp_uceprotect.pyindex d6156f1b..84a24d04 100644--- a/test/unit/modules/test_sfp_uceprotect.py+++ b/test/unit/modules/test_sfp_uceprotect.py@@ -1,4 +1,5 @@# test_sfp_uceprotect.py+import pytestimport unittestfrom modules.sfp_uceprotect import sfp_uceprotect@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleuceprotect(unittest.TestCase):"""Test modules.sfp_uceprotect"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_uceprotect()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_urlscan.py b/test/unit/modules/test_sfp_urlscan.pyindex 2cf1f067..e7b88e18 100644--- a/test/unit/modules/test_sfp_urlscan.py+++ b/test/unit/modules/test_sfp_urlscan.py@@ -1,4 +1,5 @@# test_sfp_urlscan.py+import pytestimport unittestfrom modules.sfp_urlscan import sfp_urlscan@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleurlscan(unittest.TestCase):"""Test modules.sfp_urlscan"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_urlscan()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_venmo.py b/test/unit/modules/test_sfp_venmo.pyindex b47ab845..8ad113ec 100644--- a/test/unit/modules/test_sfp_venmo.py+++ b/test/unit/modules/test_sfp_venmo.py@@ -1,4 +1,5 @@# test_sfp_venmo.py+import pytestimport unittestfrom modules.sfp_venmo import sfp_venmo@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulevenmo(unittest.TestCase):"""Test modules.sfp_venmo"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_venmo()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_viewdns.py b/test/unit/modules/test_sfp_viewdns.pyindex f26a4ebc..4fdab58f 100644--- a/test/unit/modules/test_sfp_viewdns.py+++ b/test/unit/modules/test_sfp_viewdns.py@@ -1,4 +1,5 @@# test_sfp_viewdns.py+import pytestimport unittestfrom modules.sfp_viewdns import sfp_viewdns@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleviewdns(unittest.TestCase):"""Test modules.sfp_viewdns"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_viewdns()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_virustotal.py b/test/unit/modules/test_sfp_virustotal.pyindex 20ca92a0..9e246d17 100644--- a/test/unit/modules/test_sfp_virustotal.py+++ b/test/unit/modules/test_sfp_virustotal.py@@ -1,4 +1,5 @@# test_sfp_virustotal.py+import pytestimport unittestfrom modules.sfp_virustotal import sfp_virustotal@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulevirustotal(unittest.TestCase):"""Test modules.sfp_virustotal"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_virustotal()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_voipbl.py b/test/unit/modules/test_sfp_voipbl.pyindex 013eb5f6..0078a6f5 100644--- a/test/unit/modules/test_sfp_voipbl.py+++ b/test/unit/modules/test_sfp_voipbl.py@@ -1,4 +1,5 @@# test_sfp_voipbl.py+import pytestimport unittestfrom modules.sfp_voipbl import sfp_voipbl@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulevoipbl(unittest.TestCase):"""Test modules.sfp_voipbl"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_voipbl()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_vxvault.py b/test/unit/modules/test_sfp_vxvault.pyindex 42b6d2d9..2f8940fc 100644--- a/test/unit/modules/test_sfp_vxvault.py+++ b/test/unit/modules/test_sfp_vxvault.py@@ -1,4 +1,5 @@# test_sfp_vxvault.py+import pytestimport unittestfrom modules.sfp_vxvault import sfp_vxvault@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulevxvault(unittest.TestCase):"""Test modules.sfp_vxvault"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_vxvault()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_watchguard.py b/test/unit/modules/test_sfp_watchguard.pyindex 46f51b0f..ab7ece0e 100644--- a/test/unit/modules/test_sfp_watchguard.py+++ b/test/unit/modules/test_sfp_watchguard.py@@ -1,4 +1,5 @@# test_sfp_watchguard.py+import pytestimport unittestfrom modules.sfp_watchguard import sfp_watchguard@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulewatchguard(unittest.TestCase):"""Test modules.sfp_watchguard"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_watchguard()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_webanalytics.py b/test/unit/modules/test_sfp_webanalytics.pyindex 6de281a0..2b49946a 100644--- a/test/unit/modules/test_sfp_webanalytics.py+++ b/test/unit/modules/test_sfp_webanalytics.py@@ -1,4 +1,5 @@# test_sfp_webanalytics.py+import pytestimport unittestfrom modules.sfp_webanalytics import sfp_webanalytics@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleWebAnalytics(unittest.TestCase):"""Test modules.sfp_webanalytics"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_webanalytics()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_webframework.py b/test/unit/modules/test_sfp_webframework.pyindex 9ba87863..560f35a8 100644--- a/test/unit/modules/test_sfp_webframework.py+++ b/test/unit/modules/test_sfp_webframework.py@@ -1,4 +1,5 @@# test sfp_webframework.py+import pytestimport unittestfrom modules.sfp_webframework import sfp_webframework@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleWebFramework(unittest.TestCase):"""Test modules.sfp_webframework"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_webframework()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_webserver.py b/test/unit/modules/test_sfp_webserver.pyindex b573718f..32a97486 100644--- a/test/unit/modules/test_sfp_webserver.py+++ b/test/unit/modules/test_sfp_webserver.py@@ -1,4 +1,5 @@# test_sfp_webserver.py+import pytestimport unittestfrom modules.sfp_webserver import sfp_webserver@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleWebserver(unittest.TestCase):"""Test modules.sfp_webserver"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_webserver()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_whatcms.py b/test/unit/modules/test_sfp_whatcms.pyindex dbd8b5a5..72d3b92b 100644--- a/test/unit/modules/test_sfp_whatcms.py+++ b/test/unit/modules/test_sfp_whatcms.py@@ -1,4 +1,5 @@# test_sfp_whatcms.py+import pytestimport unittestfrom modules.sfp_whatcms import sfp_whatcms@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleWhatCMS(unittest.TestCase):"""Test modules.sfp_whatcms"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_whatcms()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_whois.py b/test/unit/modules/test_sfp_whois.pyindex 446a54c5..acd3dc4b 100644--- a/test/unit/modules/test_sfp_whois.py+++ b/test/unit/modules/test_sfp_whois.py@@ -1,4 +1,5 @@# test_sfp_whois.py+import pytestimport unittestfrom modules.sfp_whois import sfp_whois@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulewhois(unittest.TestCase):"""Test modules.sfp_whois"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_whois()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_whoisology.py b/test/unit/modules/test_sfp_whoisology.pyindex b3c53810..2f5b528d 100644--- a/test/unit/modules/test_sfp_whoisology.py+++ b/test/unit/modules/test_sfp_whoisology.py@@ -1,4 +1,5 @@# test_sfp_whoisology.py+import pytestimport unittestfrom modules.sfp_whoisology import sfp_whoisology@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulewhoisology(unittest.TestCase):"""Test modules.sfp_whoisology"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_whoisology()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_whoxy.py b/test/unit/modules/test_sfp_whoxy.pyindex f654c92c..fe7f356a 100644--- a/test/unit/modules/test_sfp_whoxy.py+++ b/test/unit/modules/test_sfp_whoxy.py@@ -1,4 +1,5 @@# test_sfp_whoxy.py+import pytestimport unittestfrom modules.sfp_whoxy import sfp_whoxy@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulewhoxy(unittest.TestCase):"""Test modules.sfp_whoxy"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_whoxy()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_wigle.py b/test/unit/modules/test_sfp_wigle.pyindex ca70b8c1..f6ba8267 100644--- a/test/unit/modules/test_sfp_wigle.py+++ b/test/unit/modules/test_sfp_wigle.py@@ -1,4 +1,5 @@# test_sfp_wigle.py+import pytestimport unittestfrom modules.sfp_wigle import sfp_wigle@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulewigle(unittest.TestCase):"""Test modules.sfp_wigle"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_wigle()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_wikileaks.py b/test/unit/modules/test_sfp_wikileaks.pyindex e8d8010d..dee24f46 100644--- a/test/unit/modules/test_sfp_wikileaks.py+++ b/test/unit/modules/test_sfp_wikileaks.py@@ -1,4 +1,5 @@# test_sfp_wikileaks.py+import pytestimport unittestfrom modules.sfp_wikileaks import sfp_wikileaks@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulewikileaks(unittest.TestCase):"""Test modules.sfp_wikileaks"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_wikileaks()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_wikipediaedits.py b/test/unit/modules/test_sfp_wikipediaedits.pyindex d820ec89..ad726dd5 100644--- a/test/unit/modules/test_sfp_wikipediaedits.py+++ b/test/unit/modules/test_sfp_wikipediaedits.py@@ -1,4 +1,5 @@# test_sfp_wikipediaedits.py+import pytestimport unittestfrom modules.sfp_wikipediaedits import sfp_wikipediaedits@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulewikipediaedits(unittest.TestCase):"""Test modules.sfp_wikipediaedits"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_wikipediaedits()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_xforce.py b/test/unit/modules/test_sfp_xforce.pyindex 7e0c4e95..3730ef73 100644--- a/test/unit/modules/test_sfp_xforce.py+++ b/test/unit/modules/test_sfp_xforce.py@@ -1,4 +1,5 @@# test_sfp_xforce.py+import pytestimport unittestfrom modules.sfp_xforce import sfp_xforce@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulexforce(unittest.TestCase):"""Test modules.sfp_xforce"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_xforce()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_yandexdns.py b/test/unit/modules/test_sfp_yandexdns.pyindex 9366cacd..ffaa2341 100644--- a/test/unit/modules/test_sfp_yandexdns.py+++ b/test/unit/modules/test_sfp_yandexdns.py@@ -1,4 +1,5 @@# test_sfp_yandexdns.py+import pytestimport unittestfrom modules.sfp_yandexdns import sfp_yandexdns@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleyandexdns(unittest.TestCase):"""Test modules.sfp_yandexdns"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_yandexdns()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_zetalytics.py b/test/unit/modules/test_sfp_zetalytics.pyindex cfd2065f..3c32b8f7 100644--- a/test/unit/modules/test_sfp_zetalytics.py+++ b/test/unit/modules/test_sfp_zetalytics.py@@ -1,4 +1,5 @@# test_sfp_zetalytics.py+import pytestimport unittestfrom modules.sfp_zetalytics import sfp_zetalytics@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModuleZetalytics(unittest.TestCase):"""Test modules.sfp_zetalytics"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_zetalytics()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/modules/test_sfp_zoneh.py b/test/unit/modules/test_sfp_zoneh.pyindex 7baf543c..0cb5a2e5 100644--- a/test/unit/modules/test_sfp_zoneh.py+++ b/test/unit/modules/test_sfp_zoneh.py@@ -1,4 +1,5 @@# test_sfp_zoneh.py+import pytestimport unittestfrom modules.sfp_zoneh import sfp_zoneh@@ -6,33 +7,12 @@ from sflib import SpiderFootfrom spiderfoot import SpiderFootEvent, SpiderFootTargetclass TestModulezoneh(unittest.TestCase):"""Test modules.sfp_zoneh"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_opts(self):module = sfp_zoneh()self.assertEqual(len(module.opts), len(module.optdescs))diff --git a/test/unit/spiderfoot/test_spiderfootdb.py b/test/unit/spiderfoot/test_spiderfootdb.pyindex 79e75d0b..b79e552f 100644--- a/test/unit/spiderfoot/test_spiderfootdb.py+++ b/test/unit/spiderfoot/test_spiderfootdb.py@@ -1,34 +1,15 @@# test_spiderfootdb.py+import pytestimport unittestfrom spiderfoot import SpiderFootDb, SpiderFootEventclass TestSpiderFootDb(unittest.TestCase):"""Test SpiderFootDb"""- default_options = {- '_debug': False,- '__logging': True,- '__outputfilter': None,- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0',- '_dnsserver': '',- '_fetchtimeout': 5,- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None,- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }def test_init_argument_opts_of_invalid_type_should_raise_TypeError(self):"""diff --git a/test/unit/spiderfoot/test_spiderfootplugin.py b/test/unit/spiderfoot/test_spiderfootplugin.pyindex e651017f..ff6ddc58 100644--- a/test/unit/spiderfoot/test_spiderfootplugin.py+++ b/test/unit/spiderfoot/test_spiderfootplugin.py@@ -1,36 +1,16 @@# test_spiderfootplugin.py+import pytestimport unittestfrom spiderfoot import SpiderFootDb, SpiderFootEvent, SpiderFootPlugin, SpiderFootTargetclass TestSpiderFootPlugin(unittest.TestCase):"""Test SpiderFoot"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_socks6dns': True,- '_torctlport': 9051,- }-def test_init(self):"""Test __init__(self)diff --git a/test/unit/test_spiderfoot.py b/test/unit/test_spiderfoot.pyindex 02ff12a7..9e96c082 100644--- a/test/unit/test_spiderfoot.py+++ b/test/unit/test_spiderfoot.py@@ -1,37 +1,17 @@# test_spiderfoot.py+import pytestimport unittestfrom sflib import SpiderFootfrom spiderfoot import SpiderFootTargetclass TestSpiderFoot(unittest.TestCase):"""Test SpiderFoot"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-default_modules = ["sfp_binstring","sfp_company",diff --git a/test/unit/test_spiderfoot_module_loading.py b/test/unit/test_spiderfoot_module_loading.pyindex 3d0111f3..d83363da 100644--- a/test/unit/test_spiderfoot_module_loading.py+++ b/test/unit/test_spiderfoot_module_loading.py@@ -1,37 +1,17 @@# test_spiderfoot_module_loading.pyimport os+import pytestimport unittestfrom sflib import SpiderFootclass TestSpiderFootModuleLoading(unittest.TestCase):"""Test SpiderFoot module loading"""- default_options = {- '_debug': False, # Debug- '__logging': True, # Logging in general- '__outputfilter': None, # Event types to filter from modules' output- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', # User-Agent to use for HTTP requests- '_dnsserver': '', # Override the default resolver- '_fetchtimeout': 5, # number of seconds before giving up on a fetch- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None, # List of modules. Will be set after start-up.- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-def test_module_loading(self):sf = SpiderFoot(self.default_options)diff --git a/test/unit/test_spiderfootcli.py b/test/unit/test_spiderfootcli.pyindex 275ed67d..a34295e2 100644--- a/test/unit/test_spiderfootcli.py+++ b/test/unit/test_spiderfootcli.py@@ -1,31 +1,18 @@# test_spiderfootcli.pyimport io+import pytestimport sysimport unittestfrom sfcli import SpiderFootCliclass TestSpiderFootCli(unittest.TestCase):"""Test TestSpiderFootCli"""- default_options = {- "cli.debug": False,- "cli.silent": False,- "cli.color": True,- "cli.output": "pretty",- "cli.history": True,- "cli.history_file": "",- "cli.spool": False,- "cli.spool_file": "",- "cli.ssl_verify": True,- "cli.username": "",- "cli.password": "",- "cli.server_baseurl": "http://127.0.0.1:5001"- }-def test_default(self):"""Test default(self, line)@@ -132,7 +119,7 @@ class TestSpiderFootCli(unittest.TestCase):"""Test do_debug(self, line)"""- sfcli = SpiderFootCli(self.default_options)+ sfcli = SpiderFootCli(self.cli_default_options)sfcli.do_debug(0)initial_debug_state = sfcli.ownopts['cli.debug']@@ -162,7 +149,7 @@ class TestSpiderFootCli(unittest.TestCase):"""Test do_history(self, line)"""- sfcli = SpiderFootCli(self.default_options)+ sfcli = SpiderFootCli(self.cli_default_options)sfcli.do_history(None)diff --git a/test/unit/test_spiderfootscanner.py b/test/unit/test_spiderfootscanner.pyindex 8e7869bc..1f36ec39 100644--- a/test/unit/test_spiderfootscanner.py+++ b/test/unit/test_spiderfootscanner.py@@ -1,35 +1,16 @@# test_spiderfootscanner.py+import pytestimport unittestimport uuidfrom sfscan import SpiderFootScannerclass TestSpiderFootScanner(unittest.TestCase):"""Test SpiderFootScanStatus"""- default_options = {- '_debug': False,- '__logging': True,- '__outputfilter': None,- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0',- '_dnsserver': '',- '_fetchtimeout': 5,- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None,- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }def test_init_argument_start_false_should_create_a_scan_without_starting_the_scan(self):"""diff --git a/test/unit/test_spiderfootwebui.py b/test/unit/test_spiderfootwebui.pyindex 3b47e226..475ae2d3 100644--- a/test/unit/test_spiderfootwebui.py+++ b/test/unit/test_spiderfootwebui.py@@ -1,38 +1,15 @@# test_spiderfootwebui.py+import pytestimport unittestfrom sfwebui import SpiderFootWebUiclass TestSpiderFootWebUi(unittest.TestCase):"""Test SpiderFootWebUi"""- default_options = {- '_debug': False,- '__logging': True,- '__outputfilter': None,- '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0',- '_dnsserver': '',- '_fetchtimeout': 5,- '_internettlds': 'https://publicsuffix.org/list/effective_tld_names.dat',- '_internettlds_cache': 72,- '_genericusers': "abuse,admin,billing,compliance,devnull,dns,ftp,hostmaster,inoc,ispfeedback,ispsupport,list-request,list,maildaemon,marketing,noc,no-reply,noreply,null,peering,peering-notify,peering-request,phish,phishing,postmaster,privacy,registrar,registry,root,routing-registry,rr,sales,security,spam,support,sysadmin,tech,undisclosed-recipients,unsubscribe,usenet,uucp,webmaster,www",- '__version__': '3.3',- '__database': 'spiderfoot.test.db', # note: test database file- '__modules__': None,- '_socks1type': '',- '_socks2addr': '',- '_socks3port': '',- '_socks4user': '',- '_socks5pwd': '',- '_torctlport': 9051,- '__logstdout': False- }-- default_web_options = {- 'root': '/'- }def test_init_no_options_should_raise(self):"""@@ -48,21 +25,30 @@ class TestSpiderFootWebUi(unittest.TestCase):"""Test __init__(self, config)"""- sfwebui = SpiderFootWebUi(self.default_web_options, self.default_options)+ opts = self.default_options+ opts['__modules__'] = dict()++ sfwebui = SpiderFootWebUi(self.web_default_options, opts)self.assertIsInstance(sfwebui, SpiderFootWebUi)def test_error_page(self):"""Test error_page(self)"""- sfwebui = SpiderFootWebUi(self.default_web_options, self.default_options)+ opts = self.default_options+ opts['__modules__'] = dict()++ sfwebui = SpiderFootWebUi(self.web_default_options, opts)sfwebui.error_page()def test_error_page_404(self):"""Test error_page_404(self, status, message, traceback, version)"""- sfwebui = SpiderFootWebUi(self.default_web_options, self.default_options)+ opts = self.default_options+ opts['__modules__'] = dict()++ sfwebui = SpiderFootWebUi(self.web_default_options, opts)error_page_404 = sfwebui.error_page_404(None, None, None, None)self.assertIsInstance(error_page_404, str)@@ -72,7 +58,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)clean_user_input = sfwebui.cleanUserInput(list())self.assertIsInstance(clean_user_input, list)@@ -82,7 +68,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)invalid_types = [None, "", dict()]for invalid_type in invalid_types:@@ -96,7 +82,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)search_results = sfwebui.searchBase(None, None, None)self.assertIsInstance(search_results, list)@@ -109,7 +95,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)search_results = sfwebui.scaneventresultexport("", "", "excel")self.assertIsInstance(search_results, bytes)@@ -119,7 +105,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)search_results = sfwebui.scaneventresultexport("", "", "excel")self.assertIsInstance(search_results, bytes)@@ -130,7 +116,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)search_results = sfwebui.scansearchresultexport("", "", "excel")self.assertIsInstance(search_results, bytes)@@ -141,7 +127,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)search_results = sfwebui.scanexportjsonmulti(None)self.assertIsInstance(search_results, bytes)@@ -152,7 +138,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)scan_viz = sfwebui.scanviz(None, None)self.assertIsInstance(scan_viz, str)@@ -163,7 +149,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)scan_viz_multi = sfwebui.scanvizmulti(None, None)self.assertIsInstance(scan_viz_multi, str)@@ -174,7 +160,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)scan_opts = sfwebui.scanopts("example scan instance")self.assertIsInstance(scan_opts, str)@@ -186,7 +172,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)rerunscan = sfwebui.rerunscan("example scan instance")self.assertIsInstance(rerunscan, str)@@ -197,7 +183,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)rerunscanmulti = sfwebui.rerunscanmulti("example scan instance")self.assertIsInstance(rerunscanmulti, str)@@ -214,7 +200,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)clone_scan = sfwebui.clonescan("example scan instance")self.assertIsInstance(clone_scan, str)@@ -224,7 +210,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)index = sfwebui.index()self.assertIsInstance(index, str)@@ -234,7 +220,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)scan_info = sfwebui.scaninfo("example scan instance")self.assertIsInstance(scan_info, str)@@ -251,7 +237,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)opts_export = sfwebui.optsexport(None)self.assertIsInstance(opts_export, str)@@ -261,7 +247,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)opts_raw = sfwebui.optsraw()self.assertIsInstance(opts_raw, bytes)@@ -271,7 +257,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)message = "example message"scan_error = sfwebui.error(message)@@ -284,7 +270,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)scan_delete = sfwebui.scandelete("example scan id", None)self.assertIsInstance(scan_delete, str)@@ -295,7 +281,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)scan_delete = sfwebui.scandeletemulti("example scan id", None)self.assertIsInstance(scan_delete, str)@@ -326,7 +312,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)event_types = sfwebui.eventtypes()self.assertIsInstance(event_types, bytes)@@ -336,7 +322,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)modules = sfwebui.eventtypes()self.assertIsInstance(modules, bytes)@@ -346,7 +332,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)ping = sfwebui.ping()self.assertIsInstance(ping, bytes)@@ -356,7 +342,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)query = sfwebui.query("SELECT 12345")self.assertIsInstance(query, bytes)self.assertIn(b"12345", query)@@ -374,7 +360,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)stop_scan = sfwebui.stopscanmulti("example scan id")self.assertIsInstance(stop_scan, str)@@ -385,7 +371,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)stop_scan = sfwebui.stopscan("example scan id")self.assertIsInstance(stop_scan, str)@@ -395,7 +381,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)scan_log = sfwebui.scanlog(None, None, None, None)self.assertIsInstance(scan_log, bytes)@@ -405,7 +391,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)scan_errors = sfwebui.scanerrors(None, None)self.assertIsInstance(scan_errors, bytes)@@ -415,7 +401,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)scan_list = sfwebui.scanlist()self.assertIsInstance(scan_list, bytes)@@ -425,7 +411,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)scan_status = sfwebui.scanstatus("example scan instance")self.assertIsInstance(scan_status, bytes)@@ -435,7 +421,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)scan_summary = sfwebui.scansummary(None, None)self.assertIsInstance(scan_summary, bytes)@@ -445,7 +431,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)scan_results = sfwebui.scaneventresults(None, None, None)self.assertIsInstance(scan_results, bytes)@@ -456,7 +442,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)scan_results = sfwebui.scaneventresultsunique(None, None, None)self.assertIsInstance(scan_results, str)@@ -466,7 +452,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)search_results = sfwebui.search(None, None, None)self.assertIsInstance(search_results, bytes)@@ -476,7 +462,7 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)scan_history = sfwebui.scanhistory(None)self.assertIsInstance(scan_history, bytes)@@ -487,6 +473,6 @@ class TestSpiderFootWebUi(unittest.TestCase):"""opts = self.default_optionsopts['__modules__'] = dict()- sfwebui = SpiderFootWebUi(self.default_web_options, opts)+ sfwebui = SpiderFootWebUi(self.web_default_options, opts)scan_element_type_discovery = sfwebui.scanelementtypediscovery(None, None)self.assertIsInstance(scan_element_type_discovery, str)