VB6 Login forms...

Discussion in 'Archives' started by thelast1337, Sep 18, 2008.

Thread Status:
Not open for further replies.
VB6 Login forms...
  1. Unread #1 - Sep 18, 2008 at 4:11 PM
  2. thelast1337
    Joined:
    May 24, 2007
    Posts:
    4
    Referrals:
    0
    Sythe Gold:
    0

    thelast1337 Newcomer

    VB6 Login forms...

    Hello everyone.

    I'm looking for help with a log in form that will try to log in to a forum, and if it logs in successfully, it shows the main form, and if not it gives an error.

    I know how to do the error, but the connecting to the forum is driving me nuts, even after many hours of google searching...

    Oh, and the forum is vBulletin 3.73, if that makes a difference.

    Thanks.
     
  3. Unread #2 - Sep 18, 2008 at 4:32 PM
  4. htaed
    Joined:
    Dec 19, 2005
    Posts:
    336
    Referrals:
    0
    Sythe Gold:
    0

    htaed Forum Addict
    Banned

    VB6 Login forms...

    Well i have tried this before and i believe that forums have security so you have to login from the actual site, not sure though.
     
  5. Unread #3 - Sep 18, 2008 at 5:00 PM
  6. IVistaI
    Joined:
    Nov 6, 2007
    Posts:
    281
    Referrals:
    0
    Sythe Gold:
    0

    IVistaI Forum Addict

    VB6 Login forms...

    This is a very insecure method of doing it.

    Put this in command1_Click

    If Text1.text = "SecretPassCode" Then
    Form2.show
    me.hide
    else
    msgbox "Wrong password!", vbokonly, "Error - Invalid!"
    end if

    But that is soo simple, that it can be easily found in a hex editor.

    Don't use it, it was an example.
     
  7. Unread #4 - Sep 18, 2008 at 6:21 PM
  8. thelast1337
    Joined:
    May 24, 2007
    Posts:
    4
    Referrals:
    0
    Sythe Gold:
    0

    thelast1337 Newcomer

    VB6 Login forms...

    IVistaI, That doesn't have anything to do with connecting to a website.

    All it does is check if the password entered in "Text1" is "SecretPassCode"

    I'm not trying to be a jerk, but that doesn't work.
     
  9. Unread #5 - Sep 18, 2008 at 6:34 PM
  10. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    VB6 Login forms...

    I'm assuming he misunderstood your request.

    You have 2 (or 3) ways to do it (from memory).

    1. WEBBROWSER
    Using a web browser control it is possible to fill in forms automaticly. Then read the page returned.

    2/3. INET/WINSOCK
    Sending POST data and then reading the data returned.



    Which one would you like an example of? WebBrowser is simple to understand and create, easy to modify and what not.
    Winsock is more advanced but harder to create/modify.
     
  11. Unread #6 - Sep 18, 2008 at 7:13 PM
  12. thelast1337
    Joined:
    May 24, 2007
    Posts:
    4
    Referrals:
    0
    Sythe Gold:
    0

    thelast1337 Newcomer

    VB6 Login forms...

    I would prefer both, but if I have to pick one, I'll say WebBrowser.

    Thanks.
     
  13. Unread #7 - Sep 19, 2008 at 11:07 AM
  14. IVistaI
    Joined:
    Nov 6, 2007
    Posts:
    281
    Referrals:
    0
    Sythe Gold:
    0

    IVistaI Forum Addict

    VB6 Login forms...

    Oops i think i posted on the wrong topic, add my msn i will give you the code i use.
     
  15. Unread #8 - Sep 20, 2008 at 3:06 PM
  16. thelast1337
    Joined:
    May 24, 2007
    Posts:
    4
    Referrals:
    0
    Sythe Gold:
    0

    thelast1337 Newcomer

    VB6 Login forms...

  17. Unread #9 - Nov 3, 2009 at 6:27 AM
  18. kipjes bende
    Joined:
    Feb 2, 2009
    Posts:
    70
    Referrals:
    0
    Sythe Gold:
    0

    kipjes bende Member

    VB6 Login forms...

    if text2.text = "Password" Then 'text2 = how u called ur text of password
    Unload me
    Form2.show 'Or what forum it is.
    else
    msgbox "Error wrong password. Please try again."
    end if 'Not sure if you need to add this. If it give a error remove end if.
     
  19. Unread #10 - Nov 3, 2009 at 1:41 PM
  20. Cruel__Mаchine
    Joined:
    Nov 3, 2009
    Posts:
    7
    Referrals:
    1
    Sythe Gold:
    0

    Cruel__Mаchine Newcomer
    Banned

    VB6 Login forms...

  21. Unread #11 - Nov 4, 2009 at 1:12 AM
  22. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    VB6 Login forms...

    While your input may have been appreciated last year on 09-21-2008 or thereabouts, it's a bit obsolete now.
     
  23. Unread #12 - Nov 4, 2009 at 8:08 AM
  24. Cruel__Mаchine
    Joined:
    Nov 3, 2009
    Posts:
    7
    Referrals:
    1
    Sythe Gold:
    0

    Cruel__Mаchine Newcomer
    Banned

    VB6 Login forms...

    The input was given more on the principle of fulfilling an already grave-dug thread, thereby eliminating the further need of this thread, opening the way for its locking. An answer is only obsolete when a better answer has already been provided. This isn’t the case of this thread, and if such an answer is provided in another thread, it’d be sufficient to let the author know of the other thread’s location and merely delete the thread (the thread itself being obsolete seeing how it brings up an already solved problem). Following such actions, a forum will be full of only unique problems, solved ones being archived for mere reference. But of course… that’d only be in a perfect internet world… :(
    But I'm not telling mods how to do their jobs... just declaring my opinions. :D
     
  25. Unread #13 - Nov 9, 2009 at 9:59 AM
  26. DMT1
    Joined:
    Nov 7, 2009
    Posts:
    18
    Referrals:
    0
    Sythe Gold:
    0

    DMT1 Newcomer

    VB6 Login forms...

    Hi,

    If you are real Cruel, why is cruels.net down?
     
  27. Unread #14 - Nov 9, 2009 at 4:30 PM
  28. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    VB6 Login forms...

    Because I believe Jazz stopped paying for it.
     
  29. Unread #15 - Nov 10, 2009 at 7:56 AM
  30. Enihcam Leurc
    Joined:
    Nov 6, 2009
    Posts:
    20
    Referrals:
    0
    Sythe Gold:
    0

    Enihcam Leurc Newcomer
    Banned

    VB6 Login forms...

    Child pornography was on the site. And wasn't removed due to a lack of active administration... (or so is claimed ;))
     
  31. Unread #16 - Nov 11, 2009 at 11:07 PM
  32. jdsfighter
    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0

    jdsfighter Forum Addict
    Visual Basic Programmers

    VB6 Login forms...

    It actually went back up for a little while at least, but for some reason it got suspended again.

    Yes not12chan decided to blast our imageboard on there with tons of child pornography, and since jazz was away for some time and cruel is in south america, the content couldn't be removed.
     
  33. Unread #17 - Nov 12, 2009 at 10:25 AM
  34. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    VB6 Login forms...

    Never was away. :) Just invisible.


    The content has been removed, and Cruel and I are going to remake the majority of Cruels.net when he gets back, mostly security issues as well as new stuff, since it was one of cruels old scripts that also provided a nice vulnerability for skiddies and l33t hax0rs.

    yes yes, offtopic. so sue me.
     
  35. Unread #18 - Nov 13, 2009 at 11:53 AM
  36. Enihcam Leurc
    Joined:
    Nov 6, 2009
    Posts:
    20
    Referrals:
    0
    Sythe Gold:
    0

    Enihcam Leurc Newcomer
    Banned

    VB6 Login forms...

    I always knew that Cruel was a neeb!!... not to mention a nigger. :p

    Anyhow, lets return to the topic at hand (even if it is really gay) and just say that POSTing to the default forum login script (to log someone in and just check for success) is problematic when it comes to the user's settings with cookies and such. The sure-fire method is to make another script to check the forum's DB and confirm the login.
     
  37. Unread #19 - Nov 26, 2009 at 9:53 AM
  38. hiway_2_hell
    Joined:
    Nov 26, 2009
    Posts:
    230
    Referrals:
    0
    Sythe Gold:
    0

    hiway_2_hell Active Member
    Banned

    VB6 Login forms...

    lol @ this shit ^^
     
  39. Unread #20 - Apr 20, 2010 at 8:27 AM
  40. vbpro
    Joined:
    Apr 20, 2010
    Posts:
    91
    Referrals:
    0
    Sythe Gold:
    0

    vbpro Member
    Banned

    VB6 Login forms...

    The command to show another form is form1.show although the form 1 bit is an example. So if you want to open Form3 which will open the forum then do form3.show you get me?
     
< Quick Question | Rs2 word scrambler >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site