mirror of
https://github.com/carlospolop/PEASS-ng
synced 2025-04-01 08:19:19 +02:00
Update peass.rb
This commit is contained in:
parent
b3c37ab8ca
commit
1203e1e562
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user