diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 7361eec12..5d1b85cdb 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -933,7 +933,7 @@ def heuristicCheckSqlInjection(place, parameter): randStr = "" - while '\'' not in randStr: + while randStr.count('\'') != 1 or randStr.count('\"') != 1: randStr = randomStr(length=10, alphabet=HEURISTIC_CHECK_ALPHABET) kb.heuristicMode = True diff --git a/lib/core/settings.py b/lib/core/settings.py index aa69e9937..fd61c5d80 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.10.4" +VERSION = "1.0.10.5" REVISION = getRevisionNumber() TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 0abc3a602..e4b997c7f 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -20,7 +20,7 @@ b46521e29ea3d813bab5aeb16cac6498 extra/shutils/duplicates.py cc9c82cfffd8ee9b25ba3af6284f057e extra/sqlharvest/__init__.py 4f2f817596540d82f9fcc0c5b2228beb extra/sqlharvest/sqlharvest.py 2daa39e4d59526acb4772b6c47eb315f lib/controller/action.py -66cddf7f40c002d663d4401a440ec1aa lib/controller/checks.py +f15544a4c9c365ae8f2f8fa2e3a69aa5 lib/controller/checks.py 5df6cb90ffec56876e444aec8cf89c34 lib/controller/controller.py 0a64305c3b3a01a2fc3a5e6204f442f1 lib/controller/handler.py cc9c82cfffd8ee9b25ba3af6284f057e lib/controller/__init__.py @@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py 5ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py 99a2b496b9d5b546b335653ca801153f lib/core/revision.py 7c15dd2777af4dac2c89cab6df17462e lib/core/session.py -c90d332cc67c509f5ef27fa6b0af897f lib/core/settings.py +75efd02715ae44c031cbcde727fd0420 lib/core/settings.py 7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py 23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py c3ace7874a536d801f308cf1fd03df99 lib/core/target.py