Add TODO
parent
5ae65a723f
commit
93537765d0
|
@ -105,7 +105,7 @@ class Metasploit3 < Msf::Exploit::Local
|
|||
profiles_path = "#{sysdrive}\\Documents and Settings\\" if os =~ /(2000|2003|XP|)/
|
||||
profiles_path = "#{sysdrive}\\Users\\"
|
||||
|
||||
# This should relaly be done ala GetUserProfileDirectory
|
||||
# TODO:This should relaly be done ala GetUserProfileDirectory
|
||||
# https://msdn.microsoft.com/en-us/library/windows/desktop/ms682431%28v=vs.85%29.aspx
|
||||
path = "#{profiles_path}#{user}\\"
|
||||
|
||||
|
@ -124,6 +124,8 @@ class Metasploit3 < Msf::Exploit::Local
|
|||
print_status("Executing CreateProcessWithLogonW...")
|
||||
logon = rg_adv.LogonUserW(user,domain, password, "LOGON32_LOGON_INTERACTIVE", "LOGON32_PROVIDER_DEFAULT", 4)
|
||||
puts logon.inspect
|
||||
# TODO: Error if command is greater than 1024, or greater than
|
||||
# MAX_PATH
|
||||
cs = rg_adv.CreateProcessWithLogonW(user,
|
||||
domain,
|
||||
password,
|
||||
|
|
Loading…
Reference in New Issue