From d1d45059f2354d60d2ae7a2119c145822a158d6a Mon Sep 17 00:00:00 2001 From: sinn3r Date: Fri, 10 Jan 2014 18:27:03 -0600 Subject: [PATCH] use session_host instead --- modules/post/multi/gather/check_malware.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/post/multi/gather/check_malware.rb b/modules/post/multi/gather/check_malware.rb index 5804c8562d..b44ce1f005 100644 --- a/modules/post/multi/gather/check_malware.rb +++ b/modules/post/multi/gather/check_malware.rb @@ -32,7 +32,7 @@ class Metasploit3 < Msf::Post end def rhost - session.sock.peerhost + session.session_host end def get_report(api_key, checksum)