mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Merge of an Issue #1227
This commit is contained in:
parent
a94dcf94e9
commit
03f32ae2b6
3 changed files with 41 additions and 2 deletions
|
|
@ -142,13 +142,13 @@ class Xp_cmdshell:
|
|||
charCounter += len(echoedLine)
|
||||
|
||||
if charCounter >= maxLen:
|
||||
self.xpCmdshellExecCmd(cmd)
|
||||
self.xpCmdshellExecCmd(cmd.rstrip(" & "))
|
||||
|
||||
cmd = ""
|
||||
charCounter = 0
|
||||
|
||||
if cmd:
|
||||
self.xpCmdshellExecCmd(cmd)
|
||||
self.xpCmdshellExecCmd(cmd.rstrip(" & "))
|
||||
|
||||
def xpCmdshellForgeCmd(self, cmd, insertIntoTable=None):
|
||||
# When user provides DBMS credentials (with --dbms-cred) we need to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue