diff --git a/lib/core/dicts.py b/lib/core/dicts.py index 4ea69a8a5..b291aeff9 100644 --- a/lib/core/dicts.py +++ b/lib/core/dicts.py @@ -263,6 +263,10 @@ SQL_STATEMENTS = { "commit ", "rollback ", ), + + "SQL administration": ( + "set ", + ), } POST_HINT_CONTENT_TYPES = { diff --git a/lib/core/settings.py b/lib/core/settings.py index fa7c35e64..494f81ca2 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME from lib.core.enums import OS # sqlmap version (...) -VERSION = "1.2.9.16" +VERSION = "1.2.9.17" 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) diff --git a/plugins/dbms/mysql/filesystem.py b/plugins/dbms/mysql/filesystem.py index 15819ab67..a81c9d1b6 100644 --- a/plugins/dbms/mysql/filesystem.py +++ b/plugins/dbms/mysql/filesystem.py @@ -162,6 +162,8 @@ class Filesystem(GenericFilesystem): logger.debug("inserting the hexadecimal encoded file to the support table") + inject.goStacked("SET GLOBAL max_allowed_packet = %d" % (1024 * 1024)) # 1MB (Note: https://github.com/sqlmapproject/sqlmap/issues/3230) + for sqlQuery in sqlQueries: inject.goStacked(sqlQuery) diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 3877c4aa9..78b187eb6 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -36,7 +36,7 @@ a69c59bec0b35442139d1c29f1b05797 lib/core/common.py 72016ea5c994a711a262fd64572a0fcd lib/core/datatype.py 4086fb55f42e27de5330505605baad0f lib/core/decorators.py fbb55cc6100318ff922957b6577dc58f lib/core/defaults.py -db165596ef0a3e19ec59c24192bb318d lib/core/dicts.py +4d50e0f893477196d83608175d1a7de4 lib/core/dicts.py d4b3d448bcfd9f15d089fc81d38f4825 lib/core/dump.py ab3f4f3e3019add5f4a2e28f7e8748a4 lib/core/enums.py cada93357a7321655927fc9625b3bfec lib/core/exception.py @@ -50,7 +50,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py 0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py a7db43859b61569b601b97f187dd31c5 lib/core/revision.py fcb74fcc9577523524659ec49e2e964b lib/core/session.py -b8cbaa6f57a74b5ad7c258d93dcd8f0c lib/core/settings.py +d9d75c1383a83e6ccabf7157202c2288 lib/core/settings.py dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py 815d1cf27f0f8738d81531e73149867d lib/core/target.py @@ -172,7 +172,7 @@ f25c50a95e5390ecd32be5a011637349 plugins/dbms/mssqlserver/__init__.py 3c0845fa526e1bb7bbe636fcfcbcc4a6 plugins/dbms/mssqlserver/takeover.py 11a5724fdc0b0c0eb2626d952cda216a plugins/dbms/mysql/connector.py 445164daf59b890aeacc968af58fcb53 plugins/dbms/mysql/enumeration.py -2f97535b5cfb28eac0d51bf67a0304f7 plugins/dbms/mysql/filesystem.py +34216d44fe66ffc8c5b4a0714839cf9f plugins/dbms/mysql/filesystem.py 34d951003dca386719c4d91384d2669a plugins/dbms/mysql/fingerprint.py 30065993f8300994e4658634121609e9 plugins/dbms/mysql/__init__.py 0e2adbee217f5b94dcc124d24b8dde99 plugins/dbms/mysql/syntax.py