mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Bug fix (time was also meant to be disabled in case of error/inband getvalues)
This commit is contained in:
parent
7207cf29dd
commit
06805b27f2
9 changed files with 19 additions and 19 deletions
|
|
@ -210,7 +210,7 @@ class xp_cmdshell:
|
|||
query = "SELECT %s FROM %s" % (self.tblField, self.cmdTblName)
|
||||
|
||||
if conf.direct or any(isTechniqueAvailable(_) for _ in (PAYLOAD.TECHNIQUE.UNION, PAYLOAD.TECHNIQUE.ERROR)):
|
||||
output = inject.getValue(query, resumeValue=False, blind=False)
|
||||
output = inject.getValue(query, resumeValue=False, blind=False, time=False)
|
||||
else:
|
||||
output = []
|
||||
count = inject.getValue("SELECT COUNT(*) FROM %s" % self.cmdTblName, resumeValue=False, inband=False, error=False, expected=EXPECTED.INT, charsetType=CHARSET_TYPE.DIGITS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue