This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,466 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.CompilerServices;
using System.Security.Cryptography;
using System.Text;
namespace BestHTTP.Extensions
{
// Token: 0x020001E6 RID: 486
public static class AGODJKPLNGO
{
// Token: 0x06005E63 RID: 24163 RVA: 0x001ED9F4 File Offset: 0x001EBBF4
public static string PFMBHNENAEF(this byte[] KCKIMCJGKMF)
{
StringBuilder stringBuilder = new StringBuilder(KCKIMCJGKMF.Length);
foreach (byte b in KCKIMCJGKMF)
{
stringBuilder.Append((b > 127) ? '?' : ((char)b));
}
return stringBuilder.ToString();
}
// Token: 0x06005E64 RID: 24164 RVA: 0x001EDA44 File Offset: 0x001EBC44
public static byte[] EFPMFAKGJMF(this string ECFMJBEFGGB)
{
byte[] array = new byte[ECFMJBEFGGB.Length];
for (int i = 0; i < ECFMJBEFGGB.Length; i++)
{
char c = ECFMJBEFGGB[i];
array[i] = (byte)((c >= '\u0080') ? '?' : c);
}
return array;
}
// Token: 0x06005E65 RID: 24165 RVA: 0x001EDA94 File Offset: 0x001EBC94
public static void FIJIOMBCMOA(this BinaryWriter JAGHIAOIDOC, string ECFMJBEFGGB)
{
foreach (char c in ECFMJBEFGGB)
{
JAGHIAOIDOC.Write((byte)((c >= '\u0080') ? '?' : c));
}
}
// Token: 0x06005E66 RID: 24166 RVA: 0x001EDADC File Offset: 0x001EBCDC
public static void JNHILEIDDMO(this FileStream GIJFHJEGJDJ)
{
GIJFHJEGJDJ.Write(KGBBPEDECCO.CGLGFFJBAEH, 0, 2);
}
// Token: 0x06005E67 RID: 24167 RVA: 0x001EDAEC File Offset: 0x001EBCEC
public static void JNHILEIDDMO(this FileStream GIJFHJEGJDJ, string HBMDFGPBJBI)
{
byte[] array = HBMDFGPBJBI.EFPMFAKGJMF();
GIJFHJEGJDJ.Write(array, 0, array.Length);
GIJFHJEGJDJ.JNHILEIDDMO();
}
// Token: 0x06005E68 RID: 24168 RVA: 0x001EDB14 File Offset: 0x001EBD14
public static void JNHILEIDDMO(this FileStream GIJFHJEGJDJ, string ECPFMLBHBPC, params object[] KKFILPJAGOI)
{
byte[] array = string.Format(ECPFMLBHBPC, KKFILPJAGOI).EFPMFAKGJMF();
GIJFHJEGJDJ.Write(array, 0, array.Length);
GIJFHJEGJDJ.JNHILEIDDMO();
}
// Token: 0x06005E69 RID: 24169 RVA: 0x001EDB40 File Offset: 0x001EBD40
public static string HMHCMOOAOGP(this Uri CAGBGCGKOKD)
{
string text = CAGBGCGKOKD.GetComponents(UriComponents.PathAndQuery, UriFormat.UriEscaped);
if (string.IsNullOrEmpty(text))
{
text = "/";
}
return text;
}
// Token: 0x06005E6A RID: 24170 RVA: 0x001EDB6C File Offset: 0x001EBD6C
public static string[] IAPIGKNCAIF(this string ECFMJBEFGGB, string BEAKIKALKIF)
{
string[] array = ECFMJBEFGGB.ToLower().Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
BEAKIKALKIF = BEAKIKALKIF.ToLower();
for (int i = 0; i < array.Length; i++)
{
if (array[i].Contains(BEAKIKALKIF))
{
return array[i].Split(new char[] { '=' }, StringSplitOptions.RemoveEmptyEntries);
}
}
return null;
}
// Token: 0x06005E6B RID: 24171 RVA: 0x001EDBD4 File Offset: 0x001EBDD4
public static void EKALIGPPBAK(this Stream JAGHIAOIDOC, byte[] GDLLJBOEGNF)
{
JAGHIAOIDOC.Write(GDLLJBOEGNF, 0, GDLLJBOEGNF.Length);
}
// Token: 0x06005E6C RID: 24172 RVA: 0x001EDBE4 File Offset: 0x001EBDE4
public static int CADBPLNDELB(this string ECFMJBEFGGB, int FJIHPPGEJCF = 0)
{
if (ECFMJBEFGGB == null)
{
return FJIHPPGEJCF;
}
int num;
try
{
num = int.Parse(ECFMJBEFGGB);
}
catch
{
num = FJIHPPGEJCF;
}
return num;
}
// Token: 0x06005E6D RID: 24173 RVA: 0x001EDC20 File Offset: 0x001EBE20
public static long MCDLPIAPICP(this string ECFMJBEFGGB, long FJIHPPGEJCF = 0L)
{
if (ECFMJBEFGGB == null)
{
return FJIHPPGEJCF;
}
long num;
try
{
num = long.Parse(ECFMJBEFGGB);
}
catch
{
num = FJIHPPGEJCF;
}
return num;
}
// Token: 0x06005E6E RID: 24174 RVA: 0x001EDC5C File Offset: 0x001EBE5C
public static DateTime AGJMDMBDLBA(this string ECFMJBEFGGB, DateTime FJIHPPGEJCF = default(DateTime))
{
if (ECFMJBEFGGB == null)
{
return FJIHPPGEJCF;
}
DateTime dateTime;
try
{
DateTime.TryParse(ECFMJBEFGGB, out FJIHPPGEJCF);
dateTime = FJIHPPGEJCF.ToUniversalTime();
}
catch
{
dateTime = FJIHPPGEJCF;
}
return dateTime;
}
// Token: 0x06005E6F RID: 24175 RVA: 0x001EDCA0 File Offset: 0x001EBEA0
public static string CECEEGOKIKE(this string ECFMJBEFGGB)
{
if (ECFMJBEFGGB == null)
{
return string.Empty;
}
return ECFMJBEFGGB;
}
// Token: 0x06005E70 RID: 24176 RVA: 0x001EDCB0 File Offset: 0x001EBEB0
public static string AJCJFKBEIJO(this string JBJAEFPPCHF)
{
return JBJAEFPPCHF.EFPMFAKGJMF().AJCJFKBEIJO();
}
// Token: 0x06005E71 RID: 24177 RVA: 0x001EDCC0 File Offset: 0x001EBEC0
public static string AJCJFKBEIJO(this byte[] JBJAEFPPCHF)
{
byte[] array = MD5.Create().ComputeHash(JBJAEFPPCHF);
StringBuilder stringBuilder = new StringBuilder();
foreach (byte b in array)
{
stringBuilder.Append(b.ToString("x2"));
}
return stringBuilder.ToString();
}
// Token: 0x06005E72 RID: 24178 RVA: 0x001EDD18 File Offset: 0x001EBF18
internal static string IIPLLALIEMN(this string ECFMJBEFGGB, ref int IFJEHHMHOOM, char DHGCLLLPFDF, bool JLGKJCHPFLA = true)
{
AGODJKPLNGO.OIMAGMKMHKD oimagmkmhkd = new AGODJKPLNGO.OIMAGMKMHKD();
oimagmkmhkd.DHGCLLLPFDF = DHGCLLLPFDF;
return ECFMJBEFGGB.IIPLLALIEMN(ref IFJEHHMHOOM, new Func<char, bool>(oimagmkmhkd.OJKNBNGGBEC), JLGKJCHPFLA);
}
// Token: 0x06005E73 RID: 24179 RVA: 0x001EDD48 File Offset: 0x001EBF48
internal static string IIPLLALIEMN(this string ECFMJBEFGGB, ref int IFJEHHMHOOM, Func<char, bool> DHGCLLLPFDF, bool JLGKJCHPFLA = true)
{
if (IFJEHHMHOOM >= ECFMJBEFGGB.Length)
{
return string.Empty;
}
ECFMJBEFGGB.OAKNLCGNGDN(ref IFJEHHMHOOM);
int num = IFJEHHMHOOM;
while (IFJEHHMHOOM < ECFMJBEFGGB.Length && DHGCLLLPFDF(ECFMJBEFGGB[IFJEHHMHOOM]))
{
IFJEHHMHOOM++;
}
string text = ((!JLGKJCHPFLA) ? null : ECFMJBEFGGB.Substring(num, IFJEHHMHOOM - num));
IFJEHHMHOOM++;
return text;
}
// Token: 0x06005E74 RID: 24180 RVA: 0x001EDDBC File Offset: 0x001EBFBC
internal static string KGEIGJHEPGB(this string ECFMJBEFGGB, ref int IFJEHHMHOOM)
{
string text = string.Empty;
if (ECFMJBEFGGB == null)
{
return text;
}
if (ECFMJBEFGGB[IFJEHHMHOOM] == '"')
{
ECFMJBEFGGB.IIPLLALIEMN(ref IFJEHHMHOOM, '"', false);
text = ECFMJBEFGGB.IIPLLALIEMN(ref IFJEHHMHOOM, '"', true);
ECFMJBEFGGB.IIPLLALIEMN(ref IFJEHHMHOOM, ',', false);
}
else
{
if (AGODJKPLNGO.DINNJGHCFHI == null)
{
AGODJKPLNGO.DINNJGHCFHI = new Func<char, bool>(AGODJKPLNGO.HILPBCIONJG);
}
text = ECFMJBEFGGB.IIPLLALIEMN(ref IFJEHHMHOOM, AGODJKPLNGO.DINNJGHCFHI, true);
}
return text;
}
// Token: 0x06005E75 RID: 24181 RVA: 0x001EDE34 File Offset: 0x001EC034
internal static void OAKNLCGNGDN(this string ECFMJBEFGGB, ref int IFJEHHMHOOM)
{
if (IFJEHHMHOOM >= ECFMJBEFGGB.Length)
{
return;
}
while (IFJEHHMHOOM < ECFMJBEFGGB.Length && char.IsWhiteSpace(ECFMJBEFGGB[IFJEHHMHOOM]))
{
IFJEHHMHOOM++;
}
}
// Token: 0x06005E76 RID: 24182 RVA: 0x001EDE70 File Offset: 0x001EC070
internal static string POIPHEMDHEC(this string ECFMJBEFGGB)
{
if (ECFMJBEFGGB == null)
{
return null;
}
char[] array = new char[ECFMJBEFGGB.Length];
int num = 0;
foreach (char c in ECFMJBEFGGB)
{
if (!char.IsWhiteSpace(c) && !char.IsControl(c))
{
array[num++] = char.ToLowerInvariant(c);
}
}
return new string(array, 0, num);
}
// Token: 0x06005E77 RID: 24183 RVA: 0x001EDEE0 File Offset: 0x001EC0E0
internal static char? NAJJHKIPBBP(this string ECFMJBEFGGB, int IFJEHHMHOOM)
{
if (IFJEHHMHOOM < 0 || IFJEHHMHOOM >= ECFMJBEFGGB.Length)
{
return null;
}
return new char?(ECFMJBEFGGB[IFJEHHMHOOM]);
}
// Token: 0x06005E78 RID: 24184 RVA: 0x001EDF18 File Offset: 0x001EC118
internal static List<AEBLKMKBEBL> GMAEHPILIHD(this string ECFMJBEFGGB)
{
List<AEBLKMKBEBL> list = new List<AEBLKMKBEBL>();
if (ECFMJBEFGGB == null)
{
return list;
}
int i = 0;
while (i < ECFMJBEFGGB.Length)
{
if (AGODJKPLNGO.GILODIKMIAJ == null)
{
AGODJKPLNGO.GILODIKMIAJ = new Func<char, bool>(AGODJKPLNGO.EBJPLBFBNKG);
}
string text = ECFMJBEFGGB.IIPLLALIEMN(ref i, AGODJKPLNGO.GILODIKMIAJ, true).POIPHEMDHEC();
AEBLKMKBEBL aeblkmkbebl = new AEBLKMKBEBL(text);
if (ECFMJBEFGGB[i - 1] == '=')
{
aeblkmkbebl.ANKACHDHNCL = ECFMJBEFGGB.KGEIGJHEPGB(ref i);
}
list.Add(aeblkmkbebl);
}
return list;
}
// Token: 0x06005E79 RID: 24185 RVA: 0x001EDFA0 File Offset: 0x001EC1A0
internal static List<AEBLKMKBEBL> MPCDFFLIJNH(this string ECFMJBEFGGB)
{
List<AEBLKMKBEBL> list = new List<AEBLKMKBEBL>();
if (ECFMJBEFGGB == null)
{
return list;
}
int i = 0;
while (i < ECFMJBEFGGB.Length)
{
if (AGODJKPLNGO.EICAJPBPBFO == null)
{
AGODJKPLNGO.EICAJPBPBFO = new Func<char, bool>(AGODJKPLNGO.FIPGILDIGGJ);
}
string text = ECFMJBEFGGB.IIPLLALIEMN(ref i, AGODJKPLNGO.EICAJPBPBFO, true).POIPHEMDHEC();
AEBLKMKBEBL aeblkmkbebl = new AEBLKMKBEBL(text);
if (ECFMJBEFGGB[i - 1] == ';')
{
ECFMJBEFGGB.IIPLLALIEMN(ref i, '=', false);
aeblkmkbebl.ANKACHDHNCL = ECFMJBEFGGB.IIPLLALIEMN(ref i, ',', true);
}
list.Add(aeblkmkbebl);
}
return list;
}
// Token: 0x06005E7A RID: 24186 RVA: 0x001EE038 File Offset: 0x001EC238
public static void PDCMFMMDLIP(this Stream JAGHIAOIDOC, byte[] PIJMJBDFBJB)
{
int num = 0;
for (;;)
{
int num2 = JAGHIAOIDOC.Read(PIJMJBDFBJB, num, PIJMJBDFBJB.Length - num);
if (num2 <= 0)
{
break;
}
num += num2;
if (num >= PIJMJBDFBJB.Length)
{
return;
}
}
throw NPOMEFNPDHN.EJCCOMDGBAB();
}
// Token: 0x06005E7B RID: 24187 RVA: 0x001EE070 File Offset: 0x001EC270
public static void OFOMPAFFFLI(this MemoryStream PBBANIINIBH, byte[] PIJMJBDFBJB)
{
PBBANIINIBH.Write(PIJMJBDFBJB, 0, PIJMJBDFBJB.Length);
}
// Token: 0x06005E7C RID: 24188 RVA: 0x001EE080 File Offset: 0x001EC280
public static void MLJNBJLHAIJ(this MemoryStream PBBANIINIBH, string ECFMJBEFGGB)
{
byte[] bytes = Encoding.UTF8.GetBytes(ECFMJBEFGGB);
PBBANIINIBH.OFOMPAFFFLI(bytes);
}
// Token: 0x06005E7D RID: 24189 RVA: 0x001EE0A0 File Offset: 0x001EC2A0
public static void JNHILEIDDMO(this MemoryStream PBBANIINIBH)
{
PBBANIINIBH.OFOMPAFFFLI(KGBBPEDECCO.CGLGFFJBAEH);
}
// Token: 0x06005E7E RID: 24190 RVA: 0x001EE0B0 File Offset: 0x001EC2B0
public static void JNHILEIDDMO(this MemoryStream PBBANIINIBH, string ECFMJBEFGGB)
{
PBBANIINIBH.MLJNBJLHAIJ(ECFMJBEFGGB);
PBBANIINIBH.JNHILEIDDMO();
}
// Token: 0x06005E7F RID: 24191 RVA: 0x001EE0C0 File Offset: 0x001EC2C0
[CompilerGenerated]
private static bool HILPBCIONJG(char CFMGIBEEIJH)
{
return CFMGIBEEIJH != ',' && CFMGIBEEIJH != ';';
}
// Token: 0x06005E80 RID: 24192 RVA: 0x001EE0D8 File Offset: 0x001EC2D8
[CompilerGenerated]
private static bool EBJPLBFBNKG(char CFMGIBEEIJH)
{
return CFMGIBEEIJH != '=' && CFMGIBEEIJH != ',';
}
// Token: 0x06005E81 RID: 24193 RVA: 0x001EE0F0 File Offset: 0x001EC2F0
[CompilerGenerated]
private static bool FIPGILDIGGJ(char CFMGIBEEIJH)
{
return CFMGIBEEIJH != ',' && CFMGIBEEIJH != ';';
}
// Token: 0x04000CA6 RID: 3238
[CompilerGenerated]
private static Func<char, bool> DINNJGHCFHI;
// Token: 0x04000CA7 RID: 3239
[CompilerGenerated]
private static Func<char, bool> GILODIKMIAJ;
// Token: 0x04000CA8 RID: 3240
[CompilerGenerated]
private static Func<char, bool> EICAJPBPBFO;
// Token: 0x020001E7 RID: 487
[CompilerGenerated]
private sealed class OIMAGMKMHKD
{
// Token: 0x06005E82 RID: 24194 RVA: 0x001EE108 File Offset: 0x001EC308
internal bool LACKKCKOGHI(char CFMGIBEEIJH)
{
return CFMGIBEEIJH == this.DHGCLLLPFDF;
}
// Token: 0x06005E83 RID: 24195 RVA: 0x001EE118 File Offset: 0x001EC318
internal bool PGGNPPHMGMF(char CFMGIBEEIJH)
{
return CFMGIBEEIJH != this.DHGCLLLPFDF;
}
// Token: 0x06005E84 RID: 24196 RVA: 0x001EE128 File Offset: 0x001EC328
internal bool ODJELHECHPO(char CFMGIBEEIJH)
{
return CFMGIBEEIJH != this.DHGCLLLPFDF;
}
// Token: 0x06005E85 RID: 24197 RVA: 0x001EE138 File Offset: 0x001EC338
internal bool CDOONHODPEF(char CFMGIBEEIJH)
{
return CFMGIBEEIJH != this.DHGCLLLPFDF;
}
// Token: 0x06005E86 RID: 24198 RVA: 0x001EE148 File Offset: 0x001EC348
internal bool FLEEFDFKEIB(char CFMGIBEEIJH)
{
return CFMGIBEEIJH == this.DHGCLLLPFDF;
}
// Token: 0x06005E87 RID: 24199 RVA: 0x001EE158 File Offset: 0x001EC358
internal bool OJKNBNGGBEC(char CFMGIBEEIJH)
{
return CFMGIBEEIJH != this.DHGCLLLPFDF;
}
// Token: 0x06005E88 RID: 24200 RVA: 0x001EE168 File Offset: 0x001EC368
internal bool IBLIPIGAMEL(char CFMGIBEEIJH)
{
return CFMGIBEEIJH == this.DHGCLLLPFDF;
}
// Token: 0x06005E8A RID: 24202 RVA: 0x001EE180 File Offset: 0x001EC380
internal bool KLMKCPAELKO(char CFMGIBEEIJH)
{
return CFMGIBEEIJH != this.DHGCLLLPFDF;
}
// Token: 0x04000CA9 RID: 3241
internal char DHGCLLLPFDF;
}
}
}