Land #10770, show full path for webcam_stream file

GSoC/Meterpreter_Web_Console
Brent Cook 2018-10-09 05:32:32 -05:00
commit 7f2aa8ca4e
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
1 changed files with 3 additions and 2 deletions

View File

@ -248,11 +248,12 @@ Status : <span id="status"></span>
::File.open(player_path, 'wb') do |f|
f.write(html)
end
path = ::File.expand_path(player_path)
if view
print_status("Opening player at: #{player_path}")
print_status("Opening player at: #{path}")
Rex::Compat.open_file(player_path)
else
print_status("Please open the player manually with a browser: #{player_path}")
print_status("Please open the player manually with a browser: #{path}")
end
print_status("Streaming...")