Skip to content

Commit b9cda51

Browse files
committed
Add target info to message
1 parent dea68c6 commit b9cda51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/linux/http/dlink_hnap_bof.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def exploit
108108
fail_with(Failure::NoTarget, "#{peer} - Failed to auto detect, try setting a manual target...")
109109
end
110110

111-
print_status("#{peer} - Exploiting ...")
111+
print_status("#{peer} - Exploiting #{@my_target.name}...")
112112
execute_cmdstager(
113113
:flavor => :echo,
114114
:linemax => 185
@@ -143,7 +143,7 @@ def execute_command(cmd, opts)
143143
'uri' => "/HNAP1/",
144144
'encode_params' => false,
145145
'data' => shellcode
146-
})
146+
}, 5)
147147
return res
148148
rescue ::Rex::ConnectionError
149149
fail_with(Failure::Unreachable, "#{peer} - Failed to connect to the web server")

0 commit comments

Comments
 (0)