From 2684e6103c88ce82cae0254e8e4deffc14a2c20a Mon Sep 17 00:00:00 2001 From: jvazquez-r7 Date: Mon, 11 Mar 2013 20:36:47 +0100 Subject: [PATCH] use of send_request_cgi --- modules/auxiliary/gather/external_ip.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auxiliary/gather/external_ip.rb b/modules/auxiliary/gather/external_ip.rb index f9098a2202..cd51cd6916 100755 --- a/modules/auxiliary/gather/external_ip.rb +++ b/modules/auxiliary/gather/external_ip.rb @@ -36,7 +36,7 @@ end def run connect - res = send_request_raw({'uri' => '/ip', 'method' => 'GET' }) + res = send_request_cgi({'uri' => '/ip', 'method' => 'GET' }) our_addr = res.body.strip if Rex::Socket.is_ipv4?(our_addr) or Rex::Socket.is_ipv6?(our_addr) print_good("Source ip to #{rhost} is #{our_addr}")