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.

Gaia auth

1.3k views · started by Jah ·
#1
Gaia auth
mine isn't working WBU ?
#2
Post your code, if you interpret the same actions as the browser there is no way yours wouldn't work :p
#3
MattSmith wrote:
Post your code, if you interpret the same actions as the browser there is no way yours wouldn't work :p

        Wrapper.Post("http://www.gaiaonline.com/auth/login", "&username=" + TextBox1.Text + "&password=" + TextBox2.Text)
If Wrapper.Get("http://www.gaiaonline.com/?login_success=1").IndexOf("Welcome back" + TextBox1.Text + "!") Then
MessageBox.Show("logged in")
Else : MessageBox.Show("Failed!")

End If


I so forgot how to make a gaia auth, I still remember with the other site though :) at least.
#4
You're missing the token value and you can transform that into one line.

if (Wrapper.Post(Gaia_URL_Nor + Gaia_URL_NorLogin, "username=" + Username + "&password=" + Password + "&token=" + Wrapper.Between(Wrapper.Get(Gaia_URL_Nor + Gaia_URL_NorLogin), "token\" value=\"", "\""), Gaia_URL_Nor).IndexOf("gold_amt") > -1)
#5
Chad wrote:
You're missing the token value and you can transform that into one line.

if (Wrapper.Post(Gaia_URL_Nor + Gaia_URL_NorLogin, "username=" + Username + "&password=" + Password + "&token=" + Wrapper.Between(Wrapper.Get(Gaia_URL_Nor + Gaia_URL_NorLogin), "token\" value=\"", "\""), Gaia_URL_Nor).IndexOf("gold_amt") > -1)


So it's actually the token that makes the login possible ?
&Thanks Chad for answering every question of mine recently :D and you keep amazing me with your short program lines xD
Thanks again :D
#6
Holy shit I'm such a n00b , the code game me errors so i did this :
 If Wrapper.Post("http://www.gaiaonline.com/auth/login", "&username=" + TextBox1.Text + "&password=" + TextBox2.Text + "&token=" + Wrapper.Between(Wrapper.Get("http://www.gaiaonline.com/auth/login" + "http://www.gaiaonline.com/?login_success=1"), "token\", "value=\", "\"), "http://www.gaiaonline.com/?login_success=1").IndexOf(("gold_amt") > -1) Then
MessageBox.Show("logged in !")
Else : MsgBox("Failed")
End If