From 8d877de9b5b5d6fc04c171c5133267a2b7cf4ef6 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 14 Nov 2019 12:00:50 +0100 Subject: [PATCH] Minor update --- lib/core/settings.py | 2 +- lib/core/testing.py | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 7e902c680..60fbbc614 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.3.11.47" +VERSION = "1.3.11.48" 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/testing.py b/lib/core/testing.py index a98233e11..de8acfcfe 100644 --- a/lib/core/testing.py +++ b/lib/core/testing.py @@ -64,14 +64,14 @@ def vulnTest(): TESTS = ( ("--flush-session", ("CloudFlare",)), - ("--flush-session --data='{\"id\": 1}' --banner", ("Payload: {\"id\"", "banner: '3")), - ("--flush-session --data='' --mobile --banner --smart", ("Payload: 3\"", ("banner: '3", "INTEGER", "TEXT", "id", "name", "surname", "2 entries", "6E616D6569736E756C6C")), - ("--all --tamper=between,randomcase", ("5 entries", "luther", "blisset", "fluffy", "179ad45c6ce2cb97cf1029e212046e81", "NULL", "nameisnull", "testpass")), + ("--all --tamper=between,randomcase", ("5 entries", "Type: boolean-based blind", "Type: time-based blind", "Type: UNION query", "luther", "blisset", "fluffy", "179ad45c6ce2cb97cf1029e212046e81", "NULL", "nameisnull", "testpass")), ("-z \"tec=B\" --hex --fresh-queries --threads=4 --sql-query=\"SELECT 987654321\"", ("length of query output", ": '987654321'",)), ("--technique=T --fresh-queries --sql-query=\"SELECT 1234\"", (": '1234'",)), )