Skip to content

Commit a6eeebf

Browse files
committed
Fix for an Issue sqlmapproject#188
1 parent 67cfc3b commit a6eeebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/takeover/xp_cmdshell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def xpCmdshellEvalCmd(self, cmd, first=None, last=None):
228228
elif not (output[-1] or "").strip():
229229
output = output[:-1]
230230

231-
output = "\n".join(line for line in output)
231+
output = "\n".join(line for line in filter(None, output))
232232

233233
return output
234234

0 commit comments

Comments
 (0)