We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c89599 commit 2684e61Copy full SHA for 2684e61
modules/auxiliary/gather/external_ip.rb
@@ -36,7 +36,7 @@ def initialize
36
37
def run
38
connect
39
- res = send_request_raw({'uri' => '/ip', 'method' => 'GET' })
+ res = send_request_cgi({'uri' => '/ip', 'method' => 'GET' })
40
our_addr = res.body.strip
41
if Rex::Socket.is_ipv4?(our_addr) or Rex::Socket.is_ipv6?(our_addr)
42
print_good("Source ip to #{rhost} is #{our_addr}")
0 commit comments