mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Updates scripts to work with the new version of the TN3270 library. Closes #1078.
This commit is contained in:
parent
cdcf73c88b
commit
3186cbf28f
4 changed files with 4 additions and 4 deletions
|
|
@ -316,7 +316,7 @@ local function cics_test( host, port, commands, user, pass )
|
|||
end
|
||||
tn:get_screen_debug(2)
|
||||
|
||||
if tn:find('Sign-off is complete.') then
|
||||
if tn:find('off is complete.') then
|
||||
cics = true
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ local function cics_info( host, port, commands, user, pass, cemt, trans )
|
|||
end
|
||||
tn:get_screen_debug(2)
|
||||
|
||||
if not tn:find('Sign-off is complete.') then
|
||||
if not tn:find('off is complete.') then
|
||||
return false, 'Unable to get to CICS. Try --script-args cics-info.commands="logon applid(<applid>)"'
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ Driver = {
|
|||
self.tn3270:get_all_data()
|
||||
end
|
||||
|
||||
if self.tn3270:find("***") then -- For ACF2/TopSecret if required
|
||||
if self.tn3270:find("%*%*%*") then -- For ACF2/TopSecret if required
|
||||
self.tn3270:send_enter()
|
||||
self.tn3270:get_all_data()
|
||||
end
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ Driver = {
|
|||
self.tn3270:get_all_data()
|
||||
end
|
||||
|
||||
if self.tn3270:find("***") then
|
||||
if self.tn3270:find("%*%*%*") then
|
||||
self.tn3270:send_enter()
|
||||
self.tn3270:get_all_data()
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue