mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
fixes for bugs reported by pragmatk@gmail.com
This commit is contained in:
@@ -507,7 +507,7 @@ def readInput(message, default=None):
|
||||
|
||||
data = default
|
||||
else:
|
||||
data = raw_input(message.encode(sys.stdout.encoding))
|
||||
data = raw_input(message.encode(sys.stdout.encoding or conf.dataEncoding))
|
||||
|
||||
if not data:
|
||||
data = default
|
||||
|
||||
Reference in New Issue
Block a user