From 717c451b8c494041b782ccfea7327ccc82588760 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 20 Jun 2018 15:21:42 +0200 Subject: [PATCH] Trivial style update --- lib/core/profiling.py | 2 +- lib/core/settings.py | 2 +- lib/parse/payloads.py | 4 ++-- txt/checksum.md5 | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/core/profiling.py b/lib/core/profiling.py index ec04b59c0..def2b2af3 100644 --- a/lib/core/profiling.py +++ b/lib/core/profiling.py @@ -50,7 +50,7 @@ def profile(profileOutputFile=None, dotOutputFile=None, imageOutputFile=None): if os.path.exists(imageOutputFile): os.remove(imageOutputFile) - infoMsg = "profiling the execution into file %s" % profileOutputFile + infoMsg = "profiling the execution into file '%s'" % profileOutputFile logger.info(infoMsg) # Start sqlmap main function and generate a raw profile file diff --git a/lib/core/settings.py b/lib/core/settings.py index 7003b500f..f9bacb13c 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.6.29" +VERSION = "1.2.6.30" 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/parse/payloads.py b/lib/parse/payloads.py index 0eda51195..ee4d8573d 100644 --- a/lib/parse/payloads.py +++ b/lib/parse/payloads.py @@ -36,7 +36,7 @@ def cleanupVals(text, tag): return text def parseXmlNode(node): - for element in node.getiterator('boundary'): + for element in node.getiterator("boundary"): boundary = AttribDict() for child in element.getchildren(): @@ -48,7 +48,7 @@ def parseXmlNode(node): conf.boundaries.append(boundary) - for element in node.getiterator('test'): + for element in node.getiterator("test"): test = AttribDict() for child in element.getchildren(): diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 47f7e6b59..097007740 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -43,12 +43,12 @@ cada93357a7321655927fc9625b3bfec lib/core/exception.py e9e32e5afe49ecd644b3a0ca9c9a36fc lib/core/optiondict.py d2672b24ffa985523066613138fccbbd lib/core/option.py c8c386d644d57c659d74542f5f57f632 lib/core/patch.py -945b313b8bb9713f570f5ebb05416799 lib/core/profiling.py +6783160150b4711d02c56ee2beadffdb lib/core/profiling.py 6f654e1715571eff68a0f8af3d62dcf8 lib/core/readlineng.py 0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py a7db43859b61569b601b97f187dd31c5 lib/core/revision.py fcb74fcc9577523524659ec49e2e964b lib/core/session.py -e5a223ce6a904c33c896cc6a6161eb01 lib/core/settings.py +4a7888756dc009a582de9f4ed7dfd683 lib/core/settings.py 0dfc2ed40adf72e302291f6ecd4406f6 lib/core/shell.py a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py 36bd2dc292c0e10e39bd9c43b77fe1bc lib/core/target.py @@ -65,7 +65,7 @@ fb2e2f05dde98caeac6ccf3e67192177 lib/parse/configfile.py 6bab53ea9d75bc9bb8169d3e8f3f149f lib/parse/headers.py 1bc6ddaeada0f2425fa9aae226854ca8 lib/parse/html.py 1e5532ede194ac9c083891c2f02bca93 lib/parse/__init__.py -ec4e56bbb1349176b2a22e0b99ba6a55 lib/parse/payloads.py +f2af274126ce0a789027d35d367f2b9e lib/parse/payloads.py 492654567e72b6a14584651fcd9f16e6 lib/parse/sitemap.py 30eed3a92a04ed2c29770e1b10d39dc0 lib/request/basicauthhandler.py 2b81435f5a7519298c15c724e3194a0d lib/request/basic.py