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