Skip to content

Commit 8520cbf

Browse files
committed
fixes spotted by @jlee-r7
1 parent f3e94d2 commit 8520cbf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

modules/exploits/windows/local/bypassuac.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,13 @@ def initialize(info={})
3636
'Platform' => [ 'windows' ],
3737
'SessionTypes' => [ 'meterpreter' ],
3838
'Targets' => [ [ 'Windows', {} ] ],
39+
'DefaultTarget' => 0,
3940
'References' => [
4041
[ 'URL', ' http://www.trustedsec.com/december-2010/bypass-windows-uac/' ]
4142
],
4243
'DisclosureDate'=> "Dec 31, 2010"
4344
))
4445

45-
register_options([
46-
])
47-
4846
end
4947

5048
def exploit
@@ -54,7 +52,6 @@ def exploit
5452
# Verify use against Vista+
5553
#
5654
vuln = false
57-
sysinfo = session.sys.config.sysinfo
5855
winver = sysinfo["OS"]
5956
affected = [ 'Windows Vista', 'Windows 7', 'Windows 2008' ]
6057
affected.each { |v|

0 commit comments

Comments
 (0)