示例#1
0
 // Token: 0x06000002 RID: 2 RVA: 0x0000228C File Offset: 0x0000048C
 private static string GetHardwareID()
 {
     if (HWID_Spoof.HardwareID == null)
     {
         HWID_Spoof.HardwareID = HWID_Spoof.CalculateHash <SHA1>(Guid.NewGuid().ToString());
     }
     return(HWID_Spoof.HardwareID);
 }
示例#2
0
        // Token: 0x06000008 RID: 8 RVA: 0x000022D8 File Offset: 0x000004D8
        public static string CalculateHash <T>(string input) where T : HashAlgorithm
        {
            byte[]        array         = HWID_Spoof.CalculateHash <T>(Encoding.UTF8.GetBytes(input));
            StringBuilder stringBuilder = new StringBuilder();

            for (int i = 0; i < array.Length; i++)
            {
                stringBuilder.Append(array[i].ToString("x2"));
            }
            return(stringBuilder.ToString());
        }
示例#3
0
 // Token: 0x06000007 RID: 7 RVA: 0x000022CC File Offset: 0x000004CC
 public static bool Transmtn_WebsocketPipeline3(Guid connectionId, Uri endpoint, string authToken, ref string macAddress, string clientVersion, string platform, IStream <string> inputStream, IStream <string> outputStream)
 {
     macAddress = HWID_Spoof.GetHardwareID();
     return(true);
 }
示例#4
0
 // Token: 0x06000004 RID: 4 RVA: 0x000022CC File Offset: 0x000004CC
 public static bool Transmtn_Api(Uri httpEndpoint, Uri websocketEndpoint, ApiAuth auth, ref string macAddress, string clientVersion, string platform, Api.ErrorResponse defaultErrorResponse, Api.LogResponse defaultLogResponse, Api.OnReady onReadyResponse, Api.OnConnectionLost onLostConnectionResponse)
 {
     macAddress = HWID_Spoof.GetHardwareID();
     return(true);
 }
示例#5
0
 // Token: 0x06000003 RID: 3 RVA: 0x000022C2 File Offset: 0x000004C2
 public static bool API_DeviceID(ref string __result)
 {
     __result = HWID_Spoof.GetHardwareID();
     return(false);
 }