1
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:
Carlos Polop 2021-10-05 09:42:41 +01:00 committed by GitHub
parent 6f53b6666f
commit 0231da524b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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