Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIFA 18 #54

Open
JKetelaar opened this issue Oct 3, 2017 · 14 comments
Open

FIFA 18 #54

JKetelaar opened this issue Oct 3, 2017 · 14 comments

Comments

@JKetelaar
Copy link
Owner

Let's see if this is possible

@suckedjs
Copy link

suckedjs commented Oct 4, 2017

That would be great. Any news?

@nco-webdev
Copy link

I'm interested to contribute. May be you can give more info about how you did this for the 2017 version ?

@JKetelaar
Copy link
Owner Author

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.

@maxruppel
Copy link

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.

@JKetelaar
Copy link
Owner Author

Thanks for the update @maxruppel, I'll take that in mind. It's probably generated content that can be grabbed from another page.

@suckedjs
Copy link

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

@suckedjs
Copy link

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

@suckedjs
Copy link

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

@JKetelaar
Copy link
Owner Author

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.

@suckedjs
Copy link

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

@suckedjs
Copy link

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.

@JKetelaar
Copy link
Owner Author

Thanks, I'll take a look at it this weekend. Will keep you updated!

@suckedjs
Copy link

any updates?

@futdev
Copy link

futdev commented Oct 30, 2017

@suckedjs - take a look here : https://github.com/InkedCurtis/FUT-API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants