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

Add new yahoo key #1335

Merged
merged 1 commit into from
Jan 25, 2023
Merged

Conversation

ifel
Copy link

@ifel ifel commented Jan 25, 2023

They just added a new key. Added it to the list, commented exception, the thing works now:
https://gist.github.com/ifel/5cdbf537a79da8a6e37203b1a9c30e4f

@ValueRaider ValueRaider merged commit df9c2f9 into ranaroussi:hotfix/decryption Jan 25, 2023
@ValueRaider
Copy link
Collaborator

Superstar

@ValueRaider
Copy link
Collaborator

ValueRaider commented Jan 25, 2023

Can you look into the feasibility of fetching & parsing the JS file to extract keys? Just to assess how difficult implementation would be, no need to actually do it.

If that's not your skill-set then don't worry.

@ifel
Copy link
Author

ifel commented Jan 25, 2023

Basically, we need to look into the html and find a version of the main.js is in use, now it's https://s.yimg.com/uc/finance/dd-site/js/main.92af8b3fe8fc9dac750f.min.js. Then load it, and look for a string like this:

(t.context.dispatcher.stores=JSON.parse(c.default.decrypt(t.context.dispatcher.stores,"".concat(t.d742f5c4a0a6).concat(t["3bbecdde7968"]).concat(t["5ad3aeab21a5"]).concat(t["08d0c11ddeba"])).toString(l.default))

note they use several ways to access the keys. The last 2 strings were similar:

(t.context.dispatcher.stores = JSON.parse(c().decrypt(n, t["2f28c82aa38ad3e4dc1a"]).toString(d())))
(t.context.dispatcher.stores = JSON.parse(c().decrypt(n, `${t["5e971f17f196"]}${t["04b4af022e08"]}${t.f550b3f47950}${t["1e0c85f35401"]}`).toString(d()))

@ValueRaider
Copy link
Collaborator

Thanks. I'll create an Issue for anyone to implement.

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

Successfully merging this pull request may close these issues.

2 participants