* Alphabetize

* Apply ruff fixes and formatting

* Missed haveibeenpwned.

* Alphabetize

* Apply ruff fixes and formatting

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Lee Baird
2025-07-08 18:34:44 +01:00
committed by GitHub
co-authored by github-actions
parent 6d7a8e2c5f
commit a1945cc8a8
+35 -36
View File
@@ -63,6 +63,10 @@ class Core:
def bufferoverun_key() -> str:
return Core.api_keys()['bufferoverun']['key']
@staticmethod
def builtwith_key() -> str:
return Core.api_keys()['builtwith']['key']
@staticmethod
def censys_key() -> tuple:
return Core.api_keys()['censys']['id'], Core.api_keys()['censys']['secret']
@@ -87,6 +91,10 @@ class Core:
def github_key() -> str:
return Core.api_keys()['github']['key']
@staticmethod
def haveibeenpwned_key() -> str:
return Core.api_keys()['haveibeenpwned']['key']
@staticmethod
def hunter_key() -> str:
return Core.api_keys()['hunter']['key']
@@ -99,18 +107,22 @@ class Core:
def intelx_key() -> str:
return Core.api_keys()['intelx']['key']
@staticmethod
def leaklookup_key() -> str:
return Core.api_keys()['leaklookup']['key']
@staticmethod
def netlas_key() -> str:
return Core.api_keys()['netlas']['key']
@staticmethod
def pentest_tools_key() -> str:
return Core.api_keys()['pentestTools']['key']
@staticmethod
def onyphe_key() -> str:
return Core.api_keys()['onyphe']['key']
@staticmethod
def pentest_tools_key() -> str:
return Core.api_keys()['pentestTools']['key']
@staticmethod
def projectdiscovery_key() -> str:
return Core.api_keys()['projectDiscovery']['key']
@@ -119,6 +131,10 @@ class Core:
def rocketreach_key() -> str:
return Core.api_keys()['rocketreach']['key']
@staticmethod
def securityscorecard_key() -> str:
return Core.api_keys()['securityscorecard']['key']
@staticmethod
def security_trails_key() -> str:
return Core.api_keys()['securityTrails']['key']
@@ -127,14 +143,14 @@ class Core:
def shodan_key() -> str:
return Core.api_keys()['shodan']['key']
@staticmethod
def zoomeye_key() -> str:
return Core.api_keys()['zoomeye']['key']
@staticmethod
def tomba_key() -> tuple[str, str]:
return Core.api_keys()['tomba']['key'], Core.api_keys()['tomba']['secret']
@staticmethod
def venacus_key() -> str:
return Core.api_keys()['venacus']['key']
@staticmethod
def virustotal_key() -> str:
return Core.api_keys()['virustotal']['key']
@@ -144,24 +160,8 @@ class Core:
return Core.api_keys()['whoisxml']['key']
@staticmethod
def venacus_key() -> str:
return Core.api_keys()['venacus']['key']
@staticmethod
def haveibeenpwned_key() -> str:
return Core.api_keys()['haveibeenpwned']['key']
@staticmethod
def leaklookup_key() -> str:
return Core.api_keys()['leaklookup']['key']
@staticmethod
def securityscorecard_key() -> str:
return Core.api_keys()['securityscorecard']['key']
@staticmethod
def builtwith_key() -> str:
return Core.api_keys()['builtwith']['key']
def zoomeye_key() -> str:
return Core.api_keys()['zoomeye']['key']
@staticmethod
def proxy_list() -> list:
@@ -191,38 +191,42 @@ class Core:
Returns a list of supported search engines.
"""
return [
'api_endpoints',
'baidu',
'bevigil',
'bing',
'bingapi',
'bufferoverun',
'builtwith',
'brave',
'censys',
'certspotter',
'criminalip',
'crtsh',
'dnsdumpster',
'duckduckgo',
'dehashed',
'dnsdumpster',
'duckduckgo',
'fullhunt',
'github-code',
'hackertarget',
'haveibeenpwned',
'hunter',
'hunterhow',
'intelx',
'netlas',
'onyphe',
'leaklookup',
'linkedin',
'linkedin_links',
'netcraft',
'netlas',
'omnisint',
'onyphe',
'otx',
'pentesttools',
'projectdiscovery',
'qwant',
'rapiddns',
'rocketreach',
'securityscorecard',
'securityTrails',
'sitedossier',
'subdomaincenter',
@@ -232,17 +236,12 @@ class Core:
'threatminer',
'tomba',
'urlscan',
'venacus',
'virustotal',
'whoisxml',
'yahoo',
'zoomeye',
'zoomeyeapi',
'haveibeenpwned',
'leaklookup',
'securityscorecard',
'builtwith',
'api_endpoints', # Add the new API endpoint scanner
'venacus',
]
@staticmethod