robertwessen / flash-xdomain-xploit

ActionScript Proof of Concept to perform cross-domain reads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Author: Gursev Singh Kalra (gursev.kalra@foundstone.com)

Bypassing Same Origin Policy with Flash and Insecure crossdomain.xml

Compiling and deploying the Proof of Concept ActionScript code
1. Download and install Apache Flex SDK. It comes with an ActionScript compiler.
2. Copy the ActionScript code to your local directory and name it XDomainXploit.as.
3. Change the values of readFrom and sendTo parameters to appropriate values as per your needs.
4. Compile the code with the mxmlc compiler to a Flash file by running the following command. The mxmlc compiler is shipped with Apache Flex.
	mxmlc XDomainXploit.as
5. Deploy the generated Swf and the provided HTML(xdm.html) files to enjoy the Flash goodness.

About

ActionScript Proof of Concept to perform cross-domain reads


Languages

Language:ActionScript 100.0%