mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-05 13:43:27 +03:00
Minor patch for a problem noticed yesterday too (in some cases if Ctrl-C is pressed sent is most probably a None value)
This commit is contained in:
parent
88b992ad83
commit
7cb3ea20dd
|
@ -197,4 +197,6 @@ def send_all(p, data):
|
||||||
|
|
||||||
while len(data):
|
while len(data):
|
||||||
sent = p.send(data)
|
sent = p.send(data)
|
||||||
|
if not isinstance(sent, int):
|
||||||
|
break
|
||||||
data = buffer(data, sent)
|
data = buffer(data, sent)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user