Page 1 of 2 12 LastLast
Results 1 to 15 of 27
  1. #1
    CoderNever's Avatar
    Join Date
    Feb 2009
    Gender
    female
    Location
    https://mpgh.net MPGHCash: $700,458,011
    Posts
    1,198
    Reputation
    131
    Thanks
    2,236
    My Mood
    Buzzed

    [TUT][C&P] Making a Login System the Easiest Way

    Please Note : This is not
    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:
    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 = "https://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:
    https://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:
    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

  2. The Following 9 Users Say Thank You to CoderNever For This Useful Post:

    D e a t h h a u n t S (11-24-2009),Houston (11-24-2009),iWAFFLE (11-24-2009),Pixie (11-24-2009),prowordz (08-23-2012),Sketchy (06-03-2011),XGelite (11-24-2009),Zoom (11-28-2009),___x][GooD. (01-19-2011)

  3. #2
    Pixie's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Pixie wird wieder steigen.
    Posts
    1,884
    Reputation
    22
    Thanks
    229
    My Mood
    Fine
    Wow, it's not as long as I thought it would be, good job

  4. #3
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    Lol the easiest way is my way, this is the most efficient.

  5. #4
    CoderNever's Avatar
    Join Date
    Feb 2009
    Gender
    female
    Location
    https://mpgh.net MPGHCash: $700,458,011
    Posts
    1,198
    Reputation
    131
    Thanks
    2,236
    My Mood
    Buzzed
    No sql would be...

  6. #5
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    Correct me if I'm wrong, but don't you need a website for SQL to work?

  7. #6
    CoderNever's Avatar
    Join Date
    Feb 2009
    Gender
    female
    Location
    https://mpgh.net MPGHCash: $700,458,011
    Posts
    1,198
    Reputation
    131
    Thanks
    2,236
    My Mood
    Buzzed
    You need a website for this to...Lawl

  8. #7
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,552
    Reputation
    127
    Thanks
    5,970
    My Mood
    Happy
    Quote Originally Posted by Coder Never View Post
    You need a website for this to...Lawl
    Will this just login or can it create users to?

    great tut btw!
    -Rest in peace leechers-

    Your PM box is 100% full.

  9. #8
    Thats the way it is's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    95
    Reputation
    9
    Thanks
    11
    My Mood
    Tired
    Lololol even hexediting would pwn this
    Cause There ain't no rest for the wicked

  10. #9
    D e a t h h a u n t S's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    On the Mpgh Server hidden between microchips but Shh..!!
    Posts
    525
    Reputation
    22
    Thanks
    146
    My Mood
    Relaxed
    Really bad tutorial
    But really good for copy and pasters
    * reason for bad tutorial is you didn't explain any part of the code :P
    so its not a tutorial, but thanks for the code.
    *Thanked*

  11. #10
    Tom's Avatar
    Join Date
    Sep 2007
    Gender
    male
    Location
    in my gf's pants
    Posts
    1,861
    Reputation
    37
    Thanks
    594
    My Mood
    Cool
    Nice tut I will Try this.

  12. #11
    juppeli's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    768
    Reputation
    12
    Thanks
    19
    I'm pretty sure this can be bypassed with OLLYDBG/VB6 decoders and a couple of jumps. You can just bypass the check or the whole function so it ain't much of a joy... I would rather get addresses for the hack/other essential code from the server with a server sided check for the username/password everytime the program fetches something.

  13. #12
    Thats the way it is's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    95
    Reputation
    9
    Thanks
    11
    My Mood
    Tired
    Quote Originally Posted by juppeli View Post
    I'm pretty sure this can be bypassed with OLLYDBG/VB6 decoders and a couple of jumps. You can just bypass the check or the whole function so it ain't much of a joy... I would rather get addresses for the hack/other essential code from the server with a server sided check for the username/password everytime the program fetches something.
    Or just find the server address with a hexeditor and look for the admin file on the server ?
    Last edited by Thats the way it is; 11-24-2009 at 01:47 PM.
    Cause There ain't no rest for the wicked

  14. #13
    CoderNever's Avatar
    Join Date
    Feb 2009
    Gender
    female
    Location
    https://mpgh.net MPGHCash: $700,458,011
    Posts
    1,198
    Reputation
    131
    Thanks
    2,236
    My Mood
    Buzzed
    thats the thing nothing in the file shows the web directory....so you can have it
    Code:
    https://example.com/454545454/hgfhgfhgfhfg/454545/ssdfsdf/$$$@@/$@#$%/USSS333RRS/
    and if you add a excypter it will be even better.

  15. #14
    Pixie's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Pixie wird wieder steigen.
    Posts
    1,884
    Reputation
    22
    Thanks
    229
    My Mood
    Fine
    Quote Originally Posted by Coder Never View Post
    thats the thing nothing in the file shows the web directory....so you can have it
    Code:
    https://example.com/454545454/hgfhgfhgfhfg/454545/ssdfsdf/$$$@@/$@#$%/USSS333RRS/
    and if you add a excypter it will be even better.
    Tutorial please?

  16. #15
    Bombsaway707's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Gym
    Posts
    8,799
    Reputation
    791
    Thanks
    4,004
    My Mood
    Amused
    ehh good TUT i guess

Page 1 of 2 12 LastLast

Similar Threads

  1. [Help] Whats The Easiest Way To Make Gcoin?
    By Gcoiner in forum Alliance of Valiant Arms (AVA) Discussions
    Replies: 0
    Last Post: 01-30-2011, 08:18 PM
  2. [Request] is there a tut on how to make login ui?
    By mikez29 in forum CrossFire Mods & Rez Modding
    Replies: 4
    Last Post: 03-10-2010, 01:25 AM
  3. *Tut* how to make a login system
    By u1111u in forum Programming Tutorials
    Replies: 13
    Last Post: 12-04-2009, 12:20 AM
  4. How Would I Use MySql To Make A Login System In VB 2008?
    By Ragehax in forum Visual Basic Programming
    Replies: 5
    Last Post: 11-21-2009, 03:09 PM
  5. [TUT] How i can make a Japanse Warrock Account easily
    By soad56 in forum WarRock Korea Hacks
    Replies: 34
    Last Post: 06-17-2008, 01:17 AM

Tags for this Thread