Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package {
- import flash.utils.*;
- import flash.display.*;
- public class RootMe extends Sprite {
- private static const key:string = "rootmeifyoucan";
- private const EmbeddedSWF:class;
- public function RootMe() {
- var _local2:Loader;
- this.EmbeddedSWF = RootMe_EmbeddedSWF;
- super();
- var _local1:ByteArray = new this.EmbeddedSWF();
- if (_local1.length != 0) {
- XOR(_local1, key);
- _local2 = new Loader();
- _local2.loadBytes(_local1);
- addChild(_local2);
- };
- }
- private static function XOR(_arg1:ByteArray, _arg2:string):void {
- var _local3:number = 0;
- var _local4:number = 0;
- while (_local4 < _arg1.length) {
- _arg1[_local4] = (_arg1[_local4] ^ _arg2.charcodeat(_local3));
- _local3++;
- if (_local3 >= _arg2.length) {
- _local3 = 0;
- };
- _local4++;
- };
- }
- }
- }//package
- package {
- import mx.core.*;
- public class RootMe_EmbeddedSWF extends ByteArrayAsset { }
- }//package
- package mx.core {
- public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal";
- }//package mx.core
- package mx.core {
- public interface IFlexAsset { }
- }//package mx.core
- package mx.core {
- import flash.utils.*;
- public class ByteArrayAsset extends ByteArray implements IFlexAsset {
- mx_internal static const version:string = "4.6.0.23201";
- }
- }//package mx.core
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement