mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 19:13:12 +00:00
Fixes #5601
This commit is contained in:
parent
27c4e8d29a
commit
bfe03ef95a
2 changed files with 5 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue