Skip to content

Instantly share code, notes, and snippets.

@key-moon
Created January 20, 2019 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save key-moon/d476478a66be25daf8d2435677bdb1b1 to your computer and use it in GitHub Desktop.
Save key-moon/d476478a66be25daf8d2435677bdb1b1 to your computer and use it in GitHub Desktop.
using System.Runtime.InteropServices;
using System.Text;
[StructLayout(LayoutKind.Auto, CharSet = CharSet.Auto)]
internal class DeObfuscationized
{
internal static byte[] b = new byte[102] {200,223,198,210,158,149,232,159,223,216,145,155,226,149,217,238,245,232,253,247,253,235,250,198,193,199,132,197,223,212,128,217,230,242,215,237,189,224,238,235,247,240,227,181,242,180,219,202,200,196,252,224,240,171,241,244,241,167,252,253,239,200,247,253,217,223,156,148,173,128,130,138,144,130,148,148,138,134,144,140,149,149,139,216,179,158,149,147,180,156,130,156,186,158,147,157,190,184,232,134,187,187};
internal static string[] s = new string[5];
private static string decode(int P_0, int P_1, int P_2)
{
string @string = Encoding.UTF8.GetString(DeObfuscationized.b, P_1, P_2);
DeObfuscationized.s[P_0] = @string;
return @string;
}
public static string str1()
{
return DeObfuscationized.s[0] ?? decode(0, 0, 15);
}
public static string str2()
{
return DeObfuscationized.s[1] ?? decode(1, 15, 53);
}
public static string str3()
{
return DeObfuscationized.s[2] ?? decode(2, 68, 16);
}
public static string str4()
{
return DeObfuscationized.s[3] ?? decode(3, 84, 8);
}
public static string str5()
{
return DeObfuscationized.s[4] ?? decode(4, 92, 10);
}
static DeObfuscationized()
{
for (int i = 0; i < DeObfuscationized.b.Length; i++)
{
DeObfuscationized.b[i] = (byte)(DeObfuscationized.b[i] ^ i ^ 0xAA);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment