Revert "major fix"

This reverts commit 3a11fc2d9e.
This commit is contained in:
Miroslav Stampar 2012-07-07 10:26:13 +02:00
parent 3a11fc2d9e
commit 1c69eb5d30

View File

@ -172,9 +172,8 @@ class xp_cmdshell:
inject.goStacked("INSERT INTO %s EXEC %s '%s'" % (self.cmdTblName, self.xpCmdshellStr, cmd)) inject.goStacked("INSERT INTO %s EXEC %s '%s'" % (self.cmdTblName, self.xpCmdshellStr, cmd))
output = inject.getValue("SELECT %s FROM %s" % (self.tblField, self.cmdTblName), resumeValue=False) output = inject.getValue("SELECT %s FROM %s" % (self.tblField, self.cmdTblName), resumeValue=False)
inject.goStacked("DELETE FROM %s" % self.cmdTblName) inject.goStacked("DELETE FROM %s" % self.cmdTblName)
if output and isListLike(output): if output and isListLike(output):
output = output[0] output = output[1:]
return output return output