mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +00:00
Minor beautification
This commit is contained in:
parent
6467c63c24
commit
3513ca66fe
3 changed files with 5 additions and 2 deletions
|
|
@ -949,6 +949,9 @@ def setColor(message, color=None, bold=False, level=None, istty=None):
|
|||
if match:
|
||||
retVal = retVal.replace(match.group(1), colored(match.group(1), color="lightgrey"))
|
||||
|
||||
for match in re.finditer(r"[^\w]'([^']+)'", message): # single-quoted
|
||||
retVal = retVal.replace(match.group(1), colored(match.group(1), color="lightgrey"))
|
||||
|
||||
return retVal
|
||||
|
||||
def clearColors(message):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue