replace client.sys.config.getenv with get_env

unstable
Hans-Martin Münch (h0ng10) 2015-05-15 06:33:57 +02:00
parent bba261a1cf
commit bb4f5da6d9
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ class Metasploit3 < Msf::Exploit::Local
if datastore['WritableDir'] and not datastore['WritableDir'].empty?
temp_dir = datastore['WritableDir']
else
temp_dir = client.sys.config.getenv('TEMP')
temp_dir = get_env('TEMP')
end
print_status("Using #{temp_dir} to drop malicious exe")