mirror of
https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite.git
synced 2025-12-06 00:51:28 +00:00
Update peass.rb
This commit is contained in:
@@ -140,7 +140,7 @@ class MetasploitModule < Msf::Post
|
||||
#Start the cmd, prepare to read from the uploaded file
|
||||
if session.platform.include?("win")
|
||||
cmd = "$ProgressPreference = 'SilentlyContinue'; $#{ps_var1} = Get-Content -Path #{temp_path};"
|
||||
last_cmd += "del #{temp_path};"
|
||||
last_cmd = "del #{temp_path};"
|
||||
else
|
||||
cmd = "cat #{temp_path}"
|
||||
last_cmd = "rm #{temp_path}"
|
||||
|
||||
Reference in New Issue
Block a user