diff --git a/scripts/cics-enum.nse b/scripts/cics-enum.nse index b2e667d5d..62c33854d 100644 --- a/scripts/cics-enum.nse +++ b/scripts/cics-enum.nse @@ -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 diff --git a/scripts/cics-info.nse b/scripts/cics-info.nse index 6dad34798..aa524c404 100644 --- a/scripts/cics-info.nse +++ b/scripts/cics-info.nse @@ -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()"' end diff --git a/scripts/tso-brute.nse b/scripts/tso-brute.nse index ba8cd74b6..80df50ae8 100644 --- a/scripts/tso-brute.nse +++ b/scripts/tso-brute.nse @@ -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 diff --git a/scripts/tso-enum.nse b/scripts/tso-enum.nse index 7b953861d..f04bd331c 100644 --- a/scripts/tso-enum.nse +++ b/scripts/tso-enum.nse @@ -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