diff --git a/modules/post/linux/manage/sudo.rb b/modules/post/linux/manage/sudo.rb index e5ed56db1c..2b42a30e74 100644 --- a/modules/post/linux/manage/sudo.rb +++ b/modules/post/linux/manage/sudo.rb @@ -88,7 +88,7 @@ class Metasploit3 < Msf::Post cmd_exec("sudo -s") end rescue - print_error "SUDO: Passwordless sudo didn't work out." + print_error "SUDO: Passwordless sudo failed." end else begin @@ -110,7 +110,7 @@ class Metasploit3 < Msf::Post cmd_exec("rm #{askpass_sh}") end rescue ::IOError, ::Timeout::Error - print_error "Sudo with a password didn't work out." + print_error "Sudo with a password failed." end end end