add support for unfixed apps
Hanno Böck

Hanno Böck commited on 2008-07-14 10:36:34
Zeige 1 geänderte Dateien mit 4 Einfügungen und 0 Löschungen.

... ...
@@ -42,8 +42,12 @@ def vulnprint(appname, version, safeversion, vuln, vfilename, subdir, fancy):
42 42
     if fancy:
43 43
         print _("Directory: %(appdir)s") % vars()
44 44
         if safeversion!="ok":
45
+            if safeversion!="":
45 46
                 print _("Vulnerable %(appname)s %(version)s found, please update to " \
46 47
                         "%(safeversion)s or above.") % vars()
48
+            else:
49
+                print _("Vulnerable %(appname)s %(version)s found, no fixed version available." \
50
+                        ) % vars()
47 51
             if vuln[:3] == "CVE":
48 52
                 print _("http://cve.mitre.org/cgi-bin/cvename.cgi?name=%(vuln)s") \
49 53
                         % vars()
50 54