diff --git a/lib/msf/core/post/windows/process.rb b/lib/msf/core/post/windows/process.rb index 2509e9de44..f140e3e669 100644 --- a/lib/msf/core/post/windows/process.rb +++ b/lib/msf/core/post/windows/process.rb @@ -35,10 +35,9 @@ module Process thread = host.thread.create(shell_addr,0) unless thread.instance_of?(Rex::Post::Meterpreter::Extensions::Stdapi::Sys::Thread) vprint_error("Unable to create thread") - return false end - true + thread end end # Process