show full path

GSoC/Meterpreter_Web_Console
h00die 2018-10-08 10:27:56 -04:00
parent 0827bc5614
commit 71a6d802e8
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...")