Commit 7ae16024 authored by Pieter-Jan's avatar Pieter-Jan
Browse files

Merge pull request #92 from PidgeyL/development

Development
parents 27bf3269 9b779c7c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -3,9 +3,13 @@
#
# Simple XMPP bot to query for the last entries in the CVE database
#
# current command supported is:
# current commands supported are:
#
# last <max>
# cvetweet <max>
# browse
# search <vendor>\<product>
# get <cve>
#
# You need to add the XMPP bot in your roster if you want to communicate
# with it.
+2 −2
Original line number Diff line number Diff line
@@ -41,8 +41,8 @@ from lib.User import User
from lib.Config import Configuration
from lib.Toolkit import toStringFormattedCPE, toOldCPE, currentTime, isURL, vFeedName, convertDateToDBFormat
import lib.CVEs as cves
from bin.db_whitelist import *
from bin.db_blacklist import *
from sbin.db_whitelist import *
from sbin.db_blacklist import *

# parse command line arguments
argparser = argparse.ArgumentParser(description='Start CVE-Search web component')
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@
              {% if product != None %}
                {% for p in product %}
                  <tr>
                    <td><a href="/search/{{ vendor }}/{{ p }}">{{ p|htmlDecode }}</a></td>
                    <td><a href="/search/{{ vendor }}/{{ p|htmlEncode }}">{{ p|htmlDecode }}</a></td>
                  </tr>
                {% endfor %}
              {% else  %}
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@
              {% if product != None %}
                {% for p in product %}
                  <tr>
                    <td><a href="/search/{{ vendor }}/{{ p }}">{{ p|htmlDecode }}</a></td>
                    <td><a href="/search/{{ vendor }}/{{ p|htmlEncode }}">{{ p|htmlDecode }}</a></td>
                  </tr>
                {% endfor %}
              {% else  %}
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
          <ol class="breadcrumb">
            <li><a href="/browse">Vendors</a></li>
            <li><a href="/browse/{{ vendor }}">{{ vendor }}</a></li>
            <li class="active"> CVE's for {{ product }}</li>
            <li class="active"> CVE's for {{ product|htmlDecode }}</li>
          </ol>
          {% include 'table.html' %}
        </div>
Loading