[fix] 修复关键字监控函数错误,导致重复通知

This commit is contained in:
yhy 2022-07-19 17:33:14 +08:00
parent fd6441aec3
commit a1b9633afd

View File

@ -209,7 +209,7 @@ def get_today_keyword_info(today_keyword_info_data):
try:
today_keyword_name = today_keyword_info_data[i]['keyword_name']
if exist_cve(today_keyword_name) == 1:
Verify = query_cve_info_database(today_keyword_name)
Verify = query_keyword_info_database(today_keyword_name)
if Verify == 0:
print("[+] 数据库里不存在{}".format(today_keyword_name))
today_all_keyword_info.append(today_keyword_info_data[i])