上线百度搜索监测

This commit is contained in:
MasonLiu committed 2025-01-10 16:56:13 +08:00
1 parent ad0403554e
commit 8ec55edd2a
19 files changed
+753 -79

No files matched your search

+14 -10
View File
@@ -66,15 +66,19 @@ def get_debug_config():
return debug
def get_kewords_config():
def get_kewords_config(item):
with open('./config/keywords.yaml', 'r', encoding="utf-8") as file:
config = yaml.safe_load(file)
Sogou_WX = config['Sogou-WX']
Doonsec_switch = config.get('Doonsec-switch', False)
Doonsec = config['Doonsec']
# print (Sogou_WX, Doonsec_switch, Doonsec)
return Sogou_WX, Doonsec_switch, Doonsec
if __name__ == "__main__":
get_kewords_config()
if item == 'Doonsec':
Doonsec_switch = config.get('Doonsec-switch', False)
Doonsec = config['Doonsec']
return Doonsec_switch, Doonsec
elif item == 'Sogou-WX':
Sogou_WX = config['Sogou-WX']
return Sogou_WX
elif item == 'Baidu':
Baidu = config['Baidu']
return Baidu
else:
logger.error("参数错误,请检查./config/keywords.yaml")
+1
View File
@@ -31,6 +31,7 @@ mode: [1, 2] # 运行模式,可多选
# 0:启用RSS抓取模式
# 1:启用搜狗-微信公众号文章监测
# 2:启用github项目监测
# 3:启用百度搜索内容监测
# 网址配置
url: https://info.masonliu.com/ # 请设置为您自己反代的域名,或者改为 http://127.0.0.1:5000 或者对应IP域名
+2 -1
View File
@@ -1,3 +1,4 @@
Sogou-WX: ["银行测试", "APP逆向", "渗透测试", "手机银行漏洞", "银行漏洞", "支付漏洞"] # 基于搜狗引擎搜索特定关键词的微信公众号文章
Doonsec-switch: False
Doonsec: ["逆向", "解包", "POC"] # 洞见微信安全资讯关键词
Doonsec: ["逆向", "解包", "POC"] # 洞见微信安全资讯关键词
Baidu: ["银行测试", "APP逆向", "渗透测试", "手机银行漏洞", "银行漏洞", "支付漏洞"] # 基于百度搜索特定关键词的文章