Land #4300, @wchen-r7's fix for #3886

bug/bundler_fix
Jon Hart 2014-12-03 10:58:50 -08:00
commit fee712bf23
No known key found for this signature in database
GPG Key ID: 2FA9F0A3AFA8E9D3
3 changed files with 6 additions and 0 deletions

View File

@ -113,6 +113,8 @@ module Auxiliary
# be normalized
mod.validate
mod.setup
# Run check
mod.check
end

View File

@ -182,6 +182,8 @@ module Exploit
# be normalized
mod.validate
mod.setup
# Run check
mod.check
end

View File

@ -3,6 +3,8 @@
module Msf::Post::Common
def rhost
return nil unless session
case session.type
when 'meterpreter'
session.sock.peerhost