mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
change default port 80 to 80,443 and fix fofa_api module
This commit is contained in:
@@ -21,7 +21,7 @@ class FoFa(Search):
|
||||
发送搜索请求并做子域匹配
|
||||
"""
|
||||
self.page_num = 1
|
||||
subdomain_encode = f'domain={self.domain}'.encode('utf-8')
|
||||
subdomain_encode = f'domain={self.domain} || cert={self.domain}'.encode('utf-8')
|
||||
query_data = base64.b64encode(subdomain_encode)
|
||||
while True:
|
||||
time.sleep(self.delay)
|
||||
@@ -31,6 +31,7 @@ class FoFa(Search):
|
||||
'key': self.key,
|
||||
'qbase64': query_data,
|
||||
'page': self.page_num,
|
||||
'full': 'true',
|
||||
'size': 10000}
|
||||
resp = self.get(self.addr, query)
|
||||
if not resp:
|
||||
|
||||
Reference in New Issue
Block a user