1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Updates scripts to work with the new version of the TN3270 library. Closes #1078.

This commit is contained in:
paulino
2017-12-10 06:32:33 +00:00
parent cdcf73c88b
commit 3186cbf28f
4 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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