mirror of
https://github.com/peass-ng/PEASS-ng.git
synced 2026-07-30 23:50:27 -07:00
Update peass.rb
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user