Land #10770, show full path for webcam_stream file
parent
064683495e
commit
4097c620a1
|
@ -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...")
|
||||
|
|
Loading…
Reference in New Issue