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 


CrackMe Source [VB6]

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

Joined: 11 May 2007
Posts: 304

PostPosted: Sun May 18, 2008 10:13 am    Post subject: CrackMe Source [VB6] Reply with quote

Code:
Private Sub Timer1_Timer()
On Error GoTo havesex
If Text1.Text = "a" And Text2.Text = "452342342-24223123-22323211" Then
Form1.Caption = "Letter A cracked."
End If
If Text1.Text = "b" And Text2.Text = "1323243-3333-34444444444" Then
Form1.Caption = "Letter B cracked."
End If
If Text1.Text = "c" And Text2.Text = "452342342-24223123-22323211" Then
Form1.Caption = "Letter C cracked."
End If
If Text1.Text = "abc" And Text2.Text = "OOOOOOO-OOOOOOOO-OOOOOOOOOO" Then
MsgBox "All letters cracked, try to crack them individually!"
End
havesex:
End If
End Sub


I wanted to make a crackme like that but then I thought it was going to be too easy to crack it... Anyway how would I encrypt this with VB6 code?
Back to top
View user's profile Send private message
sumnewdude
Expert Cheater
Reputation: 0

Joined: 23 May 2007
Posts: 181
Location: Where you least expect me.

PostPosted: Sun May 18, 2008 4:48 pm    Post subject: Reply with quote

umm you could seperate thim like this. . .
Code:

dim int as integer
dim a as string
dim g as string

g = b
a = 341231231-13112012-11212100

for int = 0 to 1
g = Chr(Asc(Mid(g,1,1))-1)
next

for int = 0 to len(a)
a = a & Chr(Asc(Mid(a,int,1))+1)
next

If Text1.Text = g And Text2.Text = a Then
Form1.Caption = "Letter A cracked."
End If

That should be pretty close to your "A" string the # are wrong though . . I don't know what is before"-" you can google it if you want.

Note: This is very basic but can become very useful. All they have to do to obtain the code is put a breakpoint somewhere. But for newb crackers it would slow them down/stop them. This is partly what I use when making my crackme's so I know how it works. if you have anymore questions feel free to ask.

_________________

.erutangis ruoy ni siht esu neht ,sdrawkcab siht daer ot hguone trams erew uoy fI
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8588
Location: 127.0.0.1

PostPosted: Sun May 18, 2008 8:26 pm    Post subject: Reply with quote

Using If Then for your compare renders the crackme useless such since you can just break on the _vbaStrCmp that it will create.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
sumnewdude
Expert Cheater
Reputation: 0

Joined: 23 May 2007
Posts: 181
Location: Where you least expect me.

PostPosted: Mon May 19, 2008 5:37 am    Post subject: Reply with quote

Wiccaan wrote:
Using If Then for your compare renders the crackme useless such since you can just break on the _vbaStrCmp that it will create.

hasn't stopped me before you still havn't gave me a solution to my last crackme that only uses if then and elseif Cool

_________________

.erutangis ruoy ni siht esu neht ,sdrawkcab siht daer ot hguone trams erew uoy fI
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8588
Location: 127.0.0.1

PostPosted: Mon May 19, 2008 7:32 am    Post subject: Reply with quote

Because the 'objective' of the new one is done already by Lab:
http://forum.cheatengine.org/viewtopic.php?t=233455

'CrackMe', which Lab showed by patching the two conditional compares, it's done.

Not to mention the new one uses invalid characters. Not wasting my time digging through code to find things I can't type.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
sumnewdude
Expert Cheater
Reputation: 0

Joined: 23 May 2007
Posts: 181
Location: Where you least expect me.

PostPosted: Mon May 19, 2008 9:20 pm    Post subject: Reply with quote

Wiccaan wrote:
Because the 'objective' of the new one is done already by Lab:
http://forum.cheatengine.org/viewtopic.php?t=233455

'CrackMe', which Lab showed by patching the two conditional compares, it's done.

Not to mention the new one uses invalid characters. Not wasting my time digging through code to find things I can't type.


Ok then when my new one comes out well will see then.

EDTI: Really wish I could use .NET to program would be a lot easyer. . . Sad oh well.

_________________

.erutangis ruoy ni siht esu neht ,sdrawkcab siht daer ot hguone trams erew uoy fI
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