mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 02:53:46 +03:00
minor update
This commit is contained in:
parent
b3bd4144f5
commit
61a25418a9
|
@ -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
|
||||
|
|
|
@ -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/"
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user