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
|
||||
else:
|
||||
return threadData.lastQueryDuration - conf.timeSec
|
||||
return (threadData.lastQueryDuration - conf.timeSec) >= 0
|
||||
|
||||
def adjustTimeDelay(lastQueryDuration, lowerStdLimit):
|
||||
"""
|
||||
|
|
|
@ -93,12 +93,7 @@ class xp_cmdshell:
|
|||
|
||||
inject.goStacked(cmd)
|
||||
|
||||
delayed = wasLastRequestDelayed()
|
||||
|
||||
if isinstance(delayed, bool):
|
||||
return delayed
|
||||
else:
|
||||
return None
|
||||
return wasLastRequestDelayed()
|
||||
|
||||
def xpCmdshellForgeCmd(self, cmd):
|
||||
self.__randStr = randomStr(lowercase=True)
|
||||
|
|
Loading…
Reference in New Issue
Block a user