minor update

This commit is contained in:
Miroslav Stampar 2012-02-22 10:45:10 +00:00
parent b3bd4144f5
commit 61a25418a9
3 changed files with 5 additions and 6 deletions

View File

@ -379,7 +379,7 @@ class Dump:
if not value or re.search("^[\ *]*$", value): #NULL
continue
_ = int(value)
int(value)
except ValueError:
colType = None
break
@ -392,7 +392,7 @@ class Dump:
if not value or re.search("^[\ *]*$", value): #NULL
continue
_ = float(value)
float(value)
except ValueError:
colType = None
break
@ -527,7 +527,7 @@ class Dump:
self.string(query, queryRes)
def rFile(self,filePath,fileData):
self.string("%s file saved to" % filePath,fileData,sort=False)
self.string("%s file saved to" % filePath,fileData,sort=False)
def registerValue(self,registerData):
self.string("Registry key value data", registerData,sort=False)

View File

@ -58,7 +58,6 @@ from lib.core.datatype import AttribDict
from lib.core.datatype import InjectionDict
from lib.core.defaults import defaults
from lib.core.enums import CUSTOM_LOGGING
from lib.core.enums import DBMS
from lib.core.enums import HTTPHEADER
from lib.core.enums import HTTPMETHOD
from lib.core.enums import MOBILES
@ -1018,7 +1017,7 @@ def __setHTTPAuthentication():
elif aTypeLower == "ntlm":
try:
from ntlm import HTTPNtlmAuthHandler
except ImportError, _:
except ImportError:
errMsg = "sqlmap requires Python NTLM third-party library "
errMsg += "in order to authenticate via NTLM, "
errMsg += "http://code.google.com/p/python-ntlm/"

View File

@ -160,7 +160,7 @@ class Enumeration(GenericEnumeration):
foundTbls = {}
tblList = conf.tbl.split(",")
tblCond = rootQuery.inband.condition
dbCond = rootQuery.inband.condition2
#dbCond = rootQuery.inband.condition2
tblConsider, tblCondParam = self.likeOrExact("table")