Commit eea1dade authored by PidgeyL's avatar PidgeyL
Browse files

Merge remote-tracking branch 'upstream/master'

parents bdd06dc1 1dd04656
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -41,10 +41,10 @@ print ("\n"+cve['summary'])
print ("\n== Vulnerable configurations\n")
for vul in cve['vulnerable_configuration']:
    print ("* {}".format(re.sub(r'\n', '-', vul['title'])))
if cve['cvss']:
if cve.get('cvss'):
    print ("\n== Common Vulnerability Scoring System")
    print ("CVSS value:: {}".format(cve['cvss']))
if cve['impact']:
if cve.get('impact'):
    print ("\n== Impact Metrics")
    print ("\n[cols=\"1,2\"]")
    print ("|===")
@@ -53,7 +53,7 @@ if cve['impact']:
        print ("|{}".format(t.title()))
        print ("|{}".format(cve['impact'][t]))
    print ("|===")
if cve['access']:
if cve.get('access'):
    print ("\n== Access to the vulnerability")
    print ("\n[cols=\"1,2\"]")
    print ("|===")
@@ -62,7 +62,7 @@ if cve['access']:
        print ("|{}".format(t.title()))
        print ("|{}".format(cve['access'][t]))
    print ("|===")
if cve['references']:
if cve.get('references'):
    print ("\n== References")
    if len(cve['references']) > 1:
        for ref in cve['references']: