GithubHelp home page GithubHelp logo

fortunec00kie / bug-monitor Goto Github PK

View Code? Open in Web Editor NEW
275.0 16.0 61.0 31 KB

Seebug、structs、cve漏洞实时监控推送系统🔦

License: GNU General Public License v3.0

Python 100.00%
security bug monitor

bug-monitor's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bug-monitor's Issues

bugs report

requirements.txt

python-dateutil
pyyaml

database

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}})

seebug eval

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)

cve module import error

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 *

config path error

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.

获取不到CVE和seebug的信息

程序能正常运行,微信公众号appid appsecret 和cve_api已经添加,curl测试过https://www.saucs.com/ 此站的api,正常。
问题一 没办法获得CVE SEEBUG消息;
连接到mongodb:
issue

只有从apache获取一条数据。

问题二: 没发现推送到公众号

已经添加白名单ip ,另一第三方推送正常;

依赖库的问题

dateutil.relativedelta 和 python-dateutil 这两个是一个吧?安装的时候只能找到 python-dateutil,找不到另一个。
直接 pip install dateutil.relativedelta 会报错。
系统:CentOS 7 x64 Python36 with pip 9.0.1

关于指定关键词监控

您好,很喜欢您的项目,但我想问问您这项目准备支持指定关键词么?
每日全部推送的效果不太好,不是每个读者都需要的,部分漏洞也许没必要关注。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.