Gaia auth
1.3k views · started by Jah ·
Post your code, if you interpret the same actions as the browser there is no way yours wouldn't work :p
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 IfI so forgot how to make a gaia auth, I still remember with the other site though
at least.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)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
and you keep amazing me with your short program lines xD Thanks again

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