Forge Hacking
Hey guys,

Were Back online and Ready For business Our hacks will be streaming in Later on Today,

So please Get Ready For a thrill of hacking UnCut



Join the forum, it's quick and easy

Forge Hacking
Hey guys,

Were Back online and Ready For business Our hacks will be streaming in Later on Today,

So please Get Ready For a thrill of hacking UnCut

Forge Hacking
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Forge Hacking

Were Back in business

Welcome All Guest Please Find the register button and sign up today!
Hey guys We Are back online and ready for the biggest hacks yet to come
Log in

I forgot my password



Search
 
 

Display results as :
 


Rechercher Advanced Search

May 2024
SunMonTueWedThuFriSat
   1234
567891011
12131415161718
19202122232425
262728293031 

Calendar Calendar


You are not connected. Please login or register

[Release]simple Login System

3 posters

Go down  Message [Page 1 of 1]

1[Release]simple Login System Empty [Release]simple Login System Fri Jan 28, 2011 2:09 pm

ForgeHacking

ForgeHacking
Founder
Founder

Please Note : This is not
Code:
Code:
Textbox1.Text = "MYAWESOMEPASS" : THEN : Msgbox("Password Accepted")
..This is a System used where you can register members..

Tutorial Length : 2 Minutes (All you have to do is copy and paste lol xD)
Tutorial Goal : To Create a login system
Tutorial Difficulty : .1/10

1. > Add 2 Textboxes one for the username one for the password...Label them however you want..
2. > Add 1 Button (This one is to click when you want to Login)
3. > Copy and Paste this code to your form assuming its named Form1
Code:
Code:
Public Class Form1
    Dim Accepted = 2
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        On Error GoTo ERRORCODE1
Dim WebCache As String
        Dim Usernameconfig
        Dim Result
        Usernameconfig = TextBox1.Text.Replace(" ", "%20")
        WebCache = "http://example.com/users/" + Usernameconfig + ".txt"
        Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create(WebCache)
        Dim response As System.Net.HttpWebResponse = request.GetResponse()
        Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream(), System.Text.Encoding.GetEncoding("windows-1252"))
        Result = sr.ReadToEnd()
        If TextBox2.Text = Result Then
            Call AcceptedSub()
            Accepted = 1
        End If
ERRORCODE1: If Accepted = 1 Then : Else : MsgBox("Invalid Username or Password") : End If
Accepted = 2
    End Sub
    Private Sub AcceptedSub()
        'MsgBox("Accepted")
' Place the code here what ever you want it to do when it Accepts you.
    End Sub
End Class
4. > Replace
Code:
Code:
http://example.com/users/
with your website directory and make sure you have a special directory for the users
5. > Add what ever you want it to do when it accepts a user in
Code:
Code:
Private Sub AcceptedSub()
6. > Your done!

How to make a User!

1. > Go to your web Directory and then your user's folder
2. > Make a .txt file named what ever you want the user's name to be
3. > Inside the text file enter there desired password.


Note : I realize this might not be the best way...but it is the easiest that I know of, and If I have time Ill update the Tut with a basic encrypter to
improve security
Note : The Username and Password is CASE sensitive

http://forgehacking.power-rpg.net

2[Release]simple Login System Empty Re: [Release]simple Login System Sat Jan 29, 2011 4:11 am

cropduster98

cropduster98
Semi-L33cher
Semi-L33cher

thanks for sharing man

3[Release]simple Login System Empty Re: [Release]simple Login System Sat Jan 29, 2011 7:44 am

ForgeHacking

ForgeHacking
Founder
Founder

its cool

http://forgehacking.power-rpg.net

4[Release]simple Login System Empty Re: [Release]simple Login System Sun Jan 30, 2011 6:30 am

Führer


Admin
Admin

GTM got banned from FC

5[Release]simple Login System Empty Re: [Release]simple Login System Sun Jan 30, 2011 7:02 am

ForgeHacking

ForgeHacking
Founder
Founder

all people with a hack website did

http://forgehacking.power-rpg.net

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum