mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03:00
Fix for an Issue #158
This commit is contained in:
parent
f098955081
commit
ebab05cf7c
|
@ -223,9 +223,9 @@ class xp_cmdshell:
|
||||||
inject.goStacked("DELETE FROM %s" % self.cmdTblName)
|
inject.goStacked("DELETE FROM %s" % self.cmdTblName)
|
||||||
|
|
||||||
if output and isListLike(output) and len(output) > 1:
|
if output and isListLike(output) and len(output) > 1:
|
||||||
if not output[0].strip():
|
if not (output[0] or "").strip():
|
||||||
output = output[1:]
|
output = output[1:]
|
||||||
elif not output[-1].strip():
|
elif not (output[-1] or "").strip():
|
||||||
output = output[:-1]
|
output = output[:-1]
|
||||||
|
|
||||||
output = "\n".join(line for line in output)
|
output = "\n".join(line for line in output)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user