• Log in or sign up for an account here: https://www.sythe.org/login

VB6 Login forms...

Status
Not open for further replies.

thelast1337

Newcomer
Joined
May 24, 2007
Sythe Gold
0
Messages
4
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
Member of the Month Winner
Sythe's 10th Anniversary
Cruel__Mаchine;5583934 said:
Listen to Jazz and use Winsock, sending the appropriate POST headers. Use Live HTTP Header plugin that Firefox has to get the required headers you need to log on:
https://addons.mozilla.org/en-US/firefox/addon/3829?src=api
While your input may have been appreciated last year on 09-21-2008 or thereabouts, it's a bit obsolete now.
 
While your input may have been appreciated last year on 09-21-2008 or thereabouts, it's a bit obsolete now.
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
 
Cruel__Mаchine;5586908 said:
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
Hi,

If you are real Cruel, why is cruels.net down?
 
Member of the Month Winner
Sythe's 10th Anniversary
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.
 
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.
 
since it was one of cruels old scripts that also provided a nice vulnerability for skiddies and l33t hax0rs.
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.
 
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?
 
Status
Not open for further replies.
Runescape Gamblingrunescape gambling
Back
Top