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



 20694

[C#] ADD CRACKED.TO AUTH TO YOUR C# APP

by sjd980132klsq - 06 September, 2019 - 05:40 PM
This post is by a banned member (sjd980132klsq) - Unhide
79
Posts
34
Threads
5 Years of service
#1
(This post was last modified: 06 September, 2019 - 05:48 PM by sjd980132klsq.)
Hey ! So today i release how to add c.to auth to your C# app ! Enjoy !

DON'T FORGET TO LEAVE A LIKE AND AN HQ COMMENT IF UR NOT A LEECHER  :pepegun:

get ur auth key here


SCREENSHOTS

[Image: auth.png]

[Image: authsuccess.png]

[Image: autherror.png]


DOWNLOAD



Hidden Content
You must register or login to view this content.


Code:
static string key;
static string hwid;

static void Main(string[] args)
        {
            Console.WriteLine("Cracked.to Auth Key?");
            key = Console.ReadLine();

            try
            {
                using (HttpRequest httpRequest = new HttpRequest())
                {
                    httpRequest.IgnoreProtocolErrors = true;
                    httpRequest.UserAgent = Http.ChromeUserAgent();
                    httpRequest.ConnectTimeout = 30000;
                    string text = httpRequest.Post("https://cracked.to/auth.php", "a=auth&k=" + key + "&hwid=" + gethwid(), "application/x-www-form-urlencoded").ToString();
                    Dictionary<string, string> response = JsonConvert.DeserializeObject<Dictionary<string, string>>(text);
                    if (text.Contains("error"))
                    {
                        MessageBox.Show("Error " + response["error"] + "!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                    }
                    else if (text.Contains("auth"))
                    {
                        MessageBox.Show("Welcome " + response["username"] + ", enjoy your exclusive Cracked.to tool!", "Success", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
                    }
                }
                return;
            }
            catch (Exception ex)
            {
                MessageBox.Show("Error: " + ex.Message);
                Application.Exit();
                return;
            }
        }

        private static string gethwid()
        {
            if (string.IsNullOrEmpty(hwid))
            {
                DriveInfo[] drives = DriveInfo.GetDrives();
                int num = drives.Length - 1;
                for (int i = 0; i <= num; i++)
                {
                    DriveInfo driveInfo = drives[i];
                    if (driveInfo.IsReady)
                    {
                        hwid = driveInfo.RootDirectory.ToString();
                        break;
                    }
                }
            }
            if (!string.IsNullOrEmpty(hwid) && hwid.EndsWith(":\\"))
            {
                hwid = hwid.Substring(0, hwid.Length - 2);
            }
            string result;
            using (ManagementObject managementObject = new ManagementObject("win32_logicaldisk.deviceid=\"" + hwid + ":\""))
            {
                managementObject.Get();
                result = managementObject["VolumeSerialNumber"].ToString();
            }
            return result;
        }
im 14 btw
MY ONLY DISCORD: click
This post is by a banned member (Jensen) - Unhide
Jensen  
Godlike
3.087
Posts
489
Threads
6 Years of service
#2
Nice post keep it up
This post is by a banned member (Darkness) - Unhide
Darkness  
Staff
11.658
Posts
11
Threads
Staff Team
5 Years of service
#3
Nice tutorial.Might be useful for some users.
[Image: url%5D]
[TOP SPOT] Ad by @
de_ancient - Until 17.12
[url=https://spamir.fr][Image: Comp-1-3.gif]
[MIDDLE SPOT] Ad by @Rent - Until 17.12
[Image: mf9wKb6.gif]
[BOTTOM SPOT] Ad by @Meepe - Until 25.11

Disclaimer: I am not affiliated with any of the ads shown above. They're paid advertisements. Please make sure to confirm via PM before contacting me. I do not sell, buy or exchange anything. Be careful of impersonators & scammers.
This post is by a banned member (Ald1slav) - Unhide
Ald1slav  
Registered
914
Posts
144
Threads
6 Years of service
#4
like, very nice content
 
This post is by a banned member (sjd980132klsq) - Unhide
79
Posts
34
Threads
5 Years of service
#5
This is a bump
This post is by a banned member (sjd980132klsq) - Unhide
79
Posts
34
Threads
5 Years of service
#6
This is a bump
This post is by a banned member (unkownlegal) - Unhide
17
Posts
0
Threads
5 Years of service
#7
like, very nice content
This post is by a banned member (999Samurai) - Unhide
296
Posts
33
Threads
5 Years of service
#8
Using this for my new app, thanks
Buy your League of Legends Accounts HERE
https://lolaccountsaio.sellpass.io/
 (In Construction)

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 2 Guest(s)