From 3fc1c1db7353c797c0bee7f9666be4aba775f633 Mon Sep 17 00:00:00 2001 From: Patrik Karlsson Date: Fri, 20 Jul 2012 17:07:42 +0200 Subject: [PATCH] fix problem with report_auth_info that was passed invalid host and port params. --- modules/auxiliary/server/capture/sip.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/auxiliary/server/capture/sip.rb b/modules/auxiliary/server/capture/sip.rb index ff9537c305..67a8c891e0 100644 --- a/modules/auxiliary/server/capture/sip.rb +++ b/modules/auxiliary/server/capture/sip.rb @@ -149,8 +149,8 @@ class Metasploit3 < Msf::Auxiliary print_status("SIP LOGIN: #{proof}") report_auth_info( - :host => client_ip, - :port => server_ip, + :host => @requestor[:ip], + :port => @requestor[:port], :sname => 'sip_challenge', :user => username, :pass => response + ":" + auth_tokens['nonce'] + ":" + algorithm,