From 19c6804ded652860ef99bf74c683f15d1d1eb014 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Wed, 29 Jul 2009 10:44:24 +0000 Subject: [PATCH] Fixed two minor bugs with PostgreSQL reported by Sven Klemm, thanks! --- lib/core/session.py | 2 +- lib/core/settings.py | 2 +- xml/queries.xml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/core/session.py b/lib/core/session.py index f461e996f..b8ce773d7 100644 --- a/lib/core/session.py +++ b/lib/core/session.py @@ -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: diff --git a/lib/core/settings.py b/lib/core/settings.py index 17561ccb1..0343ea058 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -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" diff --git a/xml/queries.xml b/xml/queries.xml index 785b09223..e5854e95f 100644 --- a/xml/queries.xml +++ b/xml/queries.xml @@ -151,8 +151,8 @@ - - + +