fortunec00kie / bug-monitor Goto Github PK
View Code? Open in Web Editor NEWSeebug、structs、cve漏洞实时监控推送系统🔦
License: GNU General Public License v3.0
Seebug、structs、cve漏洞实时监控推送系统🔦
License: GNU General Public License v3.0
python-dateutil
pyyaml
diff --git a/lib/mongodb.py b/lib/mongodb.py
index 68bc5f8..11b84c2 100644
--- a/lib/mongodb.py
+++ b/lib/mongodb.py
@@ -69,6 +69,8 @@ def bug_early_clean():
"""
自动清理一个月之前保存的漏洞信息
"""
+ db = conn_mongo()
+ database = db.bugdata
before_data = datetime.date.today() - relativedelta(months=+1)
early = before_data.strftime("%Y-%m-%d")
database.remove({"addtime":{"$lt":early}})
I install PyV8 with this: https://github.com/brokenseal/PyV8-OS-X
Traceback (most recent call last):
File "index.py", line 40, in <module>
seebug_monitor()
File "index.py", line 24, in seebug_monitor
seebug_crawer()
File "/Users/xx/project/bug-monitor/seebug/seebug_crawer.py", line 25, in seebug_crawer
cookie = cookie_init()
File "/Users/xx/project/bug-monitor/seebug/seebug_cookie_init.py", line 62, in cookie_init
return get_jsluid(req)
File "/Users/xx/project/bug-monitor/seebug/seebug_cookie_init.py", line 24, in get_jsluid
get_jsl_clearance(req, post_cookie)
File "/Users/xx/project/bug-monitor/seebug/seebug_cookie_init.py", line 47, in get_jsl_clearance
ctxt.eval(script)
Boost.Python.ArgumentError: Python argument types in
JSContext.eval(JSContext, unicode)
did not match C++ signature:
eval(CContext {lvalue}, std::string source, std::string name='', int line=-1, int col=-1, boost::python::api::object precompiled=None)
import in _init.py first
diff --git a/cve/__init__.py b/cve/__init__.py
index 8cc1d1b..dede444 100644
--- a/cve/__init__.py
+++ b/cve/__init__.py
@@ -1,3 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-# @Author : mr.chery ([email protected])
\ No newline at end of file
+# @Author : mr.chery ([email protected])
+from cve import *
Traceback (most recent call last):
File "index.py", line 6, in <module>
from cve import *
File "/Users/xxx/project/bug-monitor/cve/__init__.py", line 4, in <module>
from cve import *
File "/Users/xxx/project/bug-monitor/cve/cve.py", line 13, in <module>
with open('../config.yaml', 'r') as f:
IOError: [Errno 2] No such file or directory: '../config.yaml'
I got interest in this project, but too many bugs, I will pull request later.
程序能正常运行,微信公众号appid appsecret 和cve_api已经添加,curl测试过https://www.saucs.com/ 此站的api,正常。
问题一 没办法获得CVE SEEBUG消息;
连接到mongodb:
只有从apache获取一条数据。
问题二: 没发现推送到公众号
已经添加白名单ip ,另一第三方推送正常;
mongodb.py
return database.find_one({"name": name})
这行没有考虑数据库为空的情况 导致报错
www.saucs.com
这个网站最后的更新时间是2019-10月份,最新2020年的信息是没法爬取的
dateutil.relativedelta 和 python-dateutil 这两个是一个吧?安装的时候只能找到 python-dateutil,找不到另一个。
直接 pip install dateutil.relativedelta
会报错。
系统:CentOS 7 x64 Python36 with pip 9.0.1
您好,很喜欢您的项目,但我想问问您这项目准备支持指定关键词么?
每日全部推送的效果不太好,不是每个读者都需要的,部分漏洞也许没必要关注。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.