mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-20 18:54:02 +00:00
Minor patch (e.g. case: user's)
This commit is contained in:
parent
f3f4a4cb37
commit
9e8b28be7c
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)
|
||||
|
||||
if level != "PAYLOAD":
|
||||
for match in re.finditer(r"'([^']+)'", message): # single-quoted
|
||||
for match in re.finditer(r"[^\w]'([^']+)'", message): # single-quoted
|
||||
string = match.group(1)
|
||||
if not message.endswith(self.reset):
|
||||
reset = self.reset
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue