mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue