From 4cd859012a0e05d0b0d6191f67336b3d070b1b08 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 15 Mar 2018 11:07:14 +0100 Subject: [PATCH] Switching zipball update method to experimental --- lib/core/settings.py | 2 +- lib/core/update.py | 4 ++-- txt/checksum.md5 | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 62223807e..6f6f05cef 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.3.26" +VERSION = "1.2.3.27" 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/update.py b/lib/core/update.py index 4d56e1396..af939aa6c 100644 --- a/lib/core/update.py +++ b/lib/core/update.py @@ -39,8 +39,8 @@ def update(): warnMsg += "from GitHub (e.g. 'git clone --depth 1 %s sqlmap')" % GIT_REPOSITORY logger.warn(warnMsg) - message = "do you want to try to fetch the latest 'zipball' from repository and extract it? [Y/n]" - if readInput(message, default='Y', boolean=True): + message = "do you want to try to fetch the latest 'zipball' from repository and extract it (experimental) ? [y/N]" + if readInput(message, default='N', boolean=True): directory = os.path.abspath(paths.SQLMAP_ROOT_PATH) try: diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 7fd8c7e67..9875df82e 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -46,14 +46,14 @@ ffa5f01f39b17c8d73423acca6cfe86a lib/core/readlineng.py 0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py a7db43859b61569b601b97f187dd31c5 lib/core/revision.py fcb74fcc9577523524659ec49e2e964b lib/core/session.py -f126d635d4d09efd76120f31ae2023ba lib/core/settings.py +997084efaeadc2d679c5f540503bbff3 lib/core/settings.py 0dfc2ed40adf72e302291f6ecd4406f6 lib/core/shell.py a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py 12f8c42ed742581644f6476a7d80dcf8 lib/core/target.py 72d499ca8d792e90a1ebfb2ad2341a51 lib/core/testing.py de9922a29c71a235cb95a916ff925db2 lib/core/threads.py c40758411bb0bd68764d78e0bb72bd0f lib/core/unescaper.py -bf7f5fc45f9ca25f403066b5642cdc67 lib/core/update.py +af2d1810b6a7ebc61689a53c253ddbaa lib/core/update.py e772deb63270375e685fa5a7b775c382 lib/core/wordlist.py 1e5532ede194ac9c083891c2f02bca93 lib/__init__.py 7620f1f4b8791e13c7184c06b5421754 lib/parse/banner.py