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

Skip to content

Commit 6d28ca1

Browse files
committed
Bug fix (single-quoted strings in long results caused line breaks)
1 parent 03e4741 commit 6d28ca1

3 files changed

Lines changed: 4 additions & 4 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.8.9"
22+
VERSION = "1.2.8.10"
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)

thirdparty/ansistrm/ansistrm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def colorize(self, message, levelno):
190190
reset = self.reset + self.bold
191191
else:
192192
reset = self.reset
193-
message = message.replace(string, ''.join((self.csi, str(self.color_map["white"] + 30), 'm', string, reset)), 1)
193+
message = message.replace("'%s'" % string, "'%s'" % ''.join((self.csi, str(self.color_map["white"] + 30), 'm', string, reset)), 1)
194194
else:
195195
message = ''.join((self.csi, ';'.join(params), 'm', message, self.reset))
196196

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
4848
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4949
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5050
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
51-
2f3aba628e9e54988d510c5c1930e77a lib/core/settings.py
51+
4a7ac205b72dafaf6c89cc4a0a8459f4 lib/core/settings.py
5252
dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5353
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5454
5b7ff6f49ff3af62f8c12f74b6d49dd2 lib/core/target.py
@@ -285,7 +285,7 @@ f2b9eac52d346315f5705f71beeda791 tamper/varnish.py
285285
0e40966a51d1eb5d42a2159d2015a8a4 tamper/versionedkeywords.py
286286
0fba004bf1be6edbefbda89f23f4e518 tamper/versionedmorekeywords.py
287287
de532c4e3160039335010c499129d54f tamper/xforwardedfor.py
288-
3f6a3d322a4629d5bbd93f43ff8e59cc thirdparty/ansistrm/ansistrm.py
288+
c03de596a9090650c83e8ef722b82833 thirdparty/ansistrm/ansistrm.py
289289
d41d8cd98f00b204e9800998ecf8427e thirdparty/ansistrm/__init__.py
290290
8e775c25bc9e84891ad6fcb4f0005c23 thirdparty/beautifulsoup/beautifulsoup.py
291291
cb2e1fe7c404dff41a2ae9132828f532 thirdparty/beautifulsoup/__init__.py

0 commit comments

Comments
 (0)