Results 1 to 10 of 10
  1. #1
    TJM's Avatar
    Join Date
    Aug 2007
    Posts
    11
    Reputation
    10
    Thanks
    0

    How do you make a KeyGen

    Hey i was wondering if anyone here knew how to make a key generator for programs, games. If you do please tell me, or if you could find a tut on the web that would be great.

    P.S. I searched the web for this and came up with 1-3 different ways of doing this, not sure which is the best way!

  2. #2
    radnomguywfq3's Avatar
    Join Date
    Jan 2007
    Gender
    male
    Location
    J:\E\T\A\M\A\Y.exe
    Posts
    8,858
    Reputation
    381
    Thanks
    1,823
    My Mood
    Sad
    Well, usually there is a pattern you have to solve.



    There are two types of tragedies in life. One is not getting what you want, the other is getting it.

    If you wake up at a different time in a different place, could you wake up as a different person?


  3. #3
    TJM's Avatar
    Join Date
    Aug 2007
    Posts
    11
    Reputation
    10
    Thanks
    0

    Keygen

    A pattern eh? Please do explain if you can- or direct me to a site that can explain it
    Last edited by TJM; 01-18-2008 at 09:29 PM.

  4. #4
    dbmain's Avatar
    Join Date
    Dec 2007
    Posts
    1
    Reputation
    10
    Thanks
    1

    site

    Quote Originally Posted by TJM View Post
    A pattern eh? Please do explain if you can- or direct me to a site that can explain it
    Astalavista.MS Forum :: Index

  5. The Following User Says Thank You to dbmain For This Useful Post:

    Hrco0 (03-18-2009)

  6. #5
    niftyperiod's Avatar
    Join Date
    Feb 2008
    Posts
    3
    Reputation
    10
    Thanks
    0
    dbmain, Thanks for the VERY useful link, that forums has a ton of useful information, thanks again

  7. #6
    Teeman's Avatar
    Join Date
    Feb 2008
    Location
    wouldn't you like to know!
    Posts
    91
    Reputation
    10
    Thanks
    4
    I didn't see anything just this:

    phpBB : Critical Error

    Error doing DB query userdata row fetch

    DEBUG MODE

    SQL Error : 145 Table './forum/phpbb_users' is marked as crashed and should be repaired

    SELECT u.*, s.* FROM phpbb_sessions s, phpbb_users u WHERE s.session_ip = '18e7ac1c' AND s.session_user_id = -1 AND u.user_id = s.session_user_id LIMIT 0, 1

    Line : 366
    File : sessions.php

  8. #7
    Mexiforce's Avatar
    Join Date
    Sep 2006
    Location
    Toronto, Ontario
    Posts
    2,155
    Reputation
    -66
    Thanks
    123
    Quote Originally Posted by TJM View Post
    A pattern eh? Please do explain if you can- or direct me to a site that can explain it
    Yes...pattern as in a mathematical algorithm. You need to be a smart fucker to solve the pattern.

  9. #8
    Toymaker's Avatar
    Join Date
    Feb 2008
    Gender
    male
    Location
    Hannah, Montana
    Posts
    659
    Reputation
    14
    Thanks
    193
    My Mood
    Amused
    To help you i wrote a quick tutorial just a few minutes ago, Lol. Bypassing as
    always been easier then KeyGenerating for me but here's the basic concept at least?:

    I started with a C++ program to use as example, I realize this is a Visual Basic Section but these are basic functions easy to transfer and the Assembly is the focus, anywho:

    Code:
    #include <iostream>
    using namespace std;
    
    int main() {
    
    int x;
    int y;
    int z;
    cout<<"Please enter number: \n";
    cin>>x;
    
    y=x*2;
    y+=1;
    
    cout<<"Please enter Serial Key: \n";
    cin>>z;
    if ( y == z ) { 
    cout<<"Correct Welcome! \n";
    }
    else {
    cout<<"You fail, bye \n";
    }
    system("pause");
    }
    So compiled into an exe like the program you want to keygen, we run it,

    Attach it with OllyDBG...REWIND, Scroll Down - find the function in dissasembly:

    Obviousally reversing skills are a must. After noting out each part - you'll inevitably run across:

    Code:
    ...(start removed unnececary for example) 
    ...
    004013BA  |. C74424 04 0000>MOV DWORD PTR SS:[ESP+4],Untitled.004400>;  ASCII 
    
    "Please enter number: 
    " 
    004013C2  |. C70424 C033440>MOV DWORD PTR SS:[ESP],Untitled.004433C0
    004013C9  |. E8 FAAC0300    CALL Untitled.0043C0C8
    004013CE  |. 8D45 FC        LEA EAX,DWORD PTR SS:[EBP-4]
    004013D1  |. 894424 04      MOV DWORD PTR SS:[ESP+4],EAX
    004013D5  |. C70424 6034440>MOV DWORD PTR SS:[ESP],Untitled.00443460
    004013DC  |. E8 AF6D0200    CALL Untitled.00428190
    
    004013E1  |. 8B45 FC        MOV EAX,DWORD PTR SS:[EBP-4]
    004013E4  |. 01C0           ADD EAX,EAX
    004013E6  |. 8945 F8        MOV DWORD PTR SS:[EBP-8],EAX
    004013E9  |. 8D45 F8        LEA EAX,DWORD PTR SS:[EBP-8]
    004013EC  |. FF00           INC DWORD PTR DS:[EAX]
    004013EE  |. C74424 04 1700>MOV DWORD PTR SS:[ESP+4],Untitled.004400>;  ASCII 
    
    "Please enter Serial Key: 
    "
    
    004013F6  |. C70424 C033440>MOV DWORD PTR SS:[ESP],Untitled.004433C0
    004013FD  |. E8 C6AC0300    CALL Untitled.0043C0C8
    00401402  |. 8D45 F4        LEA EAX,DWORD PTR SS:[EBP-C]
    00401405  |. 894424 04      MOV DWORD PTR SS:[ESP+4],EAX
    00401409  |. C70424 6034440>MOV DWORD PTR SS:[ESP],Untitled.00443460
    00401410  |. E8 7B6D0200    CALL Untitled.00428190
    00401415  |. 8B45 F8        MOV EAX,DWORD PTR SS:[EBP-8]
    00401418  |. 3B45 F4        CMP EAX,DWORD PTR SS:[EBP-C]
    0040141B  |. 75 16          JNZ SHORT Untitled.00401433
    0040141D  |. C74424 04 3200>MOV DWORD PTR SS:[ESP+4],Untitled.004400>;  ASCII 
    
    "Correct Welcome! 
    "
    00401425  |. C70424 C033440>MOV DWORD PTR SS:[ESP],Untitled.004433C0
    0040142C  |. E8 97AC0300    CALL Untitled.0043C0C8
    00401431  |. EB 14          JMP SHORT Untitled.00401447
    00401433  |> C74424 04 4500>MOV DWORD PTR SS:[ESP+4],Untitled.004400>;  ASCII "You 
    
    fail, bye 
    "
    0040143B  |. C70424 C033440>MOV DWORD PTR SS:[ESP],Untitled.004433C0
    00401442  |. E8 81AC0300    CALL Untitled.0043C0C8
    00401447  |> C70424 5500440>MOV DWORD PTR SS:[ESP],Untitled.00440055 ; |ASCII 
    
    "pause"
    0040144E  |. E8 8DF20000    CALL <JMP.&msvcrt.system>                ; \system
    00401453  |. B8 00000000    MOV EAX,0
    00401458  |. C9             LEAVE
    00401459  \. C3             RETN
    Remember, direct numerical input stores in EAX on default. You can see how they move it into accessible pointers slowly which serves no more then to trick you, in my book.

    The primary focus here is the only two times memory is mathetmatically manipulated in value...

    004013E4 |. 01C0 ADD EAX,EAX

    004013EC |. FF00 INC DWORD PTR DS:[EAX]

    Noted they move EAX elsewhere as well as mentioned above, it's still added, and EAX is still increased (+1) , after being doubled, as the only two direct value manipulations...

    Therefore your keygenerator is no other then

    Code:
    #include <iostream>
    using namespace std;
    
    int main(){
    
    int x;
    int y;
    cout<<"Please enter number: \n";
    cin>>x;
    
    y=x*2;
    y+=1;
    
    cout<<"Serial Key Is: \n";
    cout<<""<<y<<"";
    system("pause");
    }
    Done, hope it helps at least a lil...
    Last edited by Toymaker; 02-13-2008 at 12:45 PM.

  10. #9
    Dave84311's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    The Wild Wild West
    Posts
    35,837
    Reputation
    5782
    Thanks
    41,292
    My Mood
    Devilish
    Generally there is a check function, in which the code you passed is checked mathmatically. Reverse engineer the function and you should be set.





    THE EYE OF AN ADMINISTRATOR IS UPON YOU. ANY WRONG YOU DO IM GONNA SEE, WHEN YOU'RE ON MPGH, LOOK BEHIND YOU, 'CAUSE THATS WHERE IM GONNA BE


    "First they ignore you. Then they laugh at you. Then they fight you. Then you lose.” - Dave84311

    HAVING VIRTUAL DETOX

  11. #10
    illuzion816's Avatar
    Join Date
    Feb 2008
    Posts
    1
    Reputation
    10
    Thanks
    0
    So I tried using those codes and downloading the programs......I opened it and was like aw fuckz naw! I can't do this to many binary lookin codes

Similar Threads

  1. How do you make warrock hacks??
    By araz in forum WarRock - International Hacks
    Replies: 13
    Last Post: 12-17-2007, 11:23 AM
  2. how do you make a trainer and or bypass??
    By 123456789987654321 in forum WarRock - International Hacks
    Replies: 11
    Last Post: 06-04-2007, 12:00 PM
  3. What Are Boxes And How Do You Make Stand Alone Trainers?
    By condor01 in forum WarRock - International Hacks
    Replies: 2
    Last Post: 04-19-2007, 02:17 AM
  4. How'd you make these?
    By Twisty in forum Art & Graphic Design
    Replies: 1
    Last Post: 03-13-2007, 03:27 AM
  5. how do you add fonts in PS
    By darkone1149 in forum Art & Graphic Design
    Replies: 2
    Last Post: 02-06-2006, 05:32 PM