Skip to content

Commit 3a2c016

Browse files
authored
修复一个小BUG
1 parent fc5ee7c commit 3a2c016

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

fofamap.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def banner():
2828
| _| (_) | _| (_| | | | | (_| | |_) |
2929
|_| \___/|_| \__,_|_| |_|\__,_| .__/
3030
|_| V1.1.3
31-
#Coded By Hx0战队 Update:2023.09.09""")
31+
#Coded By Hx0战队 Update:2023.09.11""")
3232
print(Fore.RED + "======基础配置=======")
3333
print(Fore.GREEN + f"[*]日志记录:{'开启' if logger_sw == 'on' else '关闭'}")
3434
if logger_sw == "on":
@@ -347,6 +347,7 @@ def get_search(query_str, scan_format):
347347
for data in database:
348348
if data not in set_database:
349349
set_database.append(data)
350+
print(database)
350351
if check_alive == "on" and fields != "Error" and scan_format is not True:
351352
fields = fields + ",HTTP Status Code"
352353
set_database = check_is_alive(set_database)
@@ -655,7 +656,8 @@ def flush(self):
655656
# 初始化参数
656657
HTTP_PREFIX = "http://"
657658
HTTPS_PREFIX = "https://"
658-
protocols = {"http": HTTP_PREFIX, "https": "", "kubernetes(https)": HTTPS_PREFIX, "nacos(http)": HTTP_PREFIX}
659+
protocols = {"http": HTTP_PREFIX, "https": "", "kubernetes(https)": HTTPS_PREFIX, "kubernetes(http)": HTTP_PREFIX,
660+
"nacos(https)": HTTPS_PREFIX, "nacos(http)": HTTP_PREFIX}
659661
key_database = []
660662
colorama.init(autoreset=True)
661663
Fore = colorama.Fore

0 commit comments

Comments
 (0)