mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
nselib/smb: fix find_files function (next_item coroutine)
Patch by Pierre LALET <pierre.lalet@cea.fr>
This commit is contained in:
parent
1704d93482
commit
b1d6bcd9be
1 changed files with 1 additions and 1 deletions
|
|
@ -2813,7 +2813,7 @@ function find_files(smbstate, fname, options)
|
|||
last_name = fe.fname
|
||||
|
||||
coroutine.yield(fe)
|
||||
until ( ne == 0 )
|
||||
until ( ne == 0 or pos > response.data:len() )
|
||||
first = false
|
||||
until(stop_loop)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue