Can anybody tell me what is happening here



  • string str1 = string.Format("{0}-eng.se.infra.20180517.203300", (object) class22.Version_0);
              string str2 = "";
              string str3 = "";
              string str4 = Guid.NewGuid().ToString("D");
    
    this.method_1((!string.IsNullOrEmpty(str2) ? str2 : "") + (!string.IsNullOrEmpty(str3) ? str3 : "") + (!string.IsNullOrEmpty(str1) ? str1 : "") + (!string.IsNullOrEmpty(string4) ? string4 : "") + str5))
    
    public string method_1(string string_0)
        {
          byte[] hash = new HMACSHA256(Encoding.UTF8.GetBytes("ffffffd123ffffffe22f4658ffffffcefffffffeffffff955cffffff854608ffffff8f4e")).ComputeHash(Encoding.UTF8.GetBytes(string_0));
          string empty = string.Empty;
          byte[] numArray = hash;
          string str = empty;
          Func<string, byte, string> func;
          // ISSUE: reference to a compiler-generated field
          if (Class25._Closure\u0024__.\u0024I3\u002D0 != null)
          {
            // ISSUE: reference to a compiler-generated field
            func = Class25._Closure\u0024__.\u0024I3\u002D0;
          }
          else
          {
            // ISSUE: reference to a compiler-generated field
            // ISSUE: reference to a compiler-generated field
            // ISSUE: method pointer
            Class25._Closure\u0024__.\u0024I3\u002D0 = func = new Func<string, byte, string>((object) Class25._Closure\u0024__.\u0024I, __methodptr(_Lambda\u0024__3\u002D0));
          }
          return (string) Enumerable.Aggregate<byte, string>((IEnumerable<M0>) numArray, (M1) str, (Func<M1, M0, M1>) func);
        }
    

  • Admin

    This is reverse engineered code so it's hard to read :3



  • @Ruri Thanks Ruri


Log in to reply