Skip to content

Commit 25475ff

Browse files
committed
Msftidy fixes.
Whitespace on ie_execcommand_uaf, and skipping a known-weird caps check on a particular software name.
1 parent 972c595 commit 25475ff

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

modules/exploits/windows/browser/ie_execcommand_uaf.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ class Metasploit3 < Msf::Exploit::Remote
1313
include Msf::Exploit::Remote::HttpServer::HTML
1414
include Msf::Exploit::Remote::BrowserAutopwn
1515
autopwn_info({
16-
:ua_name => HttpClients::IE,
17-
:ua_minver => "7.0",
18-
:ua_maxver => "9.0",
19-
:javascript => true,
20-
:rank => GoodRanking
21-
})
16+
:ua_name => HttpClients::IE,
17+
:ua_minver => "7.0",
18+
:ua_maxver => "9.0",
19+
:javascript => true,
20+
:rank => GoodRanking
21+
})
2222

2323
def initialize(info={})
2424
super(update_info(info,
@@ -133,7 +133,7 @@ def get_payload(t, cli)
133133
exec_size, # EBX
134134
0x77c3ea01, # POP ECX # RETN
135135
0x77c5d000, # W pointer (lpOldProtect) (-> ecx)
136-
0x77c46100, # POP EDI # RETN
136+
0x77c46100, # POP EDI # RETN
137137
0x77c46101, # ROP NOP (-> edi)
138138
0x77c4d680, # POP EDX # RETN
139139
0x00000040, # newProtect (0x40) (-> edx)
@@ -386,7 +386,7 @@ def exploit
386386
637d4651 ff5008 call dword ptr [eax+8]
387387
388388
0:008> k
389-
ChildEBP RetAddr
389+
ChildEBP RetAddr
390390
020bbe8c 637d4387 mshtml!CMshtmlEd::Exec+0x134
391391
020bbebc 637be2fc mshtml!CEditRouter::ExecEditCommand+0xd6
392392
020bc278 638afda7 mshtml!CDoc::ExecHelper+0x3c91

tools/msftidy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def check_single_file(dparts, fparts, f_rel)
9393
[words.first, words.last].each do |word|
9494
if word[0,1] =~ /[a-z]/ and word[1,1] !~ /[A-Z0-9]/
9595
next if word =~ /php[A-Z]/
96-
next if %w{iseemedia activePDF freeFTPd osCommerce myBB}.include? word
96+
next if %w{iseemedia activePDF freeFTPd osCommerce myBB qdPM}.include? word
9797
show_missing(f, "WARNING: bad capitalization in module title: #{word}", false)
9898
end
9999
end

0 commit comments

Comments
 (0)