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 


Serial tutorial (Visual basic)
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Hack-Addict
Master Cheater
Reputation: 0

Joined: 20 Nov 2007
Posts: 287

PostPosted: Tue Dec 18, 2007 6:55 pm    Post subject: Serial tutorial (Visual basic) Reply with quote

Hey everyone!

Today's tutorial will teach you how to make a simple password for your program

Ok go here: http://youtube.com/watch?v=piPVjiJXR1E
I made the video, you can see the coding, don't worry

_________________

Sciextron made the userbar up here, Rep him =D

[img]http://i145.photobucket.com/albums/r225/Michaell61/header.gif[/img] <---Visit theprocoders today!
Back to top
View user's profile Send private message
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Tue Dec 18, 2007 7:12 pm    Post subject: Reply with quote

Lol, you hehe you sound like a girl Razz
Back to top
View user's profile Send private message AIM Address MSN Messenger
Hack-Addict
Master Cheater
Reputation: 0

Joined: 20 Nov 2007
Posts: 287

PostPosted: Tue Dec 18, 2007 7:21 pm    Post subject: Reply with quote

slippppppppp wrote:
Lol, you hehe you sound like a girl Razz

Lol, Thats my mic, it screws me over every time... even my friends dad sounds like he's a girl, sep he sounds like a girl on crack...
Lol, Found your username xD
evelutionz
xD

_________________

Sciextron made the userbar up here, Rep him =D

[img]http://i145.photobucket.com/albums/r225/Michaell61/header.gif[/img] <---Visit theprocoders today!
Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Tue Dec 18, 2007 7:25 pm    Post subject: Reply with quote

Hahaa,

That's pretty funny.

No offense, but if someone needed something like that, I'm sure that they could figure it out on their own.

Another thing, why'd you say "serial"? It's just a password and a simple check. Maybe like a REALLY noobish crack me.

_________________
Wiccaan wrote:

Oh jeez, watchout I'm a bias person! Locked.


Auto Assembly Tuts:
In Depth Tutorial on AA
Extended
Back to top
View user's profile Send private message
Pepsiguy
I post too much
Reputation: 0

Joined: 16 Aug 2007
Posts: 2016

PostPosted: Tue Dec 18, 2007 7:27 pm    Post subject: Reply with quote

use could always use tis code
Code:
'Global Variables
Dim Username As String                       'Username Variable
Dim Password As String                       'Password Variable
 
Private Sub cmdLogin_Click()
 
Username = "Username"              'What the Username Variable is
Password = "Password"              'What the Password Variable is
 
'If Statement Starting Here
'It States that if the username is = to text box and password is = password text box, then it should login, else display error message!
If Username = Txtusername And Password = txtpassword Then
 
           Form2.Show    'Shows the Login Success Form
           Form1.Hide       'Hides the Login Screen
 
Else
 
'A Message box that displays you have entered the wrong username and password
           
MsgBox ("Try Again Leecher!")
 
End If
 
End Sub
 
Private Sub cmdClose_Click()
 
Unload Me      'Closes the program
 
End Sub

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

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Tue Dec 18, 2007 7:32 pm    Post subject: Reply with quote

pepsiguy_2 wrote:
use could always use tis code
Code:
'Global Variables
Dim Username As String                       'Username Variable
Dim Password As String                       'Password Variable
 
Private Sub cmdLogin_Click()
 
Username = "Username"              'What the Username Variable is
Password = "Password"              'What the Password Variable is
 
'If Statement Starting Here
'It States that if the username is = to text box and password is = password text box, then it should login, else display error message!
If Username = Txtusername And Password = txtpassword Then
 
           Form2.Show    'Shows the Login Success Form
           Form1.Hide       'Hides the Login Screen
 
Else
 
'A Message box that displays you have entered the wrong username and password
           
MsgBox ("Try Again Leecher!")
 
End If
 
End Sub
 
Private Sub cmdClose_Click()
 
Unload Me      'Closes the program
 
End Sub


This is another simple way too, very easy to crack.

You should add in more security and add obfuscation in it, or declare random words as strings and set their value to 1 letter of the password, then it would be annoying if someone were to crack it Rolling Eyes

_________________
Back to top
View user's profile Send private message
Hack-Addict
Master Cheater
Reputation: 0

Joined: 20 Nov 2007
Posts: 287

PostPosted: Tue Dec 18, 2007 7:36 pm    Post subject: Reply with quote

pepsiguy_2 wrote:
use could always use tis code
Code:
'Global Variables
Dim Username As String                       'Username Variable
Dim Password As String                       'Password Variable
 
Private Sub cmdLogin_Click()
 
Username = "Username"              'What the Username Variable is
Password = "Password"              'What the Password Variable is
 
'If Statement Starting Here
'It States that if the username is = to text box and password is = password text box, then it should login, else display error message!
If Username = Txtusername And Password = txtpassword Then
 
           Form2.Show    'Shows the Login Success Form
           Form1.Hide       'Hides the Login Screen
 
Else
 
'A Message box that displays you have entered the wrong username and password
           
MsgBox ("Try Again Leecher!")
 
End If
 
End Sub
 
Private Sub cmdClose_Click()
 
Unload Me      'Closes the program
 
End Sub


Lol, Thatd be easy to crack in a hex editor...

_________________

Sciextron made the userbar up here, Rep him =D

[img]http://i145.photobucket.com/albums/r225/Michaell61/header.gif[/img] <---Visit theprocoders today!
Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Tue Dec 18, 2007 7:38 pm    Post subject: Reply with quote

I would try something like, maybe store an ecrypted string in an obscure place in the registry, under some obscure name, like the following:

Code:

HKEY_Local_Machine\1uo381ae25w7b1y6aw9\1a8m8e847u2niqa8ll8\


Then make the value your encrypted string. Make it pre-encrypted so that the true password is never actually stored in your program.

Next, you take in their password, hash it or whatever (make sure you use SALT, if you don't know what that is, Google is your friend), then compare the two. If they don't match, then whatever.

If they do, let them into whatever they want.

_________________
Wiccaan wrote:

Oh jeez, watchout I'm a bias person! Locked.


Auto Assembly Tuts:
In Depth Tutorial on AA
Extended
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Tue Dec 18, 2007 8:19 pm    Post subject: Reply with quote

samuri25404 wrote:
I would try something like, maybe store an ecrypted string in an obscure place in the registry, under some obscure name, like the following:

Code:

HKEY_Local_Machine\1uo381ae25w7b1y6aw9\1a8m8e847u2niqa8ll8\


and get instantly pwned when the cracker pulls out regmon.

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

Joined: 16 Aug 2007
Posts: 2016

PostPosted: Tue Dec 18, 2007 8:49 pm    Post subject: Reply with quote

Well i guess yours is better since its a simpler code
_________________
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Tue Dec 18, 2007 8:49 pm    Post subject: Reply with quote

Sounds like balls not dropped voice to me.

(hint: your own voice tends sounds different to yourself when you talk)
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: Tue Dec 18, 2007 10:26 pm    Post subject: Reply with quote

I was expecting an actual (simple) algorithm for checking serials based on the username.
Back to top
View user's profile Send private message
pimpstonie
Advanced Cheater
Reputation: 0

Joined: 27 Sep 2007
Posts: 70

PostPosted: Wed Dec 19, 2007 8:34 am    Post subject: Reply with quote

Xenophobe wrote:
I was expecting an actual (simple) algorithm for checking serials based on the username.


Not with a newb thats just learning vb! I do say hes learning fast.
Hack, its time to learn API. >>>
Back to top
View user's profile Send private message
h4ckz0r's twisted soul
Grandmaster Cheater Supreme
Reputation: 1

Joined: 24 Oct 2007
Posts: 1181
Location: Paradise city, where the grass is green and the girls are somwhat pretty~

PostPosted: Wed Dec 19, 2007 8:50 am    Post subject: Reply with quote

Who would need that?
_________________


Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Dec 19, 2007 9:10 am    Post subject: Reply with quote

Using If blah = blah style coding in VB is far from secure. All you need to do is open the prog in Olly, set a breakpoint on the MSVB lib calls to __vbStrCmp and you will find what you gave and what is needed.

For example:

Code:
Private Sub Command1_Click()
   If Text1.Text = "ThisIsATest" Then
      MsgBox "Congrats"
   End If
End Sub


Opened and checked in Olly:

_________________
- 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 All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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