mirror of
https://github.com/carlospolop/PEASS-ng
synced 2025-02-17 21:41:25 +01:00
Update peass.rb
This commit is contained in:
parent
6f53b6666f
commit
0231da524b
@ -213,7 +213,7 @@ class MetasploitModule < Msf::Post
|
||||
|
||||
def on_request_uri(cli, request)
|
||||
print_status("HTTP request received")
|
||||
send_response(cli, File.open(@temp_file_path).read, {'Content-Type'=>'text/plain'})
|
||||
send_response(cli, File.read(@temp_file_path), {'Content-Type'=>'text/plain'})
|
||||
print_good("PEASS script sent")
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user