mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-30 19:39:08 +00:00
Minor style updates
This commit is contained in:
@@ -787,7 +787,7 @@ def client(host=RESTAPI_DEFAULT_ADDRESS, port=RESTAPI_DEFAULT_PORT, username=Non
|
||||
return
|
||||
|
||||
commands = ("help", "new", "use", "data", "log", "status", "option", "stop", "kill", "list", "flush", "version", "exit", "bye", "quit")
|
||||
colors = ('red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'lightgrey', 'lightred', 'lightgreen', 'lightyellow', 'lightblue', 'lightmagenta', 'lightcyan')
|
||||
colors = ('red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'lightgrey', 'lightred', 'lightgreen', 'lightyellow', 'lightblue', 'lightmagenta', 'lightcyan')
|
||||
autoCompletion(AUTOCOMPLETE_TYPE.API, commands=commands)
|
||||
|
||||
taskid = None
|
||||
|
||||
@@ -59,7 +59,7 @@ def checkDependencies():
|
||||
elif dbmsName == DBMS.CUBRID:
|
||||
__import__("CUBRIDdb")
|
||||
elif dbmsName == DBMS.CLICKHOUSE:
|
||||
__import__("clickhouse_connect")
|
||||
__import__("clickhouse_connect")
|
||||
except:
|
||||
warnMsg = "sqlmap requires '%s' third-party library " % data[1]
|
||||
warnMsg += "in order to directly connect to the DBMS "
|
||||
|
||||
@@ -16,7 +16,7 @@ class _Getch(object):
|
||||
except ImportError:
|
||||
try:
|
||||
self.impl = _GetchMacCarbon()
|
||||
except(AttributeError, ImportError):
|
||||
except (AttributeError, ImportError):
|
||||
self.impl = _GetchUnix()
|
||||
|
||||
def __call__(self):
|
||||
|
||||
Reference in New Issue
Block a user