Results 1 to 13 of 13
  1. #1
    maxkranen1's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    3
    My Mood
    Bored

    [Tutorial] How to create a keygen

    This tut will teach you how to create a keygen with visual basic.


    Description:
    A keygen means a program that generate keys for a certain program.


    Preparation:
    Get Visual Basic if you don't have it (Download link)
    Think of what should your keygen be (e.g. Windows Key Generator, Game Keygen ect.)
    Plan on what you want to include in your keygen
    Plan on what you should include in your keygen
    [optional] Getting an icon for your keygen (You convert any image file to an icon file here).


    Steps:
    1. Create a project
    Open Visual Basic and create a Windows Form Application. Name it as the keygen you want to make. In this tutorial, i will make a BF2 keygen, for example.


    2. Edit the project properties
    When you've done creating the project, now you have to change the project's properties. In the box at the bottom right hand side of the project, that's where you change the properties for everything. Click on the form and change the properties as below:
    Text - Change it to the title of the keygen you want.
    Icon - Changing the icon can make it looks more professional. If you don't want to show an icon, turn ShowIcon to False
    FormBorderStyle - You can leave it there, or change to a style you like. Usually i change it to FixedSingle, because people won't be able to resize the program.


    3. Adding items into your project
    Now you should add some items into your keygen. These are the things you MUST contain in a keygen:
    Button - To generate the key after you clicked it
    Textbox - To show the key after you clicked the button
    Title - Some texts can be the on the top of the keygen, but adding a picture as a title will make it looks professional

    To add items into your keygen, look at the toolbox at the left of your project. Simply drag the item that you want and put it into your project. It will appear there, and you can put it in where you like.


    4. Inserting your keys into the keygen
    Now you can start inserting the keys into your keygen. These keys will be shown when you click the Generate Button.
    Double click the Generate button and paste the following between "Private sub" and "End Sub" line:


    TextBox1.Text = Int(Rnd() * 4)
    Select Case TextBox1.Text
    Case 0
    TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
    Case 1
    TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
    Case 2
    TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
    Case 3
    TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
    Case 4
    TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
    Case 5
    TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
    End Select

    Replace the XXXXX-XXXXX-XXXXX-XXXXX-XXXXX things with the keys you want the program to show. (You can get some keys by using an other keygen, and put the keys of the other program in YOUR keygen )

    5. Finalizing and building your keygen
    Now you have already reached the last step of building your keygen! Press F5 and test whether the keygen is working or not. When you're done, click Build on the top menu and click Build {ProjectName}.

    To see your built keygen, go to Documents\Visual Studio {version}\Projects\{ProjectName}\{ProjectName}\Bin \Rele
    ase\{ProjectName}.exe

    Copy the [Projectname].exe to your desktop. Congratulations! You just created your (First) Keygen!
    Now you can upload it to the net to share it with others!

    Some keygens i made with visual basic are in the attatchement!
    Last edited by EndRiT; 06-01-2010 at 05:35 AM.

  2. #2
    NickMeow's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    1
    My Mood
    Sneaky
    Honestly, this is completely pointless. Use keys from someone Else's REAL keygen? No + Most aren't real so you will be completely jewing people that thing it's real.

  3. #3
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    so... 100 keys or 1k keys..

    equals to... 100 Cases.. 1000 cases? o.o
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  4. #4
    ☆TIS☆'s Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    89
    Reputation
    10
    Thanks
    26
    Quote Originally Posted by Brinuz View Post
    so... 100 keys or 1k keys..

    equals to... 100 Cases.. 1000 cases? o.o
    alot of coding if its 1000 case's

  5. #5
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    no shit there are way better/easier ways.



  6. #6
    ~J8y~'s Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    113
    Reputation
    10
    Thanks
    8
    My Mood
    Blah
    Dude.............this is a fail....

    the same keys are going to be used and banned for online gaming...the keys will be useless soon enough when every1 has them.....
    [CENTER] PM me if you need help on anything

  7. #7
    EndRiT's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    USSR
    Posts
    12,751
    Reputation
    170
    Thanks
    4,294,967,295
    MPGH requires virus scan for all your attachments.
    I cannot approve them till you provide them.

  8. #8
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,133
    My Mood
    Dead
    I can see you typed a lot. Thanks for that, but this is completey useless.

  9. #9
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    Quote Originally Posted by ~J8y~ View Post
    Dude.............this is a fail....

    the same keys are going to be used and banned for online gaming...the keys will be useless soon enough when every1 has them.....
    What. The. Fuck. Are you talking about xD



  10. The Following User Says Thank You to Blubb1337 For This Useful Post:

    Hassan (05-31-2010)

  11. #10
    Shark23's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Kansas
    Posts
    424
    Reputation
    10
    Thanks
    55
    My Mood
    Cool
    I'm pretty sure I've seen this exact tutorial elsewhere. If not the same, very close.
    Assembly Programmer

  12. #11
    /b/oss's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    13,651
    Reputation
    795
    Thanks
    3,547
    Quote Originally Posted by Shark23 View Post
    I'm pretty sure I've seen this exact tutorial elsewhere. If not the same, very close.
    me too... but i just dunno where

  13. #12
    dragoonadept's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    1
    Would be easier to just put each of the keys in an array and pick from it at random, but I agree, this is no keygen. It's a key "selector"

    Still, could be useful for some people for leaning stuffs.

  14. #13
    EndRiT's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    USSR
    Posts
    12,751
    Reputation
    170
    Thanks
    4,294,967,295
    You were given enough time to add virus scans and did not provide.
    Thread closed, files deleted.

Similar Threads

  1. [Tutorial] How to Create a .BIK video
    By flameswor10 in forum Combat Arms Mods & Rez Modding
    Replies: 59
    Last Post: 03-13-2010, 08:29 PM
  2. [Tutorial] How to Create a .BIK video
    By flameswor10 in forum Alliance of Valiant Arms (AVA) Hacks & Cheats
    Replies: 17
    Last Post: 03-10-2010, 01:12 AM
  3. [TUTORIAL]How to control an airplane :p and ofcourse insert it
    By System79 in forum WarRock - International Hacks
    Replies: 8
    Last Post: 07-09-2006, 03:44 PM
  4. Replies: 13
    Last Post: 02-09-2006, 10:25 PM
  5. how to create speedhacks?
    By LiLLeO in forum General Game Hacking
    Replies: 5
    Last Post: 01-28-2006, 08:52 AM