mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
Fix for raw_input raising EOFError and KeyboardInterrupt on Ctrl-C (Windows platform)
This commit is contained in:
parent
5ff2e33c43
commit
f2bbf1ead9
|
@ -785,6 +785,7 @@ def readInput(message, default=None, checkBatch=True):
|
||||||
try:
|
try:
|
||||||
data = raw_input() or default
|
data = raw_input() or default
|
||||||
except:
|
except:
|
||||||
|
time.sleep(0.05) # Reference: http://www.gossamer-threads.com/lists/python/python/781893
|
||||||
kb.prependFlag = True
|
kb.prependFlag = True
|
||||||
raise sqlmapUserQuitException
|
raise sqlmapUserQuitException
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user