fut icon indicating copy to clipboard operation
fut copied to clipboard

Do full logout and login after captcha

Open evgkirov opened this issue 8 years ago • 5 comments

evgkirov avatar Dec 03 '17 10:12 evgkirov

Anyone been able to do logout after captcha, for some reason when I do that I get error 458, which is captcha error even when I'm trying to log out anyone know how I can bypass and do the logout?Thanks.

KmanProdz avatar Jan 15 '18 23:01 KmanProdz

Looks like they changed logout method, much more requests are made now and it's fixed in my last commit. Forget to mention here but we can probably mark this as resolved (please confirm that's good behavior [it was for me but who knows]).

https://github.com/futapi/fut/commit/87a0d6c63d0eacb7f23ba81b199b51f83a774448

oczkers avatar Jan 17 '18 17:01 oczkers

where did you find this logout method, as where I debug webapp I still see the DELETE request for auto also what is this: params={'ct': self._}). Sorry for bothering, just I want to port to PHP too. Thanks.

KmanProdz avatar Jan 20 '18 20:01 KmanProdz

@KmanProdz This 4 requests popped once when i saw captcha (just after You click ok button and relogin is made). But next time there was only one like before. Dunno why is that but probably one requests is enough.

I still see the DELETE request

Are we talking about logout or automatic logout before captcha is shown?

what is this: params={'ct': self._})

This is login timestamp + number of requests, used in every get requests made by webapp.

oczkers avatar Jan 20 '18 22:01 oczkers

I haven't got an captcha in a while but so I haven't seen the automatic login, so I'm just going off what you said, maybe I'll make a logout function for captcha specific and one for normal and use those urls.

KmanProdz avatar Jan 22 '18 15:01 KmanProdz