mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
nselib/smb: fix find_files function (next_item coroutine)
Patch by Pierre LALET <pierre.lalet@cea.fr>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user