├── nvdapi
├── __init__.py
├── urls.py
├── local_settings.ci
├── wsgi.py
└── settings.py
├── vulnerabilities
├── __init__.py
├── migrations
│ ├── __init__.py
│ ├── 0002_auto_20160109_1111.py
│ └── 0001_initial.py
├── tests.py
├── static
│ └── vulnerabilities
│ │ ├── img
│ │ ├── blue.jpg
│ │ ├── about
│ │ │ ├── 1.jpg
│ │ │ ├── 2.jpg
│ │ │ ├── 3.jpg
│ │ │ └── 4.jpg
│ │ ├── favicon.ico
│ │ ├── web_app.jpg
│ │ ├── header-bg.jpg
│ │ ├── map-image.png
│ │ ├── new_logo.png
│ │ ├── phone_app.jpg
│ │ ├── faces
│ │ │ ├── face-1.jpg
│ │ │ ├── face-2.jpg
│ │ │ ├── face-3.jpg
│ │ │ └── face-4.jpg
│ │ ├── logos
│ │ │ ├── aetuts.jpg
│ │ │ ├── envato.jpg
│ │ │ ├── wordpress.jpg
│ │ │ ├── designmodo.jpg
│ │ │ ├── microlancer.jpg
│ │ │ ├── themeforest.jpg
│ │ │ └── creative-market.jpg
│ │ ├── team
│ │ │ ├── 538346.jpg
│ │ │ └── a7cJ-PpH.jpg
│ │ ├── template
│ │ │ ├── bg3.jpg
│ │ │ ├── mac.png
│ │ │ ├── iphone3.png
│ │ │ └── examples
│ │ │ │ ├── home_11.jpg
│ │ │ │ ├── home_22.jpg
│ │ │ │ ├── home_33.jpg
│ │ │ │ └── home_44.jpg
│ │ ├── portfolio
│ │ │ ├── dreams.png
│ │ │ ├── escape.png
│ │ │ ├── golden.png
│ │ │ ├── roundicons.png
│ │ │ ├── treehouse.png
│ │ │ ├── dreams-preview.png
│ │ │ ├── escape-preview.png
│ │ │ ├── golden-preview.png
│ │ │ ├── roundicons-free.png
│ │ │ ├── startup-framework.png
│ │ │ ├── treehouse-preview.png
│ │ │ └── startup-framework-preview.png
│ │ └── showcases
│ │ │ ├── showcase-1
│ │ │ ├── bg.jpg
│ │ │ ├── bg2.jpg
│ │ │ ├── iphone.png
│ │ │ ├── iphones.png
│ │ │ └── examples
│ │ │ │ ├── home_1.jpg
│ │ │ │ ├── home_2.jpg
│ │ │ │ └── home_3.jpg
│ │ │ └── showcase-2
│ │ │ ├── bg2.jpg
│ │ │ ├── mac1.png
│ │ │ ├── mac2.png
│ │ │ └── examples
│ │ │ ├── home_4.jpg
│ │ │ └── home_6.jpg
│ │ ├── fonts
│ │ ├── FontAwesome.otf
│ │ ├── Pe-icon-7-stroke.eot
│ │ ├── Pe-icon-7-stroke.ttf
│ │ ├── Pe-icon-7-stroke.woff
│ │ ├── fontawesome-webfont.eot
│ │ ├── fontawesome-webfont.ttf
│ │ ├── fontawesome-webfont.woff
│ │ ├── glyphicons-halflings-regular.eot
│ │ ├── glyphicons-halflings-regular.ttf
│ │ ├── glyphicons-halflings-regular.woff
│ │ └── glyphicons-halflings-regular.woff2
│ │ ├── js
│ │ ├── cbpAnimatedHeader.min.js
│ │ ├── agency.js
│ │ ├── cbpAnimatedHeader.js
│ │ ├── classie.js
│ │ ├── contact_me.js
│ │ ├── awesome-landing-page.js
│ │ ├── jquery-ui-1.10.4.custom.min.js
│ │ └── bootstrap.min.js
│ │ └── css
│ │ ├── agency.css
│ │ ├── pe-icon-7-stroke.css
│ │ ├── font-awesome.min.css
│ │ └── font-awesome.css
├── admin.py
├── signals.py
├── templates
│ ├── search
│ │ └── indexes
│ │ │ └── vulnerabilities
│ │ │ └── vulnerability_text.txt
│ └── vulnerabilities
│ │ └── index.html
├── urls.py
├── search_indexes.py
├── serializers.py
├── models.py
└── views.py
├── Procfile
├── manage.py
├── requirements.txt
├── loaddata.py
├── cron.py
├── README.md
├── .gitignore
└── xml_parser.py
/nvdapi/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/vulnerabilities/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/vulnerabilities/migrations/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Procfile:
--------------------------------------------------------------------------------
1 | web: gunicorn cps.wsgi --log-file -
--------------------------------------------------------------------------------
/vulnerabilities/tests.py:
--------------------------------------------------------------------------------
1 | from django.test import TestCase
2 |
3 | # Create your tests here.
4 |
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/blue.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/blue.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/about/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/about/1.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/about/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/about/2.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/about/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/about/3.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/about/4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/about/4.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/favicon.ico
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/web_app.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/web_app.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/header-bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/header-bg.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/map-image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/map-image.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/new_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/new_logo.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/phone_app.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/phone_app.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/faces/face-1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/faces/face-1.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/faces/face-2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/faces/face-2.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/faces/face-3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/faces/face-3.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/faces/face-4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/faces/face-4.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/logos/aetuts.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/logos/aetuts.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/logos/envato.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/logos/envato.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/team/538346.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/team/538346.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/template/bg3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/template/bg3.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/template/mac.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/template/mac.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/logos/wordpress.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/logos/wordpress.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/team/a7cJ-PpH.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/team/a7cJ-PpH.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/logos/designmodo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/logos/designmodo.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/logos/microlancer.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/logos/microlancer.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/logos/themeforest.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/logos/themeforest.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/portfolio/dreams.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/portfolio/dreams.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/portfolio/escape.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/portfolio/escape.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/portfolio/golden.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/portfolio/golden.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/template/iphone3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/template/iphone3.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/fonts/Pe-icon-7-stroke.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/fonts/Pe-icon-7-stroke.eot
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/fonts/Pe-icon-7-stroke.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/fonts/Pe-icon-7-stroke.ttf
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/fonts/Pe-icon-7-stroke.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/fonts/Pe-icon-7-stroke.woff
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/portfolio/roundicons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/portfolio/roundicons.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/portfolio/treehouse.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/portfolio/treehouse.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/logos/creative-market.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/logos/creative-market.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/portfolio/dreams-preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/portfolio/dreams-preview.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/portfolio/escape-preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/portfolio/escape-preview.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/portfolio/golden-preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/portfolio/golden-preview.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/portfolio/roundicons-free.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/portfolio/roundicons-free.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/showcases/showcase-1/bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/showcases/showcase-1/bg.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/showcases/showcase-1/bg2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/showcases/showcase-1/bg2.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/showcases/showcase-2/bg2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/showcases/showcase-2/bg2.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/showcases/showcase-2/mac1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/showcases/showcase-2/mac1.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/showcases/showcase-2/mac2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/showcases/showcase-2/mac2.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/template/examples/home_11.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/template/examples/home_11.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/template/examples/home_22.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/template/examples/home_22.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/template/examples/home_33.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/template/examples/home_33.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/template/examples/home_44.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/template/examples/home_44.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/portfolio/startup-framework.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/portfolio/startup-framework.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/portfolio/treehouse-preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/portfolio/treehouse-preview.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/showcases/showcase-1/iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/showcases/showcase-1/iphone.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/showcases/showcase-1/iphones.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/showcases/showcase-1/iphones.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/portfolio/startup-framework-preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/portfolio/startup-framework-preview.png
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/showcases/showcase-1/examples/home_1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/showcases/showcase-1/examples/home_1.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/showcases/showcase-1/examples/home_2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/showcases/showcase-1/examples/home_2.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/showcases/showcase-1/examples/home_3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/showcases/showcase-1/examples/home_3.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/showcases/showcase-2/examples/home_4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/showcases/showcase-2/examples/home_4.jpg
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/img/showcases/showcase-2/examples/home_6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Diviei/nvdapi/HEAD/vulnerabilities/static/vulnerabilities/img/showcases/showcase-2/examples/home_6.jpg
--------------------------------------------------------------------------------
/vulnerabilities/admin.py:
--------------------------------------------------------------------------------
1 | from django.contrib import admin
2 | from vulnerabilities.models import *
3 |
4 | admin.site.register(Vulnerability)
5 | admin.site.register(Product)
6 | admin.site.register(VulnerabilitySource)
--------------------------------------------------------------------------------
/vulnerabilities/signals.py:
--------------------------------------------------------------------------------
1 | from django.dispatch import receiver
2 | from django.db.models.signals import pre_save, post_save, m2m_changed
3 | from vulnerabilities.models import Vulnerability
4 | from django.conf import settings
--------------------------------------------------------------------------------
/vulnerabilities/templates/search/indexes/vulnerabilities/vulnerability_text.txt:
--------------------------------------------------------------------------------
1 | {{ object.cve }}
2 | {{ object.description }}
3 | {% for product_version in object.product_version.all %}
4 | {{ product_version }}
5 | {% endfor%}
--------------------------------------------------------------------------------
/manage.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | import os
3 | import sys
4 |
5 | if __name__ == "__main__":
6 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "nvdapi.settings")
7 |
8 | from django.core.management import execute_from_command_line
9 |
10 | execute_from_command_line(sys.argv)
11 |
--------------------------------------------------------------------------------
/nvdapi/urls.py:
--------------------------------------------------------------------------------
1 | from django.conf.urls import patterns, include, url
2 | from django.contrib import admin
3 |
4 | urlpatterns = patterns('',
5 | # Examples:
6 | # url(r'^$', 'cps.views.home', name='home'),
7 | url(r'^', include('vulnerabilities.urls')),
8 | url(r'^admin/', include(admin.site.urls)),
9 | )
10 |
--------------------------------------------------------------------------------
/nvdapi/local_settings.ci:
--------------------------------------------------------------------------------
1 | SECRET_KEY = 'HIPERSECRETKEYHERE'
2 |
3 | TWITTER_CONSUMER_KEY = "AUX1"
4 | TWITTER_CONSUMER_SECRET = "AUX12"
5 | TWITTER_ACCESS_TOKEN = "AUX13"
6 | TWITTER_ACCESS_TOKEN_SECRET = "AUX14"
7 |
8 | HAYSTACK_CONNECTIONS = {
9 | 'default': {
10 | 'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',
11 | },
12 | }
13 |
--------------------------------------------------------------------------------
/requirements.txt:
--------------------------------------------------------------------------------
1 | amqp==1.4.8
2 | anyjson==0.3.3
3 | BeautifulSoup==3.2.1
4 | billiard==3.3.0.22
5 | celery==3.1.19
6 | click==3.3
7 | dj-database-url==0.3.0
8 | dj-static==0.0.6
9 | Django==1.8.2
10 | django-cors-headers==1.1.0
11 | django-filter==1.0.4
12 | django-haystack==2.4.1
13 | djangorestframework==3.5.3
14 | kombu==3.0.32
15 | pytz==2015.7
16 | redis==2.10.5
17 | requests==2.12.3
18 | static3==0.5.1
19 | urllib3==1.19.1
20 | wheel==0.29.0
21 |
--------------------------------------------------------------------------------
/vulnerabilities/urls.py:
--------------------------------------------------------------------------------
1 | from rest_framework import routers
2 | from django.conf.urls import url
3 | from django.views.generic import TemplateView
4 | from vulnerabilities.views import *
5 |
6 | router = routers.SimpleRouter(trailing_slash=False)
7 | router.register(r'vulnerabilities', VulnerabilityViewSet, base_name='vulnerability')
8 | urlpatterns = router.urls
9 |
10 | urlpatterns += [
11 | url(r'^$', TemplateView.as_view(template_name="vulnerabilities/index.html")),
12 | ]
--------------------------------------------------------------------------------
/nvdapi/wsgi.py:
--------------------------------------------------------------------------------
1 | """
2 | WSGI config for cps project.
3 |
4 | It exposes the WSGI callable as a module-level variable named ``application``.
5 |
6 | For more information on this file, see
7 | https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
8 | """
9 |
10 | import os
11 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "nvdapi.settings")
12 |
13 | from django.core.wsgi import get_wsgi_application
14 | from dj_static import Cling
15 |
16 | application = Cling(get_wsgi_application())
--------------------------------------------------------------------------------
/vulnerabilities/migrations/0002_auto_20160109_1111.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | from __future__ import unicode_literals
3 |
4 | from django.db import models, migrations
5 |
6 |
7 | class Migration(migrations.Migration):
8 |
9 | dependencies = [
10 | ('vulnerabilities', '0001_initial'),
11 | ]
12 |
13 | operations = [
14 | migrations.AlterField(
15 | model_name='product',
16 | name='version',
17 | field=models.CharField(max_length=50, null=True, blank=True),
18 | ),
19 | ]
20 |
--------------------------------------------------------------------------------
/vulnerabilities/search_indexes.py:
--------------------------------------------------------------------------------
1 | from haystack import indexes
2 | from vulnerabilities.models import Vulnerability
3 |
4 | class VulnerabilityIndex(indexes.SearchIndex, indexes.Indexable):
5 | text = indexes.CharField(document=True, use_template=True)
6 | cve = indexes.CharField(model_attr='cve')
7 | modified_on = indexes.DateTimeField(model_attr='modified_on')
8 |
9 | def get_model(self):
10 | return Vulnerability
11 |
12 | def index_queryset(self, using=None):
13 | """Used when the entire index for model is updated."""
14 | return self.get_model().objects.all()
--------------------------------------------------------------------------------
/loaddata.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | import os
3 | import sys
4 | import time
5 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "nvdapi.settings")
6 | import django
7 | django.setup()
8 | from xml_parser import *
9 | from subprocess import call
10 |
11 | range_from = 2002
12 | range_to = 2016
13 |
14 | for i in range(range_from, range_to+1):
15 | os.system("wget -O /tmp/aux.zip https://static.nvd.nist.gov/feeds/xml/cve/2.0/nvdcve-2.0-%i.xml.zip" % i)
16 | os.system("unzip -o /tmp/aux.zip -d /tmp/")
17 | e = xml.etree.ElementTree.parse('/tmp/nvdcve-2.0-%i.xml' % i).getroot()
18 | for entry in e:
19 | process_entry(entry)
20 |
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/js/cbpAnimatedHeader.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * cbpAnimatedHeader.min.js v1.0.0
3 | * http://www.codrops.com
4 | *
5 | * Licensed under the MIT license.
6 | * http://www.opensource.org/licenses/mit-license.php
7 | *
8 | * Copyright 2013, Codrops
9 | * http://www.codrops.com
10 | */
11 | var cbpAnimatedHeader=(function(){var b=document.documentElement,g=document.querySelector(".navbar-default"),e=false,a=300;function f(){window.addEventListener("scroll",function(h){if(!e){e=true;setTimeout(d,250)}},false)}function d(){var h=c();if(h>=a){classie.add(g,"navbar-shrink")}else{classie.remove(g,"navbar-shrink")}e=false}function c(){return window.pageYOffset||b.scrollTop}f()})();
12 |
--------------------------------------------------------------------------------
/cron.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | import os
3 | import sys
4 | import time
5 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "nvdapi.settings")
6 | import django
7 | django.setup()
8 | from xml_parser import *
9 | from subprocess import call
10 |
11 | # Download recent CVEs XML
12 | os.system("wget -O /tmp/recent.zip http://static.nvd.nist.gov/feeds/xml/cve/nvdcve-2.0-Recent.xml.zip")
13 | os.system("unzip -o /tmp/recent.zip -d /tmp/")
14 | e = xml.etree.ElementTree.parse('/tmp/nvdcve-2.0-recent.xml').getroot()
15 |
16 | for entry in e:
17 | process_entry(entry)
18 |
19 | os.system("wget -O /tmp/modified.zip http://static.nvd.nist.gov/feeds/xml/cve/nvdcve-2.0-Modified.xml.zip")
20 | os.system("unzip -o /tmp/modified.zip -d /tmp/")
21 | e = xml.etree.ElementTree.parse('/tmp/nvdcve-2.0-modified.xml').getroot()
22 |
23 | for entry in e:
24 | process_entry(entry)
--------------------------------------------------------------------------------
/vulnerabilities/static/vulnerabilities/js/agency.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Start Bootstrap - Agency Bootstrap Theme (http://startbootstrap.com)
3 | * Code licensed under the Apache License v2.0.
4 | * For details, see http://www.apache.org/licenses/LICENSE-2.0.
5 | */
6 |
7 | // jQuery for page scrolling feature - requires jQuery Easing plugin
8 | $(function() {
9 | $('a.page-scroll').bind('click', function(event) {
10 | var $anchor = $(this);
11 | $('html, body').stop().animate({
12 | scrollTop: $($anchor.attr('href')).offset().top
13 | }, 1500, 'easeInOutExpo');
14 | event.preventDefault();
15 | });
16 | });
17 |
18 | // Highlight the top nav as scrolling occurs
19 | $('body').scrollspy({
20 | target: '.navbar-fixed-top'
21 | })
22 |
23 | // Closes the Responsive Menu on Menu Item Click
24 | $('.navbar-collapse ul li a').click(function() {
25 | $('.navbar-toggle:visible').click();
26 | });
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | # NVDAPI
4 |
5 | NVDAPI is a JSON REST API project to share the list of vulnerabilities of the [National Vulnerability Database]
6 |
7 | It provides a method to list and detail CVEs and some filters/searchs as well.
8 |
9 | ## Dependencies
10 |
11 | - Pip ([How to install pip])
12 | - Virtualenv (```pip install virtualenv```)
13 |
14 | ## Installation
15 |
16 | ```sh
17 | git clone https://github.com/Diviei/nvdapi.git
18 | cd nvdapi
19 | virtualenv venv
20 | source venv/bin/activate
21 | pip install -r requirements.txt
22 | ```
23 |
24 | Create a file called `local_settings.py` inside nvdapi folder (where settings.py is) and add your SECRET_KEY
25 |
26 | ```python
27 | SECRET_KEY = "whatever"
28 | ```
29 |
30 | And now run the migrations
31 |
32 | ```sh
33 | python manage.py migrate
34 | ```
35 |
36 | [National Vulnerability Database]:
You have a method to list vulnerabilities with pagination and access certain cve detail.
100 |Filter vulnerability list by vendor, product name or version.
108 |If that were not enough there is a human friendly search (WIP)
116 |
154 | Full Stack Developer
156 | 164 |
169 | Sysadmin of the universe
171 | 179 |