A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

VB.net 2010 Gaia login.

1.1k views · started by Stapled ·
#1
VB.net 2010 Gaia login.
Enjoy~

 Public Function GaiaonlineLogin(ByVal username As String, ByVal password As String) As Boolean
Dim strHTML As String
Dim strPostData As String
strHTML = wrapper.GetWrapper("www.gaiaonline.com/auth/")
strHTML = Replace(strHTML, """", "'")
strPostData = "token=" & _
GetStringBetween(strHTML, "<input name='token' type='hidden' value='", "' />") & "&sid=" & _
GetStringBetween(strHTML, "<input name='sid' type='hidden' value='", "' />") & "&redirect=" & _
GetStringBetween(strHTML, "<input type='hidden' name='redirect' value='", "' />") & "&username=" & _
(username) & "&password=" & _
"" & "&signInButton=Log+In&chap=" & MD5(MD5(password) + GetStringBetween(strHTML, "<input name='token' type='hidden' value='", "' />"))
strHTML = wrapper.PostWrapper("www.gaiaonline.com/auth/login/", strPostData)
If strHTML.Contains("<span id=""gold_amt"">") = True Then
GaiaonlineLogin = True
Else
GaiaonlineLogin = False
End If
End Function ' Gaia Auth
#2
You beat me to it >_>
Thanks for making one though, and nice one also.
#3
What Wrapper was this made for ?
#4
Jah wrote:
What Wrapper was this made for ?


Whatever random one I'm using. Why, are you having problems with it?