Page 1 of 3 123 LastLast
Results 1 to 15 of 34
  1. #1
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,109

    [Beta] Loginsystem

    Hello MPGH.

    ~ Information ~

    I created a system within VB.Net and PHP to easily manage a login system including
    • Login System
    • Registration System
    • Bansystem
    • Activation System


    Important: THIS SYSTEM DOES WORK WITH DATABASES THAT DO NOT ALLOW EXTERNAL ACCESS!!!

    You can therefore use any free database in the ********* rather than paying for one that allows external access.
    The whole system works locally, so it does not require any external access.

    It is very easy to setup and use.

    ~ Files ~
    • SBox.dll(library to easily access everything)
    • admin.php
    • register.php
    • conn.php
    • login.php
    • activate.php
    • isbanned.php
    • banuser.php
    • install.php
    • Full dll project
    • Example project for usage


    Note: Rename the admin.php/banuser.php!



    ~ Setup ~

    1. Upload all .php files to your website using any ftp client(f.e. Filezilla) or your CPanel.

    2. Browse the install.php in your webbrowser www.websitelink.com/install.php

    Set your information like this:



    If you are done, simply hit "Save"(obvious). If no error appears, everything is fine

    The whole database stuff is already done, awesome eh?

    ~ Library Usage ~

    1. Add the library as reference



    2. Code sample

    [php]Public Class frmMain

    Private login As New Loginsystem("https://localhost/login")

    Private Sub cmdRegister_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRegister.Click
    If login.ValidateEmail(txtem.Text) Then
    Dim str As String = login.Register(txtid.Text, txtpw.Text, txtem.Text)
    If str.Trim = "True" Then
    MsgBox("Account " + txtid.Text + " successfully created.")
    'you should now send an email using the library with the activationlink included
    Else
    MsgBox(str)
    End If
    Else
    MsgBox("Invalid email address.")
    End If
    End Sub

    Private Sub cmdLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdLogin.Click
    If login.Login(txtLid.Text, txtLpw.Text) Then
    MsgBox("Success.")
    Else
    MsgBox("Failed.")
    End If
    End Sub

    End Class
    [/php]

    ~ Function Overview ~



    ~ Database Overview ~

    users - This table contains all users

    • ID[INT(11)] - Auto Increment - Primary Key
    • Username[VARCHAR(30)]
    • Password[VARCHAR(255)]
    • Email[VARCHAR(50)]
    • IP[VARCHAR(30)]
    • HWID[VARCHAR(20)]
    • ActivationLink[VARCHAR(50)]
    • Activated[VARCHAR(12)]
    • Banned[VARCHAR(6)]



    ~ Requirements ~

    • .Net Framework 2.0
    • A MySQL database
    • A Brain


    ~ License ~

    You may merge it into your program but only with credits.

    If you have any further ideas on what can be added into this system, please let me know.

    All rights reserved to me.

    ~ Virusscans ~
    VirusTotal
    Jotti


    Enjoy this



  2. The Following 15 Users Say Thank You to Blubb1337 For This Useful Post:

    1337hacker (02-11-2011),a123b1 (05-23-2012),Drake (01-16-2011),flameswor10 (01-13-2011),House (01-08-2011),JamesA1994 (01-09-2011),kommon (08-26-2012),Lolland (01-08-2011),[MPGH]master131 (01-08-2011),nicrands (05-15-2011),Physcadelic (01-12-2011),POPOLU (06-24-2012),RapidExtreme (08-21-2012),skiiiz (01-09-2011),topblast (01-15-2011)

  3. #2
    jabbathehutt's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    616
    Reputation
    18
    Thanks
    731
    My Mood
    Aggressive
    Nice, nice, nice.
    Did he ever released smth. useless?
    Helped out over 5000 guys with my level trainer and other stuff.

    Selling Steam accounts. Send me a message if you're interested.



    Nice forum needs to expands! Register now for a good position! (PM me)


  4. #3
    cgallagher21's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,626
    Reputation
    11
    Thanks
    325
    My Mood
    Angelic
    Very nice.

  5. #4
    mnpeepno2's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    In a barren wasteland
    Posts
    905
    Reputation
    10
    Thanks
    81
    nice, next thing you should do is tell us how to edit individual cells of a table in mysql through vb

    but so far, pretty epic D:

  6. #5
    L3G3ND_KILL3R's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    4,828
    Reputation
    207
    Thanks
    651
    My Mood
    Bored
    wow good job


    Need help with CALL OF DUTY RELATED or anything just private message me and im willing to help ^____^ Have a nice day!
    Quote Originally Posted by HelpIsWanted View Post
    so i have a camp next month, and i am 12, now all boys in my class have a large dick with hari and i dont have that. who can help me please?
    i see in films people can grow hair and grow dicks.

    i know its weird question, but i need !

  7. #6
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,682
    My Mood
    Mellow
    Quote Originally Posted by mnpeepno2 View Post
    nice, next thing you should do is tell us how to edit individual cells of a table in mysql through vb

    but so far, pretty epic D:
    [php]
    Dim cmdStr As String = "UPDATE JasonsTable SET ColumnName='new value' WHERE key='identifier to row'"
    Dim newCMD As New MySQLCommand(cmdStr, MySQLConnection)
    newCMD.ExecuteNonQuery
    [/php]

    Done.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  8. The Following User Says Thank You to Jason For This Useful Post:

    Hassan (01-09-2011)

  9. #7
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,109
    Quote Originally Posted by mnpeepno2 View Post
    nice, next thing you should do is tell us how to edit individual cells of a table in mysql through vb

    but so far, pretty epic D:
    ###############################################
    ###############################################

    A small explanation on querys:

    There are 4 basic commands:

    SELECT
    UPDATE
    INSERT
    DELETE


    ~ Select ~

    SELECT Column,Column FROM Tablename WHERE Column='Condition' AND Column='Condition'
    SELECT id,HWID,GUID FROM userlog WHERE PCName='Hawk' AND IP='127.0.0.1'

    Note: To select ALL columns you may just use "*"
    => SELECT * FROM userlog


    ~ Logical Operators ~

    You can use AND,XOR,OR

    AND = If both conditions are true
    WHERE Column="Condition" AND Column='Condition'

    OR = if atleast one condition is true
    WHERE Column="Condition" OR Column='Condition'

    XOR = if ONE condition is true
    WHERE Column="Condition" AND Column='Condition'
    If both conditions are true, it won't select anything


    ~ Update ~

    UPDATE Tablename SET Column='Value', Column='Value'
    UPDATE userlog SET HWID='asd465asd6a4sd', GUID='asd546wqda5d4'

    You can sure use WHERE here, too.
    UPDATE userlog SET HWID='asd465asd6a4sd', GUID='asd546wqda5d4' WHERE ID='1'

    ~ Insert ~

    INSERT INTO Tablename(Column,Column) VALUES(Value,Value)
    INSERT INTO userlog(HWID,GUID) VALUES('asdgiqwdqgwdu','asdgiawzdgqq')


    ~ Delete ~

    DELETE Column,Column FROM Tablename WHERE Column='Condition'
    DELETE id,HWID,GUID FROM userlog WHERE login='1'

    Note: To delete the whole row you DO NOT use "*"

    DELETE FROM Tablename WHERE... <- no "*"


    ~ Wildcard ~

    You can use % as wildcard.

    SELECT * FROM userlog WHERE Date='2/2/2010' AND Time='%' <- Time can now be everything
    SELECT * FROM userlog WHERE Date='2/2/%' XOR Time='11:%'

    ~ ORDER BY ~

    You can order the result ascending or descending.

    SELECT * FROM userlog ORDER BY GUID ASC
    SELECT * FROM userlog ORDER BY HWID DESC

    ~ Limit ~

    You can limit the amount of results.

    SELECT * FROM userlog ORDER BY IP ASC LIMIT 10
    This will select the first 10 rows.

    SELECT * FROM userlog ORDER BY GUID DESC LIMIT 5,10
    This will select 10 rows after the 5th row.

    ~ IN ~

    SELECT * FROM userlog WHERE id IN('1','5','6')
    This will select all rows with the id 1,5 and 6.

    ~ Other operators ~

    You can also use < or >.

    SELECT * FROM userlog WHERE id > '10'

    I do hope you understood everything

    ###############################################
    ###############################################

    If you guys have any further ideas to improve this,please tell me...



  10. The Following User Says Thank You to Blubb1337 For This Useful Post:

    mnpeepno2 (01-11-2011)

  11. #8
    mnpeepno2's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    In a barren wasteland
    Posts
    905
    Reputation
    10
    Thanks
    81
    Yep, helped a lot....

  12. #9
    L3G3ND_KILL3R's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    4,828
    Reputation
    207
    Thanks
    651
    My Mood
    Bored
    I think this is pretty good no need to improve anything


    Need help with CALL OF DUTY RELATED or anything just private message me and im willing to help ^____^ Have a nice day!
    Quote Originally Posted by HelpIsWanted View Post
    so i have a camp next month, and i am 12, now all boys in my class have a large dick with hari and i dont have that. who can help me please?
    i see in films people can grow hair and grow dicks.

    i know its weird question, but i need !

  13. #10
    Web-Designer's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Arizona, USA
    Posts
    270
    Reputation
    11
    Thanks
    53
    My Mood
    Fine
    Wow, this is awesome! Good job!
    Code:
    Looking for some project(s) to dedicate my time to! I know HTML, PHP, MySQL and JavaScript.
    
    
    - Message me if I can help you with something, all I want is some credit!

  14. #11
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,109
    Thanks for the feedback.

    Working on the next system(system ain't gonna be public(prolly)) for CoD



  15. #12
    mnpeepno2's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    In a barren wasteland
    Posts
    905
    Reputation
    10
    Thanks
    81
    One more question, how would you search for a specific value in the database

  16. #13
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,682
    My Mood
    Mellow
    Quote Originally Posted by mnpeepno2 View Post
    One more question, how would you search for a specific value in the database
    You can select the rows where a certain value is found in a certain column if that's what you mean.

    [php]
    Dim cmdStr As String = "SELECT * FROM JasonsTable WHERE columnName='RequiredValue'"
    Dim newCMD As New MySQLCommand(cmdStr, MySQLConnection)
    Using dRead As MySqlDataReader = newCMD.ExecuteReader
    Do
    dim col1 As String = dRead("column1Name")
    dim col2 As String = dRead("column2Name")
    '...
    MessageBox.Show(String.Concat(col1, ControlChars.CrLf, col2))
    Loop While dRead.Read
    End Using
    [/php]

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  17. The Following User Says Thank You to Jason For This Useful Post:

    mnpeepno2 (01-11-2011)

  18. #14
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    Why can't you make a new thread and ask MySQL stuff there, instead of derailing Kevin's thread?

    Good release Kevin!

  19. #15
    mnpeepno2's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    In a barren wasteland
    Posts
    905
    Reputation
    10
    Thanks
    81
    Quote Originally Posted by Jason View Post


    You can select the rows where a certain value is found in a certain column if that's what you mean.

    [php]
    Dim cmdStr As String = "SELECT * FROM JasonsTable WHERE columnName='RequiredValue'"
    Dim newCMD As New MySQLCommand(cmdStr, MySQLConnection)
    Using dRead As MySqlDataReader = newCMD.ExecuteReader
    Do
    dim col1 As String = dRead("column1Name")
    dim col2 As String = dRead("column2Name")
    '...
    MessageBox.Show(String.Concat(col1, ControlChars.CrLf, col2))
    Loop While dRead.Read
    End Using
    [/php]
    thank joo, that is all.

Page 1 of 3 123 LastLast