Clean environment variables

bug/bundler_fix
jvazquez-r7 2014-05-30 12:21:23 -05:00
parent e215bd6e39
commit 3ae4a16717
1 changed files with 3 additions and 0 deletions

View File

@ -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