From 4d4dd87a43013786d061bbd398282a3b80c84e63 Mon Sep 17 00:00:00 2001 From: lprat Date: Thu, 2 Sep 2021 10:50:17 +0200 Subject: [PATCH 1/2] Add redirect log to stdout and config to new feature --- conf/opencve.cfg.example | 9 ++++++++- docker-compose.yml | 3 +-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/conf/opencve.cfg.example b/conf/opencve.cfg.example index ddab50c..3fae264 100644 --- a/conf/opencve.cfg.example +++ b/conf/opencve.cfg.example @@ -39,6 +39,14 @@ display_recaptcha = False recaptcha_site_key = recaptcha_secret_key = +; Configuration exploit & exploited +exploit_link = exploit-db.com,packetstormsecurity.com +exploit_tag_nist = Exploit +exploited_local = CVE-2012-0158,CVE-2012-4681,CVE-2013-2551,CVE-2013-2471,CVE-2013-2423,CVE-2013-2465,CVE-2013-2463,CVE-2013-1489,CVE-2015-0311,CVE-2013-2551,CVE-2017-5638,CVE-2017-0143,CVE-2015-1641,CVE-2017-8759,CVE-2017-0144,CVE-2017-0199,CVE-2017-11882,CVE-2018-4878,CVE-2018-8174,CVE-2021-21985,CVE-2021-22900,CVE-2019-11510,CVE-2018-13379,CVE-2021-26857,CVE-2021-26858,CVE-2021-27065,CVE-2021-27101,CVE-2020-15505,CVE-2020-16898,CVE-2021-22899,CVE-2019-5591,CVE-2019-19781,CVE-2020-12812,CVE-2020-1472,CVE-2020-0787,CVE-2020-0796,CVE-2021-27104,CVE-2021-27103,CVE-2020-5902,CVE-2020-0601,CVE-2019-18935,CVE-2018-7600,CVE-2021-26855,CVE-2019-11580,CVE-2021-27102,CVE-2020-0688,CVE-2020-1938,CVE-2019-3396,CVE-2020-3452,CVE-2021-22894,CVE-2019-0604,CVE-2020-1350,CVE-2021-22893,CVE-2020-14882 +rss_exploited = https://us-cert.cisa.gov/ncas/alerts.xml,https://www.cert.ssi.gouv.fr/alerte/feed/,https://www.malware-traffic-analysis.net/blog-entries.rss +; delay between 2 checks of update rss in seconds +update_rss = 21600 + [api] ; Enable the API ratelimit ratelimit_enabled = False @@ -64,4 +72,3 @@ smtp_port = 465 smtp_use_tls = True smtp_username = smtp_password = - diff --git a/docker-compose.yml b/docker-compose.yml index 989ebcf..5e0060c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ services: dockerfile: Dockerfile depends_on: - postgres - command: webserver -b 0.0.0.0:8000 + command: webserver -b 0.0.0.0:8000 --timeout 120 --workers 1 --log-level info --access-logfile - networks: - backend ports: @@ -70,4 +70,3 @@ networks: volumes: postgres: - From 6cd93a35401872941b027926831178fbb3f1b310 Mon Sep 17 00:00:00 2001 From: lprat Date: Thu, 2 Sep 2021 16:31:33 +0200 Subject: [PATCH 2/2] remove config PR 91 --- conf/opencve.cfg.example | 8 -------- 1 file changed, 8 deletions(-) diff --git a/conf/opencve.cfg.example b/conf/opencve.cfg.example index 3fae264..a228a10 100644 --- a/conf/opencve.cfg.example +++ b/conf/opencve.cfg.example @@ -39,14 +39,6 @@ display_recaptcha = False recaptcha_site_key = recaptcha_secret_key = -; Configuration exploit & exploited -exploit_link = exploit-db.com,packetstormsecurity.com -exploit_tag_nist = Exploit -exploited_local = CVE-2012-0158,CVE-2012-4681,CVE-2013-2551,CVE-2013-2471,CVE-2013-2423,CVE-2013-2465,CVE-2013-2463,CVE-2013-1489,CVE-2015-0311,CVE-2013-2551,CVE-2017-5638,CVE-2017-0143,CVE-2015-1641,CVE-2017-8759,CVE-2017-0144,CVE-2017-0199,CVE-2017-11882,CVE-2018-4878,CVE-2018-8174,CVE-2021-21985,CVE-2021-22900,CVE-2019-11510,CVE-2018-13379,CVE-2021-26857,CVE-2021-26858,CVE-2021-27065,CVE-2021-27101,CVE-2020-15505,CVE-2020-16898,CVE-2021-22899,CVE-2019-5591,CVE-2019-19781,CVE-2020-12812,CVE-2020-1472,CVE-2020-0787,CVE-2020-0796,CVE-2021-27104,CVE-2021-27103,CVE-2020-5902,CVE-2020-0601,CVE-2019-18935,CVE-2018-7600,CVE-2021-26855,CVE-2019-11580,CVE-2021-27102,CVE-2020-0688,CVE-2020-1938,CVE-2019-3396,CVE-2020-3452,CVE-2021-22894,CVE-2019-0604,CVE-2020-1350,CVE-2021-22893,CVE-2020-14882 -rss_exploited = https://us-cert.cisa.gov/ncas/alerts.xml,https://www.cert.ssi.gouv.fr/alerte/feed/,https://www.malware-traffic-analysis.net/blog-entries.rss -; delay between 2 checks of update rss in seconds -update_rss = 21600 - [api] ; Enable the API ratelimit ratelimit_enabled = False