Answer the question
In order to leave comments, you need to log in
Debug javascript to extract token calculation algorithm, is it possible?
I have an unofficial application (iOS) for one site (www.onliner.by) with the ability to login. Until recently, it was enough to pass a username and password to login. Now the token has been added to the request as a required field. I am not strong in web development, but, as I understand it, the calculations are performed on js on the client side, i.e. theoretically, I can dig into the code and find out how the token is calculated. But due to obfuscation of the code, everything becomes more complicated, the code was brought to a more readable form, but I did not find a way to insert the formatted code into the google chrome debugger (during debugging, I still have 3 lines of js code a thousand characters long). Are there any more suitable tools than google chrome for analyzing the executed js code, or an action algorithm that allows me to track the calculations I need?
PS I tried to contact the developers, api is not shared, but I don’t want to abandon it.
PPS There is a plan B: Show the user a webview with a login from the site, but it seems to me not very good
UPD: link to js https://drive.google.com/file/d/0B3BiTXNOSbgHX0FCS...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question