From 942ac7733a697e13e7f0a0aebcf680ef37f9d7f5 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 9 Sep 2017 22:27:40 +0200 Subject: [PATCH] Fixes #2691 --- lib/core/settings.py | 2 +- sqlmapapi.py | 9 +++++++-- txt/checksum.md5 | 4 ++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 527c2d224..6cecc45ca 100755 --- 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.1.9.9" +VERSION = "1.1.9.10" 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/sqlmapapi.py b/sqlmapapi.py index 244296b7c..8eecb211f 100755 --- a/sqlmapapi.py +++ b/sqlmapapi.py @@ -5,14 +5,19 @@ Copyright (c) 2006-2017 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ -import logging -import optparse import sys sys.dont_write_bytecode = True __import__("lib.utils.versioncheck") # this has to be the first non-standard import +import logging +import optparse +import warnings + +warnings.filterwarnings(action="ignore", message=".*was already imported", category=UserWarning) +warnings.filterwarnings(action="ignore", category=DeprecationWarning) + from sqlmap import modulePath from lib.core.common import setPaths from lib.core.data import logger diff --git a/txt/checksum.md5 b/txt/checksum.md5 index ecaa5aa60..a9747d34f 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -46,7 +46,7 @@ c5f09788ee8ff9c9d12a052986875bc6 lib/core/option.py d8e9250f3775119df07e9070eddccd16 lib/core/replication.py 785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py 40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py -9abee47afec6feac53642cc460bee926 lib/core/settings.py +ac6ce2b51a47b9f28cdb4b5e4b4228b0 lib/core/settings.py d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py 2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py 1576b63db3261e2afd5459189abf967b lib/core/target.py @@ -223,7 +223,7 @@ b04db3e861edde1f9dd0a3850d5b96c8 shell/backdoor.asp_ c3cc8b7727161e64ab59f312c33b541a shell/stager.aspx_ 1f7f125f30e0e800beb21e2ebbab18e1 shell/stager.jsp_ 01e3505e796edf19aad6a996101c81c9 shell/stager.php_ -8755985bcb91e3fea7aaaea3e98ec2dc sqlmapapi.py +5a6614331f93051efed1df4f2dcdc067 sqlmapapi.py 41a637eda3e182d520fa4fb435edc1ec sqlmap.py 08c711a470d7e0bf705320ba3c48b886 tamper/apostrophemask.py e8509df10d3f1c28014d7825562d32dd tamper/apostrophenullencode.py