From a8a7dee8003eb71c9570bd546dbb2d38085514e5 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 15 Sep 2018 21:36:21 +0200 Subject: [PATCH] Fixes #3239 --- lib/core/settings.py | 2 +- tamper/xforwardedfor.py | 2 +- txt/checksum.md5 | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index cdb05523a..816e03770 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.23" +VERSION = "1.2.9.24" 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/tamper/xforwardedfor.py b/tamper/xforwardedfor.py index f4cdda114..e14b49092 100644 --- a/tamper/xforwardedfor.py +++ b/tamper/xforwardedfor.py @@ -25,6 +25,6 @@ def tamper(payload, **kwargs): headers = kwargs.get("headers", {}) headers["X-Forwarded-For"] = randomIP() - headers["X-Clinet-Ip"] = randomIP() + headers["X-Client-Ip"] = randomIP() headers["X-Real-Ip"] = randomIP() return payload diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 0dd04c2cd..daefafdce 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -50,7 +50,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py 0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py a7db43859b61569b601b97f187dd31c5 lib/core/revision.py fcb74fcc9577523524659ec49e2e964b lib/core/session.py -4991b844fe999aba86dfd13a672c95b7 lib/core/settings.py +018e7c47d53529bd5a3eab2e3405436c lib/core/settings.py dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py 248bd121e0565318e1efaff54aa427bc lib/core/target.py @@ -286,7 +286,7 @@ cc212839f55692d422beef3a8e22a8d4 tamper/uppercase.py f2b9eac52d346315f5705f71beeda791 tamper/varnish.py 0e40966a51d1eb5d42a2159d2015a8a4 tamper/versionedkeywords.py 0fba004bf1be6edbefbda89f23f4e518 tamper/versionedmorekeywords.py -23d845e9f937f2a31c43767b8a8fcff6 tamper/xforwardedfor.py +bb87c2c0ec66927015c9709aaaf93561 tamper/xforwardedfor.py 1ebf563bb2cb18b68ea952418bba0ec5 thirdparty/ansistrm/ansistrm.py d41d8cd98f00b204e9800998ecf8427e thirdparty/ansistrm/__init__.py 8e775c25bc9e84891ad6fcb4f0005c23 thirdparty/beautifulsoup/beautifulsoup.py