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

Skip to content

Commit 7210468

Browse files
committed
Minor patch
1 parent a4068f9 commit 7210468

3 files changed

Lines changed: 7 additions & 6 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.9.33"
22+
VERSION = "1.2.9.34"
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/utils/pivotdumptable.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from lib.core.agent import agent
1212
from lib.core.bigarray import BigArray
1313
from lib.core.common import Backend
14+
from lib.core.common import getSafeExString
1415
from lib.core.common import getUnicode
1516
from lib.core.common import isNoneValue
1617
from lib.core.common import isNumPosStrValue
@@ -174,10 +175,10 @@ def _(column, pivotValue):
174175
warnMsg += "will display partial output"
175176
logger.warn(warnMsg)
176177

177-
except SqlmapConnectionException, e:
178-
errMsg = "connection exception detected. sqlmap "
178+
except SqlmapConnectionException, ex:
179+
errMsg = "connection exception detected ('%s'). sqlmap " % getSafeExString(ex)
179180
errMsg += "will display partial output"
180-
errMsg += "'%s'" % e
181+
181182
logger.critical(errMsg)
182183

183184
return entries, lengths

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
5050
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
5151
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5252
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
53-
85acbc0a45352eeb4ebe78dbef74918b lib/core/settings.py
53+
de9fa04f019f5d14db8589e1a61b3064 lib/core/settings.py
5454
dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5555
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5656
248bd121e0565318e1efaff54aa427bc lib/core/target.py
@@ -112,7 +112,7 @@ f7af65aa47329d021e2b2cc8521b42a4 lib/utils/getch.py
112112
d0f4d56c5d6a09a4635035e233d4a782 lib/utils/hash.py
113113
011d2dbf589e0faa0deca61a651239cc lib/utils/htmlentities.py
114114
1e5532ede194ac9c083891c2f02bca93 lib/utils/__init__.py
115-
010d8327239d33af4ce9f25683cfc012 lib/utils/pivotdumptable.py
115+
b0105f091c2e919c3cdb549cb29fd194 lib/utils/pivotdumptable.py
116116
683c3bd05b6164f56a57ed495c162684 lib/utils/progress.py
117117
0ec5cec9d93d5ffd1eaeda6e942ecadf lib/utils/purge.py
118118
2c5a655c8e94cbe2664ee497752ac1f2 lib/utils/search.py

0 commit comments

Comments
 (0)