Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9a63fb1

Browse files
committed
Trivial refactoring
1 parent 3544793 commit 9a63fb1

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.2.5.6"
22+
VERSION = "1.2.5.7"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/techniques/error/use.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ def errorThread():
414414
break
415415

416416
if output and isListLike(output) and len(output) == 1:
417-
output = output[0]
417+
output = unArrayizeValue(output)
418418

419419
with kb.locks.value:
420420
index = None
@@ -446,7 +446,7 @@ def errorThread():
446446
value = _errorFields(expression, expressionFields, expressionFieldsList)
447447

448448
if value and isListLike(value) and len(value) == 1 and isinstance(value[0], basestring):
449-
value = value[0]
449+
value = unArrayizeValue(value)
450450

451451
duration = calculateDeltaSeconds(start)
452452

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ c9a56e58984420a5abb7a3f7aadc196d lib/core/optiondict.py
4747
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4848
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
4949
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
50-
051375e24f79fe7967a7401d57e084cf lib/core/settings.py
50+
a71c8f980be88d8e953631e387a97b96 lib/core/settings.py
5151
0dfc2ed40adf72e302291f6ecd4406f6 lib/core/shell.py
5252
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5353
6306284edcccc185b2df085438572b0d lib/core/target.py
@@ -94,7 +94,7 @@ f1decf0a987bd3a4bc757212cbe6a6c8 lib/takeover/xp_cmdshell.py
9494
799faf9008527d2e9da9d923e50f685a lib/techniques/dns/test.py
9595
bad83c6386adf345fbc982bdafbe3b93 lib/techniques/dns/use.py
9696
1e5532ede194ac9c083891c2f02bca93 lib/techniques/error/__init__.py
97-
f999f2e88dea9ac8831eb2f468478b5f lib/techniques/error/use.py
97+
f5fb02487edaf9adaa81d54324c84f8f lib/techniques/error/use.py
9898
1e5532ede194ac9c083891c2f02bca93 lib/techniques/__init__.py
9999
1e5532ede194ac9c083891c2f02bca93 lib/techniques/union/__init__.py
100100
94d7a22bb6725a91e84ba2cd9973e96d lib/techniques/union/test.py

0 commit comments

Comments
 (0)