diff --git a/lib/core/settings.py b/lib/core/settings.py index 3b14bfa96..0754e42e6 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.12.13" +VERSION = "1.2.12.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) diff --git a/lib/core/target.py b/lib/core/target.py index 1b8232a32..3d99d10e1 100644 --- a/lib/core/target.py +++ b/lib/core/target.py @@ -408,7 +408,10 @@ def _setRequestParams(): message += "Do you want sqlmap to automatically update it in further requests? [y/N] " if readInput(message, default='N', boolean=True): - conf.csrfToken = getUnicode(parameter) + class _(unicode): + pass + conf.csrfToken = _(re.escape(getUnicode(parameter))) + conf.csrfToken._original = getUnicode(parameter) break def _setHashDB(): diff --git a/txt/checksum.md5 b/txt/checksum.md5 index b08081552..aa6ea1a8b 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -49,10 +49,10 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py 0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py a7db43859b61569b601b97f187dd31c5 lib/core/revision.py fcb74fcc9577523524659ec49e2e964b lib/core/session.py -e2d4507e4cb26ae64f94d17772f67d8d lib/core/settings.py +0c0d9162f3ec64208c203e7b7e7aaf01 lib/core/settings.py a971ce157d04de96ba6e710d3d38a9a8 lib/core/shell.py a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py -d6da5998fea61068a80d9c671db1095f lib/core/target.py +1581be48127a3a7a9fd703359b6e7567 lib/core/target.py 72d499ca8d792e90a1ebfb2ad2341a51 lib/core/testing.py cd0067d1798e45f422ce44b98baf57db lib/core/threads.py c40758411bb0bd68764d78e0bb72bd0f lib/core/unescaper.py