Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


KeyGenMe[easy]

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming -> Crackmes
View previous topic :: View next topic  
Author Message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sat May 10, 2008 10:30 pm    Post subject: KeyGenMe[easy] Reply with quote

I was bored so I made a pretty easy KeyGenMe. Find the serial and make a Keygen, or just explain the algorithm.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing


Last edited by oib111 on Sun May 11, 2008 11:45 am; edited 1 time in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Sun May 11, 2008 3:50 am    Post subject: Reply with quote

Figured something was wrong with it when I downloaded it lol...

Anyway, the generation for the key is:

Code:
00401215   > /0FBE1431      MOVSX EDX,BYTE PTR DS:[ECX+ESI]
00401219   . |B8 79787878   MOV EAX,78787879
0040121E   . |F7EA          IMUL EDX
00401220   . |C1FA 03       SAR EDX,3
00401223   . |8BC2          MOV EAX,EDX
00401225   . |C1E8 1F       SHR EAX,1F
00401228   . |03C2          ADD EAX,EDX
0040122A   . |880431        MOV BYTE PTR DS:[ECX+ESI],AL
0040122D   . |41            INC ECX
0040122E   . |3BCF          CMP ECX,EDI
00401230   .^\7C E3         JL SHORT KeyGenMe.00401215


Just use the same code to do the keygen:

Code:

   char   tszName[]   = _T("Wiccaan");
   char   tszPass[]   = _T("");
   int      iLength      = 0;

   iLength = _tcslen( tszName );
   _asm
   {

      mov ecx, 0
      mov edi, iLength
CharLoop:
      movsx edx, byte ptr ds:[tszName+ecx]
      mov eax, 0x78787879
      imul edx
      sar edx, 3
      mov eax, edx
      shr eax, 0x1f
      add eax, edx
      mov byte ptr ds:[tszPass+ecx], al
      inc ecx
      cmp ecx, edi
      jl CharLoop
      mov byte ptr ds:[tszPass+ecx], 0 // Null Char To Terminate String

   }

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sun May 11, 2008 9:54 am    Post subject: Reply with quote

x0r wrote:
You fucked up, you're comparing the address of the generated keygen result and the address of the inputted serial.


Pardon me, but if I'm correct I took the inputted name and changed it into the correct serial. So of course I would compare that to what you inputted as a serial. Excuse me if I'm wrong.

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Sun May 11, 2008 11:10 am    Post subject: Reply with quote

oib111 wrote:
x0r wrote:
You fucked up, you're comparing the address of the generated keygen result and the address of the inputted serial.


Pardon me, but if I'm correct I took the inputted name and changed it into the correct serial. So of course I would compare that to what you inputted as a serial. Excuse me if I'm wrong.


x0r wrote:
You fucked up, you're comparing the address of the generated keygen result and the address of the inputted serial.

_________________
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sun May 11, 2008 11:43 am    Post subject: Reply with quote

lurc wrote:
oib111 wrote:
x0r wrote:
You fucked up, you're comparing the address of the generated keygen result and the address of the inputted serial.


Pardon me, but if I'm correct I took the inputted name and changed it into the correct serial. So of course I would compare that to what you inputted as a serial. Excuse me if I'm wrong.


x0r wrote:
You fucked up, you're comparing the address of the generated keygen result and the address of the inputted serial.


Oh right xD. I forgot to dereference my pointers. Ok, I re-upped the file. But still no one has actually given a serial.

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Sun May 11, 2008 2:03 pm    Post subject: Reply with quote

Do you even bother to test your work before uploading...?

And I posted the algo and code above to make keys:

The key probably wont work if you copypaste here cause the characters are not standard. Next time you make something like this, use characters people can actually type..

Name: Wiccaan
Serial: 

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming -> Crackmes All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites