Merge pull request #3 from Meatballs1/pr3090

Pr3090
bug/bundler_fix
kyuz0 2014-05-02 14:20:00 +01:00
commit faaf0787a5
1 changed files with 3 additions and 3 deletions

View File

@ -106,7 +106,7 @@ class Metasploit3 < Msf::Exploit::Local
process = client.sys.process.open(notepad_process_pid, PROCESS_ALL_ACCESS) process = client.sys.process.open(notepad_process_pid, PROCESS_ALL_ACCESS)
print_good("Process #{process.pid} launched.") print_good("Process #{process.pid} launched.")
rescue Rex::Post::Meterpreter::RequestError rescue Rex::Post::Meterpreter::RequestError
print_status("Operation failed. Trying to elevate the current process...") print_status("Operation failed. Hosting exploit in the current process...")
process = client.sys.process.open process = client.sys.process.open
end end