Minor fixes to checking/re-enabling of xp_cmdshell procedure

This commit is contained in:
Bernardo Damele
2011-02-07 12:17:19 +00:00
parent 1a5a66870e
commit 39decebe85
2 changed files with 7 additions and 2 deletions

View File

@@ -93,7 +93,12 @@ class xp_cmdshell:
inject.goStacked(cmd)
return wasLastRequestDelayed()
delayed = wasLastRequestDelayed()
if isinstance(delayed, bool):
return delayed
else:
return None
def xpCmdshellForgeCmd(self, cmd):
self.__randStr = randomStr(lowercase=True)