leesinz / Athena

Athena aims to aggregate vulnerability information from multiple sources and vendor bulletins, providing real-time push notifications to enhance security monitoring and response capabilities.
42 stars 3 forks source link

网络超时会导致主线程循环跳出 #8

Open MagakiReimu opened 2 months ago

MagakiReimu commented 2 months ago

报错日志

Collecting data from MSF
Request failed: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Read timed out. (read timeout=10). Retrying 1/3...
Request failed: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Read timed out. (read timeout=10). Retrying 2/3...
Request failed: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Read timed out. (read timeout=10). Retrying 3/3...
Traceback (most recent call last):
  File "main.py", line 47, in <module>
    main()
  File "main.py", line 41, in main
    vulnerabilities = gather_data()
  File "/app/processing/filter.py", line 19, in gather_data
    vulnerabilities = collector_instance.collect_vulnerabilities()
  File "/app/collectors/base_collector.py", line 20, in collect_vulnerabilities
    return self.parse_data(raw_data)
  File "/app/collectors/collector_msf.py", line 65, in parse_data
    'cve': self.extract_info(file['filename'])[1],
  File "/app/collectors/decorators.py", line 21, in wrapper
    msg = f"fail to fetch {self.source_name} data due to network error"
  AttributeError: 'str' object has no attribute 'source_name'
leesinz commented 2 months ago

最近比较忙,后面会抽空修复,和飞书bot,docker一并更新 thx

MagakiReimu commented 2 months ago

self = 'modules/exploits/multi/misc/calibre_exec.rb' AttributeError: 'str' object has no attribute 'source_name'