Forum > Coding >

How do you create a key system?

trollhackerdude

LUA and C# programmer

Posts: 118

Threads: 33

Joined: Jun, 2018

Reputation: 1

Posted

I'm sure you have all seen the "Get Key" systems for free exploits.

 

How do I create one of those in c#

  • 0

I know LUA and some C#

 

and i own synapse x noob

TeekTacker

(apparently) YNW Melly

Posts: 668

Threads: 85

Joined: Jan, 2019

Reputation: -95

Replied

For the "get key" you can use this code: Process.Start("Insert your link here");

 

 

Now for the key system:

 

if (TEXTBOXNAMEHERE.Text == "Key in here")

{

    MessageBox.Show("Thanks for using this exploit");

    this.Hide();

    Form2 main = new Form2();

    main.Show();

}

else

{

    MessageBox.Show("Invalid key, please try again.");

}

 

 

  • 0

Proud owner of Artemis

I quit exploiting

I might buy Premium soon!

Yesgames

Get Yesgames api

Posts: 27

Threads: 5

Joined: Mar, 2020

Reputation: 0

Replied

you will make a get key button which will open a link where the key is there to copy it

 

after that use this code

 

 

private void Login_Button_Click(object sender, EventArgs e)

        {

 

            string dir = Directory.GetCurrentDirectory();

 

            WebRequest wr = WebRequest.Create(new Uri("your pastebin raw url"));

 

            WebResponse ws = wr.GetResponse();

 

            StreamReader sr = new StreamReader(ws.GetResponseStream());

 

            string KeyFromServer = sr.ReadToEnd();

 

            string eneterdkey = (yourtextbox).Text;

 

            if (eneterdkey.Contains(KeyFromServer))

            {

                MessageBox.Show("Thanks for using my exploit!");

                this.Hide();

 

                Exploit exploit = new Exploit();

                exploit.Show();

                

 

            }

 

 

            else

 

            {

 

                MessageBox.Show("Invalid, Try again!");

 

            }

        }

 

 

of course you will need to make a pastebin and you can update the key daily

  • 0

trollhackerdude

LUA and C# programmer

Posts: 118

Threads: 33

Joined: Jun, 2018

Reputation: 1

Replied

@53926

 

I was considering that, however what if someone finds the link to your pastebin and shares the key? 

  • 0

I know LUA and some C#

 

and i own synapse x noob

Yesgames

Get Yesgames api

Posts: 27

Threads: 5

Joined: Mar, 2020

Reputation: 0

Replied

@53926 ik but i am too lazy to code it again and make it more simple

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )