Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9562502

Browse files
committed
Potential patch for #3470
1 parent b42c081 commit 9562502

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.3.2.12"
22+
VERSION = "1.3.2.13"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/takeover/web.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def webBackdoorRunCmd(self, cmd):
7777
if not cmd:
7878
cmd = conf.osCmd
7979

80-
cmdUrl = "%s?cmd=%s" % (self.webBackdoorUrl, cmd)
80+
cmdUrl = "%s?cmd=%s" % (self.webBackdoorUrl, getUnicode(cmd))
8181
page, _, _ = Request.getPage(url=cmdUrl, direct=True, silent=True, timeout=BACKDOOR_RUN_CMD_TIMEOUT)
8282

8383
if page is not None:

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ d5ef43fe3cdd6c2602d7db45651f9ceb lib/core/readlineng.py
5050
7d8a22c582ad201f65b73225e4456170 lib/core/replication.py
5151
3179d34f371e0295dd4604568fb30bcd lib/core/revision.py
5252
d6269c55789f78cf707e09a0f5b45443 lib/core/session.py
53-
17a9ca024712c5621e8c1d79ce798ad3 lib/core/settings.py
53+
61c1b630a7454947a1eda659e31bf251 lib/core/settings.py
5454
4483b4a5b601d8f1c4281071dff21ecc lib/core/shell.py
5555
10fd19b0716ed261e6d04f311f6f527c lib/core/subprocessng.py
5656
43772ea73e9e3d446f782af591cb4eda lib/core/target.py
@@ -89,7 +89,7 @@ fb6be55d21a70765e35549af2484f762 lib/takeover/__init__.py
8989
d55029a4c048e345fbb07a8f91604d83 lib/takeover/metasploit.py
9090
6b5b841d445b7b973c2e033edfb01b16 lib/takeover/registry.py
9191
ad038ac567f97a4b940b7987792d64a4 lib/takeover/udf.py
92-
915a3fbd557fb136bd0e16c46d993be3 lib/takeover/web.py
92+
f0a809475eb0db95ffbe89fd6ca5bd96 lib/takeover/web.py
9393
1aadcdc058bb813d09ad23d26ea2a6b5 lib/takeover/xp_cmdshell.py
9494
654d222cbae610923965c583355ec34a lib/techniques/blind/inference.py
9595
fb6be55d21a70765e35549af2484f762 lib/techniques/blind/__init__.py

0 commit comments

Comments
 (0)