Open JKetelaar opened 6 years ago
That would be great. Any news?
I'm interested to contribute. May be you can give more info about how you did this for the 2017 version ?
It’s probably just a matter of changing the Api values. Just as the change from 16 to 17.
Most of it is stored in Configuration I think, but this project has been a while ago for me.
I checked some of the URLs and fixed them locally to see if it works as well for fut18. Seems to me like they changed the login-page containing some random-key in the URL so it might get a little tricky.
Thanks for the update @maxruppel, I'll take that in mind. It's probably generated content that can be grabbed from another page.
I tried to update the URLs and config files but I got stucked here
Fatal error: Uncaught JKetelaar\fut\api\errors\login\MainLogin: Unable to login with unknown response With the following message: Unknown error/page occurred (Invalid Request) With error code: 281752 in \src\JKetelaar\fut\api\user\Login.php:416 Stack trace: #0 \src\JKetelaar\fut\api\user\Login.php(98): JKetelaar\fut\api\user\Login->postTwoFactorForm('https://signin....') #1 \src\JKetelaar\fut\api\API.php(270): JKetelaar\fut\api\user\Login->login() #2 index.php(10): JKetelaar\fut\api\API->login() #3 {main} thrown \src\JKetelaar\fut\api\user\Login.php on line 416
The signin link is now generated by a javascript now in order to beat tools like this. As I know php is not able to process javascript code
The web-app stopped working on my Firefox and I had no clue way. I just noticed that it now detects the Firefox addon that I had installed: HTTP LIVE HEADERS and it stops working. As soon as disabled the add-on, it started working again. Another protection
Thanks for the investigation @suckedjs, though we'll need to see what the JavaScript actually generates then, as that could possibly be faked with any other programming language.
Looks like someone posted a new php project with the code we are after: https://github.com/InkedCurtis/FUT18-WebApp-Connector/blob/master/traits/Login.php
Looks like the postTwoFactorForm() is broken, returns invalid request. Can you have a look @JKetelaar ?
Returns Invalid request. I changed the token variable to OneTimeCode as they renamed it.
Thanks, I'll take a look at it this weekend. Will keep you updated!
any updates?
@suckedjs - take a look here : https://github.com/InkedCurtis/FUT-API
Let's see if this is possible