Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //ActionScript 3.0
- // package mx
- // package core
- // class ByteArrayAsset
- package mx.core
- {
- import flash.utils.*;
- use namespace mx_internal;
- public class ByteArrayAsset extends flash.utils.ByteArray implements mx.core.IFlexAsset
- {
- public function ByteArrayAsset()
- {
- super();
- return;
- }
- {
- mx_internal::VERSION = "4.6.0.23201";
- }
- mx_internal static const VERSION:String="4.6.0.23201";
- }
- }
- // class IFlexAsset
- package mx.core
- {
- public interface IFlexAsset
- {
- }
- }
- // namespace mx_internal
- package mx.core
- {
- public namespace mx_internal="http://www.adobe.com/2006/flex/mx/internal";
- }
- // class RootMe
- package
- {
- import flash.display.*;
- import flash.utils.*;
- public class RootMe extends flash.display.Sprite
- {
- public function RootMe()
- {
- var loc2:*=null;
- super();
- var loc1:*=new this.EmbeddedSWF();
- if (loc1.length != 0)
- {
- XOR(loc1, KEY);
- loc2 = new flash.display.Loader();
- loc2.loadBytes(loc1);
- addChild(loc2);
- }
- return;
- }
- internal static function XOR(arg1:flash.utils.ByteArray, arg2:String):void
- {
- var loc1:*=0;
- var loc2:*=0;
- while (loc2 < arg1.length)
- {
- arg1[loc2] = arg1[loc2] ^ arg2.charCodeAt(loc1);
- ++loc1;
- if (loc1 >= arg2.length)
- {
- loc1 = 0;
- }
- ++loc2;
- }
- return;
- }
- internal const EmbeddedSWF:Class=RootMe_EmbeddedSWF;
- internal static const KEY:String="rootmeifyoucan";
- }
- }
- // class RootMe_EmbeddedSWF
- package
- {
- import mx.core.*;
- public class RootMe_EmbeddedSWF extends mx.core.ByteArrayAsset
- {
- public function RootMe_EmbeddedSWF()
- {
- super();
- return;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement