Land #10770, show full path for webcam_stream file
commit
7f2aa8ca4e
|
@ -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