mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-02-01 19:19:10 +00:00
Delegate urlencoding to agent.py only
This commit is contained in:
@@ -9,7 +9,6 @@ See the file 'doc/COPYING' for copying permission
|
||||
|
||||
from lib.core.common import randomStr
|
||||
from lib.core.common import readInput
|
||||
from lib.core.convert import urlencode
|
||||
from lib.core.data import conf
|
||||
from lib.core.data import kb
|
||||
from lib.core.data import logger
|
||||
@@ -98,7 +97,6 @@ class xp_cmdshell:
|
||||
|
||||
def xpCmdshellForgeCmd(self, cmd):
|
||||
forgedCmd = "EXEC %s '%s'" % (self.xpCmdshellStr, cmd)
|
||||
forgedCmd = urlencode(forgedCmd, convall=True)
|
||||
|
||||
return forgedCmd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user