Fixed two minor bugs with PostgreSQL reported by Sven Klemm, thanks!

This commit is contained in:
Bernardo Damele
2009-07-29 10:44:24 +00:00
parent 2c98c11e80
commit 19c6804ded
3 changed files with 4 additions and 4 deletions

View File

@@ -187,7 +187,7 @@ def setOs():
elif "sp" not in kb.bannerFp and kb.os == "Windows":
kb.osSP = 0
if kb.os and kb.osVersion:
if kb.os and kb.osVersion and kb.osSP:
infoMsg += " Service Pack %d" % kb.osSP
if infoMsg:

View File

@@ -30,7 +30,7 @@ import sys
# sqlmap version and site
VERSION = "0.7"
VERSION = "0.8-dev1"
VERSION_STRING = "sqlmap/%s" % VERSION
SITE = "http://sqlmap.sourceforge.net"