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 


Basic CrackMe/KeygenMe making

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Fri Aug 24, 2007 10:58 pm    Post subject: Basic CrackMe/KeygenMe making Reply with quote

IM DOING IT IN DELPHI.
Yes i know, the phailure language, and i can care less about it.
So here we go Very Happy .


Requirements:
basic delphi knowledge
common sense
Delphi




Messaging

When you hit enter, and you either get a goodboy, or a badboy message. When you open that crackme with olly, you can search for string references, and if you did a "showmessage" to show CONGRATZ ect, you will see that congrats in the string references, and that person can just change the jmp or the eax value, so it any serial/password would work. Now, we dont want that, so the best thing to do in my opinion, is to just open up a form that says congrats.

Click File>new>form
Name your Form, goodboy.
Now what i did was, put a button on the form, and make it big enough to fit the form size, and for the caption, call it CONGRATS.
double click button1 and put

Code:

close;


Now, do the same exact thing as aboe, but name the form badboy, and put a button, caption it "HAHA or w.e you call phailure" , and put the same coding in the button.

Save the forms.


Name Based serials

Now have 2 edit boxes, im not so sure exactly how to find a serial if the name is in alphabetical text, so just say you made the name in #'s.
Now lets declare "Id" as String, and "Idint" as an integer. Now, make sure you declare:

Code:

ID := Edit1.text;


Now, you cant add, subtract, divide, mult ect with a string right?
So we use the strtoint() command.

Code:

Idint := strtoint( ID );


Now for the easy part, you want to mess with the id and make it a random serial, like how if you use 123, the serial for it is 812391, ect. Now here is the part, you do this:

Code:

idint := idint+idint;
or
idint := idint*idint;
or
idint := idint-idint;
or
idint := idint/idint , i forgot how to do the division sign XD,



Finalization

Now you cant make an edit box check to see if a int is inputed in it, becuz it will come up with an error saying " error blablabla Tstring and int or however it says it, so you convert it back:

Code:

ID := inttostr( Idint );


Then you compare the edit box, as so like this:
Code:


if edit2.text=Idint then
begin
goodboy.showmodal;/// shows the goodboy form.
end;

if edit2.text=Idint=false then
begin
badboy.showmodal;//// shows the badboy form.
end;

thats about it to a crackme/keygenme
[/u]
Back to top
View user's profile Send private message AIM Address MSN Messenger
HolyBlah
Master Cheater
Reputation: 2

Joined: 24 Aug 2007
Posts: 446

PostPosted: Sat Aug 25, 2007 4:15 am    Post subject: Reply with quote

easy to crack it with ollyDBG...
Back to top
View user's profile Send private message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Sat Aug 25, 2007 4:34 am    Post subject: Reply with quote

HolyBlah wrote:
easy to crack it with ollyDBG...

This is where encryption (and possibly code scrambling) comes in.
Back to top
View user's profile Send private message
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Sat Aug 25, 2007 8:25 am    Post subject: Reply with quote

yea
Back to top
View user's profile Send private message AIM Address MSN Messenger
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Sat Aug 25, 2007 11:29 am    Post subject: Reply with quote

why not using MessageDlg instead making a form for each message? :O
but thats nice i always wanted a keygen me Smile
and i think its : instead of /
Back to top
View user's profile Send private message
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Thu Aug 30, 2007 8:26 am    Post subject: Reply with quote

Delphi fails? Then what doesn't fail?
_________________
Get kidnapped often.
Back to top
View user's profile Send private message
zart
Master Cheater
Reputation: 0

Joined: 20 Aug 2007
Posts: 351
Location: russia

PostPosted: Thu Aug 30, 2007 8:38 am    Post subject: Reply with quote

blland wrote:
Delphi fails? Then what doesn't fail?


It fails at making keygen/crackmes - especially the way people on this form make them Wink

Though you could make a better one in delphi - it'd just be easier to do it in a different langauge

_________________
0x7A 0x61 0x72 0x74

TEAM RESURRECTiON
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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 can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites