Skip to content

Commit c93dc04

Browse files
committed
Resolve address before storing the working cred
1 parent 5ca8f18 commit c93dc04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/unix/webapp/actualanalyzer_ant_cookie_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def get_analytics_host_admin
183183
vprint_good("#{peer} - Found analytics host: #{analytics_host}")
184184
print_good("#{peer} - Login successful! (#{user}:#{pass})")
185185
service_data = {
186-
address: rhost,
186+
address: Rex::Socket.getaddress(rhost, true),
187187
port: rport,
188188
service_name: (ssl ? 'https' : 'http'),
189189
protocol: 'tcp',

0 commit comments

Comments
 (0)