login auth , not even 1 auth of the 8 that i tried worked :EmoteDisgust: :EmoteSad: :EmoteHmmm: :EmoteBeast::EmoteSerious::EmoteBawww::EmoteWaitWh at:
Printable View
login auth , not even 1 auth of the 8 that i tried worked :EmoteDisgust: :EmoteSad: :EmoteHmmm: :EmoteBeast::EmoteSerious::EmoteBawww::EmoteWaitWh at:
Well what happened? Does the MD5 or whatever they had generated not work anymore?
Do you know what specifically changed? You could always ask Stapled or Torian or MattSmith about what changed, or even Aleena (Doubt she knows though)
Isn't the new auth randomized? I dodn't know enough about PHP, HTTP, and other web server stuff to understand everything on it.
Mine works :p, it's still pretty simple.
Could have said that 2 weeks ago when you sent me that auth >,> Lol, but srsly , i've been trying your auths, i used Charles to see how you formed your auth, i think that you "get" the login page, then post the loken sid and all, always in the same order right ?
is there a way to make a bot that works with the web browser login, the old way.
And make a booty grab bot without wrappers ?
Or even better, a way to sign in with a web browser and get the cookie so you can use it with the wrapper ?
BRAINSTORMING !
All login methods from flash are disabled now. Also they took down some of the easily bottable gcash ads.
Anyways, Stapled, would you care to share it with us so I can get my bot working again? Everything I try on Gaia Auths fail.
Here: (my python code I wrote for it, uhmz, you should be able to modify it so it works for jew.)
Got any questions, hmu on skype, more likely to respond..Code:
def login(self, Username=None, Password=None):
if(self.LoggedIn == True):
return True
if(Username == None):
if(self.Username == None):
return False
else:
Username = self.Username
else:
self.Username = Username
if(Password == None):
if(self.Password == None):
return False
else:
Password = self.Password
else:
self.Password = Password
print 'Attempting Gaia login..'
params = dict()
Req = self.HTTP.Get(GaiaConstants.URL_LOGIN_DEFAULT)
Req = Req.replace("\t", " ").replace("\n", "").replace(" ", " ").replace('data-value', 'data')
data = self.General.getBetween(Req, '<form action="/auth/login/" id="memberloginForm" method="post">', '</form>')
for x in xrange(0, data.count('input')-1): ### Due to randomization of the order, and a hidden value that has a random name/value,
### I am just building post data automatically. Then modify user/pass later.
complete = self.General.getBetween(data, '<input', '/>')
name = self.General.getBetween(complete, 'name="', '"')
value = self.General.getBetween(complete, 'value="', '"')
params[name] = value
try:
data = data.split(complete)[1]
except:
pass
params['username'] = Username
params['password'] = Password
params['chap'] = ''
params['redirect'] = 'http://www.gaiaonline.com/'
params['signInButton'] = 'Log+In'
Login_Req = self.HTTP.Post(GaiaConstants.URL_LOGIN_DEFAULT, params)
if('View or change your Account Settings' in Login_Req):
self.LoggedIn = True
return True
else:
self.LoggedIn = False
return False
scriptprodigy
I'll try to translate, but I don't know Python. It seems pretty simple though.
EDIT: This is my translation from my knowledge of both languages.
Code:Priavte Function login(By Val L as Boolean, ByVal U as String, ByVal P as String, ByVal OtherU as String, ByVal OtherP as String)
if(L = True):
return True
if(OtherU = Nothing)
if(U = Nothing)
return False
else
OtherU = U
else
U = OtherU
if(OtherP = Nothing)
if(P = Nothing)
return False
else
OtherP = P
else
P = OtherP
Label1.Text = "Attempting Gaia login..."
params = dict() 'I have no idea about this part
Req = Wrapper.HTTPGET(Req, "http://www.gaiaonline.com/auth/login")
replace(Req, "\t", " ")
replace(Req, "\n", "")
replace(Req, " ", " ")
replace(Req, "data-value", "data")
data = WrapperBetween(Req, '<form action="/auth/login/" id="memberloginForm" method="post">', '</form>')
for x in xrange(0, data.count('input')-1) 'No idea Sorry ### Due to randomization of the order, and a hidden value that has a random name/value,
### I am just building post data automatically. Then modify user/pass later.
complete = Wrapper.Between(data, '<input', '/>')
name = Wrapper.Between(complete, 'name="', '"')
value = Wrapper.Between(complete, 'value="', '"')
params[name] = value ' Don't know what this means
try
data = data.split(complete)[1]
except
pass
StrPostData = ("username=" & U & "password=" & P & "chap=" & "redirect=" & "signInButton=Log+In")
Login_Req = Wrapper.HTTPPOST("http://www.gaiaonline.com/auth/login", StrPostData)
if('View or change your Account Settings' in Login_Req):
L = True
return True
else:
L = False
return False
Thanks I'll try to convert it I guess.
Also, Python seems quiet good a good language, i did download it once but never understood a thing, not even how to compile.
It's an interpreted programming language; you don't compile it.
@MattSmith -- I'm just going to be upfront with you about this: your code looks terrible. I haven't tested it nor do I intend to, but on glance it doesn't look like it would work at all. If it does though, cool, it'd help the guys having problems with the new login out.
@boa man5 -- Your port of his code is incorrect. It wouldn't work in other words. I don't know if you just attempted to port it to VB.NET for the heck of it or if you were actually planning on using it, but it honestly doesn't seem like it.
Python is a very simple and versatile language, I enjoy it a lot but only know the most basic of the basics. From a few years of programming in general though, I can understand the code fairly well and it looks pretty nice.
Oh? You mean how there's a self subroutine argument despite not being used in a class instance and was just distributed as-is? On top of the coding being generally redundant and simply poorly written? Yes, very quality code there.
Credibility lost.
P.S. It doesn't even work lmao.
@UnIntelligible your username really shows when you make idiotic posts like this.
@Topic I guess we'll still ahve to wait.
Have* And no, we don't; you do. Just an FYI: I've already created a working login a while ago. It's trivial at the most to do. But of course not by the likes of you.
That didn't make any sense. "Unintelligible" doesn't mean what you think it means—it means incomprehensible or illegible, you idiot.
What the fuck is wrong with you? Did your druggy parents drop you on your head when you were a baby and they just decided to not care about you if you get this messed up? I freakign know what unintelligible means. It would have to be unintelligent to provide stupididty. Maybe I was implying that your entire way of life is metaphorically illegible. IDGAF about your so cool login that like will never be used by someone like me. I'm already creating my own login. It is actually fairly easy to make a main page login :P . Oh well. Go cry to ur horrible mom and play with your "almighty" powers of magic coding.
Coming from the retard that just made himself look even more retarded.
No you don't. I'm actually surprised you can even spell the word.
And that's exactly my point. You are unintelligent.
Congratulations on making absolutely no sense. But that's natural for someone trying to hide the fact that they were wrong.
And that's why you're in this thread essentially begging for code, yeah.
Only in your dreams, only in your dreams.
Not for you.
This snippet deserves the metaphorical "most retarded post of the year" award. Your pathetic attempts at insulting are humorous at best.
lmao, I pulled it from library on recent project. It won't work, you are correct. You need to replace a few variables that aren't there with the correct URL's.
This code is directly copy pasta from a fairly large piece of software which will be released in the near future. It's nice to know you know how to code better than me though! You sure can talk the talk but you can't manage to prove yourself.
---------- Post added at 03:25 PM ---------- Previous post was at 03:23 PM ----------
It is very simple language. It's meant to be easy to code and powerful at the same time. With the ability to code C++ library's and import them , python is just as powerful as C++. Thus, endless possibilities.
Also, it is an interpreted language. It is converted to byte-code at run-time thus never being truly compiled to machine code. There are utilities for it however. I'd love to get you into Python so you can develop upon some stuff me and Artificial have started developing for LG.
Add me on skype, scriptprodigy.
@The UnIntelligible - If you can't manage to respect others in the community, I'll have to have you temporarily banned. There is no reason to act as you are.
You know what they say: the more you know! Also, "prove myself"? As if I have anything to prove to you. lol
You're actually able to write C and C++ libraries and statically use them, and they're known as extensions. Further, please don't make ludicrous claims such as "Python is just as powerful as C++." Your premise for Python being just as powerful as C/C++ is like saying a language capable of DLL calls is just as capable or otherwise powerful as the language it's inheriting from.
Bytecode conversion in Python is actually optional, wherein a language like Java or ActionScript it's strictly forced. As for the utilities: even then the program isn't truly being compiled into an actual binary. The utilities you're referring to are just wrappers that help you convert your script into a (standalone in some cases) executable form. Similar to AutoIt's "compilation" process.
While I did get a bit carried away here, take a good look around you. Everything I've said thus far was fairly reasonable. They say give respect where respect is due. Respect was definitely not a factor due here.
You have no reason or right to come in here and disrespect our members. Respect is due here because you clearly are 10, and we are your elders. We all know you know how to use google now. You will be receiving a temp ban due to this incident.
Whatever floats your boat sir douchebag! :)
You must be God or something cuz you know everyhting. I am very surprised at your su3r l33t hax0r1ng 5k1lls
@MattSmith thanks you for the temp ban on him. Do I get an infraction to for aguing? I don't exactly know all itnerpretations of the rules.
@topic Stapled does have a working login code, but he wouldn't chare with me. Maybe since some of you guys are more senior he will share with you?
Lmao.
I'm not banned for the record. I've actually done nothing reprehensible for a ban. But if I do happen to get banned, nothing I've said here changes; it still stands.
You aren't banned yet. It goes past a few people before it happens. You have, you were disrespectful enough to make the community a place where others don't wish to be. We appreciate our members and like to take care of them. You are interfering with this community in a negative way. We will temporarily ban you to give you some time to think about how to act when you are on our community. Now please stop spamming about how 'good' of a programmer you are. That does not relate to the topic.
As much as I disagree with the rest of what you said, I felt this needed to be addressed the most:
Please point out where I've stated I'm a "good programmer." I haven't once said I was a good programmer let alone insinuate it.Quote:
Originally Posted by MattSmith
Correcting the majority of users in this thread isn't suggesting I'm a 'good' programmer at all. Stop making blatantly stupid presumptions and actually use evident supporting information.
Dude i bet a million dollars that you have NO friends, just you computer and your right hand. I'd be surprised if you could get that inch hyped.
Learn to live with others, and if your that smart , go do something with it, not just waste it on us since we're "idiots" , talking bad to others doesn't make you sound smart AT ALL. Now go cry to mommy about your unintelligible social problems.
Great, see what you did MattSmith—now the retarded, non-programmer autistic kid intervened.
Just great.
The Unintelligible's tips were legit. How do you get so butthurt over him correcting you guys? Why not say thanks? I never seen him break any rules, so why would he be banned? No offense Jah, how did you get trainee?
I may be autistic , dyslexic or what ever , but i don't have social problems like you, I am not sitting behind my computer trying to make myself feel better by provoking others.
People like you don't get far, not a bit. I may not be as smart as you think you are, but seems like i'm finding my way through better than you are with your ''intelligence".
@Datsik : Stop trying to defend him, he would have taken a shot at you as soon as he would have had the chance to.
I wish you'd all stop bawwing. Why can't we all just get along. :(
Either way, just wrote and tested this - works fine.
Code:import re
class Gaiaonline():
def __init__(self):
self.http = HTTP()
def login(self, username, password):
try:
httpSource = self.http.get('http://www.gaiaonline.com/auth/login/')
formSource = httpSource[httpSource.find('<form action="/auth/login/"'):httpSource.find('</form>')]
formFields = {}
fields = re.compile("<input([^>]+)>", re.IGNORECASE|re.MULTILINE).findall(formSource)
regex = re.compile("([a-z\-]+)\=\"([\w\-]{0,})\"", re.IGNORECASE|re.MULTILINE)
for x in range(0, len(fields)):
(name,value) = ["",""]
data = regex.findall(fields[x])
for y in range(0, len(data)):
if data[y][0] == "name":
name = data[y][1]
elif data[y][0] == "value":
value = data[y][1]
try:
formFields[name] = value
except:
pass
formFields['username'] = username
formFields['password'] = password
return self.http.post('http://www.gaiaonline.com/auth/login/', formFields).find('Welcome to Gaia') != -1
except:
return False