mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
minor fix to distinguish stdout from stderr
This commit is contained in:
parent
ef40779ad3
commit
ccc3c3d1a3
|
@ -178,9 +178,10 @@ def recv_some(p, t=.1, e=1, tr=5, stderr=0):
|
|||
x = time.time()+t
|
||||
y = []
|
||||
r = ''
|
||||
pr = p.recv
|
||||
if stderr:
|
||||
pr = p.recv_err
|
||||
else:
|
||||
pr = p.recv
|
||||
while time.time() < x or r:
|
||||
r = pr()
|
||||
if r is None:
|
||||
|
|
Loading…
Reference in New Issue
Block a user