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
|
if not value or re.search("^[\ *]*$", value): #NULL
|
||||||
continue
|
continue
|
||||||
|
|
||||||
_ = int(value)
|
int(value)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
colType = None
|
colType = None
|
||||||
break
|
break
|
||||||
|
@ -392,7 +392,7 @@ class Dump:
|
||||||
if not value or re.search("^[\ *]*$", value): #NULL
|
if not value or re.search("^[\ *]*$", value): #NULL
|
||||||
continue
|
continue
|
||||||
|
|
||||||
_ = float(value)
|
float(value)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
colType = None
|
colType = None
|
||||||
break
|
break
|
||||||
|
@ -527,7 +527,7 @@ class Dump:
|
||||||
self.string(query, queryRes)
|
self.string(query, queryRes)
|
||||||
|
|
||||||
def rFile(self,filePath,fileData):
|
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):
|
def registerValue(self,registerData):
|
||||||
self.string("Registry key value data", registerData,sort=False)
|
self.string("Registry key value data", registerData,sort=False)
|
||||||
|
|
|
@ -58,7 +58,6 @@ from lib.core.datatype import AttribDict
|
||||||
from lib.core.datatype import InjectionDict
|
from lib.core.datatype import InjectionDict
|
||||||
from lib.core.defaults import defaults
|
from lib.core.defaults import defaults
|
||||||
from lib.core.enums import CUSTOM_LOGGING
|
from lib.core.enums import CUSTOM_LOGGING
|
||||||
from lib.core.enums import DBMS
|
|
||||||
from lib.core.enums import HTTPHEADER
|
from lib.core.enums import HTTPHEADER
|
||||||
from lib.core.enums import HTTPMETHOD
|
from lib.core.enums import HTTPMETHOD
|
||||||
from lib.core.enums import MOBILES
|
from lib.core.enums import MOBILES
|
||||||
|
@ -1018,7 +1017,7 @@ def __setHTTPAuthentication():
|
||||||
elif aTypeLower == "ntlm":
|
elif aTypeLower == "ntlm":
|
||||||
try:
|
try:
|
||||||
from ntlm import HTTPNtlmAuthHandler
|
from ntlm import HTTPNtlmAuthHandler
|
||||||
except ImportError, _:
|
except ImportError:
|
||||||
errMsg = "sqlmap requires Python NTLM third-party library "
|
errMsg = "sqlmap requires Python NTLM third-party library "
|
||||||
errMsg += "in order to authenticate via NTLM, "
|
errMsg += "in order to authenticate via NTLM, "
|
||||||
errMsg += "http://code.google.com/p/python-ntlm/"
|
errMsg += "http://code.google.com/p/python-ntlm/"
|
||||||
|
|
|
@ -160,7 +160,7 @@ class Enumeration(GenericEnumeration):
|
||||||
foundTbls = {}
|
foundTbls = {}
|
||||||
tblList = conf.tbl.split(",")
|
tblList = conf.tbl.split(",")
|
||||||
tblCond = rootQuery.inband.condition
|
tblCond = rootQuery.inband.condition
|
||||||
dbCond = rootQuery.inband.condition2
|
#dbCond = rootQuery.inband.condition2
|
||||||
|
|
||||||
tblConsider, tblCondParam = self.likeOrExact("table")
|
tblConsider, tblCondParam = self.likeOrExact("table")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user