ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Requests

would it be possible to create a config with this code

Submitted by shoux at 01-12-2021, 10:14 PM


would it be possible to create a config with this code
2.711 Views
shoux's Avatar'
shoux
Offline
#1

  1. Code:
    [Obfuscation(Feature = "virtualization", Exclude = false)]
            public static SynLoginResponse Login(string Username, string Password)
            {
                var Mappings = new Dictionary<string, LoginResult>
                {
                    { "OK", LoginResult.OK },
                    { "ERR1", LoginResult.INVALID_REQUEST },
                    { "ERR2", LoginResult.NOT_MIGRATED },
                    { "ERR3", LoginResult.INVALID_USER_PASS }
                };

                var Client = new RestClient("https://synapse.to") { Proxy = null };
                var Request = new RestRequest("whitelist/login", Method.POST);

                var PCUser = WindowsIdentity.GetCurrent().Name;
                var MachineUser = Environment.MachineName;

                Request.AddHeader("R", CInterface.Sign(Convert.ToBase64String(Encoding.UTF8.GetBytes(Username)) + Convert.ToBase64String(Encoding.UTF8.GetBytes(PCUser)) + Hwid));
                Request.AddParameter("a", Convert.ToBase64String(Encoding.UTF8.GetBytes(Username)));
                Request.AddParameter("b", Convert.ToBase64String(Encoding.UTF8.GetBytes(Password)));
                Request.AddParameter("c", Convert.ToBase64String(Encoding.UTF8.GetBytes(PCUser)));
                Request.AddParameter("d", Convert.ToBase64String(Encoding.UTF8.GetBytes(MachineUser)));
                Request.AddParameter("e", Hwid);

                var Result = Client.Execute(Request).Content;

                return Result.Contains("OK") ? new SynLoginResponse(LoginResult.OK, Result.Split('|')[1]) : new SynLoginResponse(Mappings.ContainsKey(Result) ? Mappings[Result] : LoginResult.UNKNOWN);
            }



i have no clue how i would make a config or get this information, if anyone is willing to help me understand, or make it, please do so in replies. i am not that experienced with config creating.
Not ratedThis leak has not been rated yet, be careful when downloading.
[Image: ISA45qF.png]
0
Reply



Users browsing this thread: 2 Guest(s)