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

Skip to content

Commit 4643bd6

Browse files
committed
Quick patch for #2498
1 parent 1c5f01e commit 4643bd6

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

lib/core/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ def nullCastConcatFields(self, fields):
452452
@rtype: C{str}
453453
"""
454454

455-
if not Backend.getDbms():
455+
if not Backend.getIdentifiedDbms():
456456
return fields
457457

458458
if fields.startswith("(CASE") or fields.startswith("(IIF") or fields.startswith("SUBSTR") or fields.startswith("MID(") or re.search(r"\A'[^']+'\Z", fields):

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4131,7 +4131,7 @@ def _(value):
41314131
retVal = value
41324132
if value and isinstance(value, basestring):
41334133
if len(value) % 2 != 0:
4134-
retVal = "%s?" % hexdecode(value[:-1])
4134+
retVal = "%s?" % hexdecode(value[:-1]) if len(value) > 1 else value
41354135
singleTimeWarnMessage("there was a problem decoding value '%s' from expected hexadecimal form" % value)
41364136
else:
41374137
retVal = hexdecode(value)

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.1.4.44"
22+
VERSION = "1.1.4.45"
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)

txt/checksum.md5

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ c55b400b72acc43e0e59c87dd8bb8d75 extra/shellcodeexec/windows/shellcodeexec.x32.
2525
df647d57cf02cc0e4bda6b8ccc9d8138 lib/controller/controller.py
2626
52a3969f57170e935e3fc0156335bf2c lib/controller/handler.py
2727
310efc965c862cfbd7b0da5150a5ad36 lib/controller/__init__.py
28-
d3b4e1139bf117fe4cf6451d43d8253c lib/core/agent.py
28+
3dfaab045a72c3faae2bfcab24c60ec3 lib/core/agent.py
2929
6cc95a117fbd34ef31b9aa25520f0e31 lib/core/bigarray.py
30-
128a9fbdf43c064e96af3f1493d3baea lib/core/common.py
30+
6517ed1b9cac3780b6ed565d1feff90e lib/core/common.py
3131
5065a4242a8cccf72f91e22e1007ae63 lib/core/convert.py
3232
a8143dab9d3a27490f7d49b6b29ea530 lib/core/data.py
3333
7936d78b1a7f1f008ff92bf2f88574ba lib/core/datatype.py
@@ -46,7 +46,7 @@ ebb778c2d26eba8b34d7d8658e4105a6 lib/core/optiondict.py
4646
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4747
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4848
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
49-
67af5c012b781810e14301748cb43e21 lib/core/settings.py
49+
c67ce72cf54307123a0007d66b3c4fd7 lib/core/settings.py
5050
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5151
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5252
155e2d3fda87b2e3ffa4f7a770513946 lib/core/target.py

0 commit comments

Comments
 (0)