Clean environment variables
parent
e215bd6e39
commit
3ae4a16717
|
@ -73,6 +73,9 @@ class Metasploit3 < Msf::Exploit::Local
|
|||
Timeout.timeout(datastore['DELAY']) { super }
|
||||
rescue Timeout::Error
|
||||
end
|
||||
|
||||
session.railgun.kernel32.SetEnvironmentVariableA("HTA_URL", nil)
|
||||
session.railgun.kernel32.SetEnvironmentVariableA("HTML_URL", nil)
|
||||
end
|
||||
|
||||
def primer
|
||||
|
|
Loading…
Reference in New Issue