mirror of
https://github.com/nmap/nmap.git
synced 2026-09-13 23:21:16 +00:00
Allow lua patterns in tn3270.find, as expected by vtam-enum
This commit is contained in:
parent
3218c0f216
commit
6a60648f21
1 changed files with 1 additions and 1 deletions
|
|
@ -1206,7 +1206,7 @@ Telnet = {
|
|||
end
|
||||
--local buff = self:get_screen()
|
||||
stdnse.debug(3, "Looking for: "..str)
|
||||
local i, j = string.find(buff, str, 1, true)
|
||||
local i, j = string.find(buff, str)
|
||||
if i == nil then
|
||||
stdnse.debug(3, "Couldn't find: "..str)
|
||||
return false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue