mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-15 04:09:02 +00:00
Fixes #3622
This commit is contained in:
3
thirdparty/ansistrm/ansistrm.py
vendored
3
thirdparty/ansistrm/ansistrm.py
vendored
@@ -8,7 +8,6 @@ import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
from lib.core.convert import stdoutencode
|
||||
from lib.core.settings import IS_WIN
|
||||
|
||||
if IS_WIN:
|
||||
@@ -21,6 +20,8 @@ if IS_WIN:
|
||||
ctypes.windll.kernel32.SetConsoleTextAttribute.argtypes = [ctypes.wintypes.HANDLE, ctypes.wintypes.WORD]
|
||||
ctypes.windll.kernel32.SetConsoleTextAttribute.restype = ctypes.wintypes.BOOL
|
||||
|
||||
def stdoutencode(data): # Cross-referenced function
|
||||
raise NotImplementedError
|
||||
|
||||
class ColorizingStreamHandler(logging.StreamHandler):
|
||||
# color names to indices
|
||||
|
||||
Reference in New Issue
Block a user