mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor patch
This commit is contained in:
parent
5f1bae86b0
commit
22c7bc54b4
3 changed files with 4 additions and 4 deletions
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue