mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-09 14:11:29 +00:00
Minor patch
This commit is contained in:
2
thirdparty/ansistrm/ansistrm.py
vendored
2
thirdparty/ansistrm/ansistrm.py
vendored
@@ -182,7 +182,7 @@ class ColorizingStreamHandler(logging.StreamHandler):
|
||||
message = message.replace(counter, ''.join((self.csi, str(self.color_map["yellow"] + 30), 'm', counter, reset)), 1)
|
||||
|
||||
match = re.search(r"'([^']+)'", message) # single-quoted
|
||||
if match:
|
||||
if level != "PAYLOAD" and match:
|
||||
string = match.group(1)
|
||||
if not message.endswith(self.reset):
|
||||
reset = self.reset
|
||||
|
||||
Reference in New Issue
Block a user