mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
proper fix
This commit is contained in:
parent
39decebe85
commit
e023e0d233
|
@ -1782,7 +1782,7 @@ def wasLastRequestDelayed():
|
||||||
|
|
||||||
return retVal
|
return retVal
|
||||||
else:
|
else:
|
||||||
return threadData.lastQueryDuration - conf.timeSec
|
return (threadData.lastQueryDuration - conf.timeSec) >= 0
|
||||||
|
|
||||||
def adjustTimeDelay(lastQueryDuration, lowerStdLimit):
|
def adjustTimeDelay(lastQueryDuration, lowerStdLimit):
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -93,12 +93,7 @@ class xp_cmdshell:
|
||||||
|
|
||||||
inject.goStacked(cmd)
|
inject.goStacked(cmd)
|
||||||
|
|
||||||
delayed = wasLastRequestDelayed()
|
return wasLastRequestDelayed()
|
||||||
|
|
||||||
if isinstance(delayed, bool):
|
|
||||||
return delayed
|
|
||||||
else:
|
|
||||||
return None
|
|
||||||
|
|
||||||
def xpCmdshellForgeCmd(self, cmd):
|
def xpCmdshellForgeCmd(self, cmd):
|
||||||
self.__randStr = randomStr(lowercase=True)
|
self.__randStr = randomStr(lowercase=True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user