Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified data/shell/backdoors/backdoor.asp_
Binary file not shown.
Binary file modified data/shell/backdoors/backdoor.aspx_
Binary file not shown.
Binary file modified data/shell/backdoors/backdoor.cfm_
Binary file not shown.
Binary file modified data/shell/backdoors/backdoor.jsp_
Binary file not shown.
Binary file modified data/shell/backdoors/backdoor.php_
Binary file not shown.
Binary file modified data/shell/stagers/stager.asp_
Binary file not shown.
Binary file modified data/shell/stagers/stager.aspx_
Binary file not shown.
Binary file modified data/shell/stagers/stager.cfm_
Binary file not shown.
Binary file modified data/shell/stagers/stager.jsp_
Binary file not shown.
Binary file modified data/shell/stagers/stager.php_
Binary file not shown.
104 changes: 52 additions & 52 deletions data/txt/sha256sums.txt

Large diffs are not rendered by default.

Binary file modified data/udf/mysql/linux/32/lib_mysqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/mysql/linux/64/lib_mysqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/mysql/windows/32/lib_mysqludf_sys.dll_
Binary file not shown.
Binary file modified data/udf/mysql/windows/64/lib_mysqludf_sys.dll_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/32/10/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/32/11/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/32/8.2/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/32/8.3/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/32/8.4/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/32/9.0/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/32/9.1/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/32/9.2/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/32/9.3/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/32/9.4/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/32/9.5/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/32/9.6/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/64/10/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/64/11/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/64/12/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/64/8.2/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/64/8.3/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/64/8.4/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/64/9.0/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/64/9.1/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/64/9.2/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/64/9.3/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/64/9.4/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/64/9.5/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/linux/64/9.6/lib_postgresqludf_sys.so_
Binary file not shown.
Binary file modified data/udf/postgresql/windows/32/8.2/lib_postgresqludf_sys.dll_
Binary file not shown.
Binary file modified data/udf/postgresql/windows/32/8.3/lib_postgresqludf_sys.dll_
Binary file not shown.
Binary file modified data/udf/postgresql/windows/32/8.4/lib_postgresqludf_sys.dll_
Binary file not shown.
Binary file modified data/udf/postgresql/windows/32/9.0/lib_postgresqludf_sys.dll_
Binary file not shown.
2 changes: 1 addition & 1 deletion extra/cloak/cloak.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
xrange = range
ord = lambda _: _

KEY = b"wr36EPIvaR7ZDfb4"
KEY = b"ZCuk6GdHSj4KtgDq"

def xor(message, key):
return b"".join(struct.pack('B', ord(message[i]) ^ ord(key[i % len(key)])) for i in range(len(message)))
Expand Down
Binary file modified extra/icmpsh/icmpsh.exe_
Binary file not shown.
Binary file modified extra/runcmd/runcmd.exe_
Binary file not shown.
Binary file modified extra/shellcodeexec/windows/shellcodeexec.x32.exe_
Binary file not shown.
1 change: 1 addition & 0 deletions lib/core/optiondict.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"safeReqFile": "string",
"safeFreq": "integer",
"skipUrlEncode": "boolean",
"skipXmlEncode": "boolean",
"csrfToken": "string",
"csrfUrl": "string",
"csrfMethod": "string",
Expand Down
2 changes: 1 addition & 1 deletion lib/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from thirdparty import six

# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.10.2.12"
VERSION = "1.10.2.14"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
Expand Down
3 changes: 3 additions & 0 deletions lib/parse/cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@ def cmdLineParser(argv=None):
request.add_argument("--skip-urlencode", dest="skipUrlEncode", action="store_true",
help="Skip URL encoding of payload data")

request.add_argument("--skip-xmlencode", dest="skipXmlEncode", action="store_true",
help="Skip safe encoding of payload data for SOAP/XML")

request.add_argument("--csrf-token", dest="csrfToken",
help="Parameter used to hold anti-CSRF token")

Expand Down
2 changes: 1 addition & 1 deletion lib/request/connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ def queryPage(value=None, place=None, content=False, getRatioValue=False, silent
logger.log(CUSTOM_LOGGING.PAYLOAD, safecharencode(payload.replace('\\', BOUNDARY_BACKSLASH_MARKER)).replace(BOUNDARY_BACKSLASH_MARKER, '\\'))

if place == PLACE.CUSTOM_POST and kb.postHint:
if kb.postHint in (POST_HINT.SOAP, POST_HINT.XML):
if kb.postHint in (POST_HINT.SOAP, POST_HINT.XML) and not conf.skipXmlEncode:
# payloads in SOAP/XML should have chars > and < replaced
# with their HTML encoded counterparts
payload = payload.replace("&#", SAFE_HEX_MARKER)
Expand Down
4 changes: 4 additions & 0 deletions sqlmap.conf
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ safeFreq = 0
# Valid: True or False
skipUrlEncode = False

# Skip safe (HTML) encoding of payload data for SOAP/XML.
# Valid: True or False
skipXmlEncode = False

# Parameter used to hold anti-CSRF token.
csrfToken =

Expand Down