This commit is contained in:
yhy 2022-10-18 18:05:10 +08:00
parent 2924e1ee3d
commit f0827f962d

View File

@ -286,7 +286,7 @@ def tools_insert_into_sqlite3(data):
conn.close() conn.close()
#读取本地红队工具链接文件转换成list #读取本地红队工具链接文件转换成list
def load_tools_list(): def load_tools_list():
with open('tools_list.yaml', 'r', encoding='utf-8')) as f: with open('tools_list.yaml', 'r', encoding='utf-8') as f:
list = yaml.load(f,Loader=yaml.FullLoader) list = yaml.load(f,Loader=yaml.FullLoader)
return list['tools_list'], list['keyword_list'], list['user_list'] return list['tools_list'], list['keyword_list'], list['user_list']
#获取红队工具的名称,更新时间,版本名称信息 #获取红队工具的名称,更新时间,版本名称信息