A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

[TuT] How to make a login. First one!

1.3k views · started by M0NST3R ·
#1
[TuT] How to make a login. First one!
Ok so in this Tutorial i am showing you how to make a login in Visual basic 2008.

NOTE: this is NOT how to make a login for gaia.

Ok so what you will mainly need is

2 labels
2 textbox's
1 button
1 brain

Ok so first off. Make sure you Put Char on the Textbox 2. Since its the password.

Ok so after that Code the button as.

If TextBox1.Text = "username" And TextBox2.Text = "password" Then
MessageBox.Show("logged in!")
Else
MessageBox.Show("Fail")
End If


Test it out. If it works rep.
Also You can change the "username" and password. If can be anything. But it has to have the " in the Coding. You don't put it in the Textbox's.

Soon to show you how to make it open up a new form and such.
#2
Nice tutorial, however very easy to crack :p
#3
Artificial wrote:
Nice tutorial, however very easy to crack :p


How so Arti? The next one i am making is how to make a advanced one.
#4
M0NST3R wrote:
How so Arti? The next one i am making is how to make a advanced one.

You can read the plain text from a hex editor and just enter the right username and password combination. It would most likely take me less than a minute to crack this authentication method once I realize that it's hard coded. :)
#5
Riddle wrote:
You can read the plain text from a hex editor and just enter the right username and password combination. It would most likely take me less than a minute to crack this authentication method once I realize that it's hard coded. :)


i am going to find a way to make it card coded.
#6
There's different ways to authenticate. You definitely want to do the authentication behind a server. Be aware that you can only make it difficult for people to crack/bypass your authentications, not impossible. :)
#7
Riddle wrote:
There's different ways to authenticate. You definitely want to do the authentication behind a server. Be aware that you can only make it difficult for people to crack/bypass your authentications, not impossible. :)


So i would need to place it side sub servered?
#8
Could use a HWID to protect. Even if they had the Username/Password a HWID would protect it. But if you did HWID Protect it, you might as well save the Username and password on the server anyways. :3

Nice basic tutorial though, so I wouldn't expect any form of real encryption with this.