mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Fixes #5601
This commit is contained in:
@@ -98,6 +98,10 @@ class Custom(object):
|
||||
query = _input("sql-shell> ")
|
||||
query = getUnicode(query, encoding=sys.stdin.encoding)
|
||||
query = query.strip("; ")
|
||||
except UnicodeDecodeError:
|
||||
print()
|
||||
errMsg = "invalid user input"
|
||||
logger.error(errMsg)
|
||||
except KeyboardInterrupt:
|
||||
print()
|
||||
errMsg = "user aborted"
|
||||
|
||||
Reference in New Issue
Block a user