Skip to content

Commit 2684e61

Browse files
author
jvazquez-r7
committed
use of send_request_cgi
1 parent 9c89599 commit 2684e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/gather/external_ip.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def initialize
3636

3737
def run
3838
connect
39-
res = send_request_raw({'uri' => '/ip', 'method' => 'GET' })
39+
res = send_request_cgi({'uri' => '/ip', 'method' => 'GET' })
4040
our_addr = res.body.strip
4141
if Rex::Socket.is_ipv4?(our_addr) or Rex::Socket.is_ipv6?(our_addr)
4242
print_good("Source ip to #{rhost} is #{our_addr}")

0 commit comments

Comments
 (0)