Advertisement
Guest User

Flash-Authentification

a guest
Jan 21st, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //ActionScript 3.0
  2. //  package mx
  3. //    package core
  4. //      class ByteArrayAsset
  5. package mx.core
  6. {
  7.     import flash.utils.*;
  8.    
  9.     use namespace mx_internal;
  10.    
  11.     public class ByteArrayAsset extends flash.utils.ByteArray implements mx.core.IFlexAsset
  12.     {
  13.         public function ByteArrayAsset()
  14.         {
  15.             super();
  16.             return;
  17.         }
  18.  
  19.        
  20.         {
  21.             mx_internal::VERSION = "4.6.0.23201";
  22.         }
  23.  
  24.         mx_internal static const VERSION:String="4.6.0.23201";
  25.     }
  26. }
  27.  
  28.  
  29. //      class IFlexAsset
  30. package mx.core
  31. {
  32.     public interface IFlexAsset
  33.     {
  34.     }
  35. }
  36.  
  37.  
  38. //      namespace mx_internal
  39. package mx.core
  40. {
  41.     public namespace mx_internal="http://www.adobe.com/2006/flex/mx/internal";
  42. }
  43.  
  44.  
  45. //  class RootMe
  46. package
  47. {
  48.     import flash.display.*;
  49.     import flash.utils.*;
  50.    
  51.     public class RootMe extends flash.display.Sprite
  52.     {
  53.         public function RootMe()
  54.         {
  55.             var loc2:*=null;
  56.             super();
  57.             var loc1:*=new this.EmbeddedSWF();
  58.             if (loc1.length != 0)
  59.             {
  60.                 XOR(loc1, KEY);
  61.                 loc2 = new flash.display.Loader();
  62.                 loc2.loadBytes(loc1);
  63.                 addChild(loc2);
  64.             }
  65.             return;
  66.         }
  67.  
  68.         internal static function XOR(arg1:flash.utils.ByteArray, arg2:String):void
  69.         {
  70.             var loc1:*=0;
  71.             var loc2:*=0;
  72.             while (loc2 < arg1.length)
  73.             {
  74.                 arg1[loc2] = arg1[loc2] ^ arg2.charCodeAt(loc1);
  75.                 ++loc1;
  76.                 if (loc1 >= arg2.length)
  77.                 {
  78.                     loc1 = 0;
  79.                 }
  80.                 ++loc2;
  81.             }
  82.             return;
  83.         }
  84.  
  85.         internal const EmbeddedSWF:Class=RootMe_EmbeddedSWF;
  86.  
  87.         internal static const KEY:String="rootmeifyoucan";
  88.     }
  89. }
  90.  
  91.  
  92. //  class RootMe_EmbeddedSWF
  93. package
  94. {
  95.     import mx.core.*;
  96.    
  97.     public class RootMe_EmbeddedSWF extends mx.core.ByteArrayAsset
  98.     {
  99.         public function RootMe_EmbeddedSWF()
  100.         {
  101.             super();
  102.             return;
  103.         }
  104.     }
  105. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement