venomous0x / WhatsAPI

Interface to WhatsApp Messenger
2.59k stars 2.13k forks source link

[QUESTION] HOW TO: Decode token.php #927

Open cibb opened 10 years ago

cibb commented 10 years ago

Hi guys!

Does anyone have any guide to extract encryption changes in each whatsapp version? It would be interesting to know how to help together.

mgp25 commented 10 years ago

Yes, but encryption hasnt almost changed.

Here you have how the token is generated: https://github.com/venomous0x/WhatsAPI/blob/master/src/token.php

This is only available for Android.

cibb commented 10 years ago

Hi mgp25! Thanks for your answer! In each version you change the $classesMd5 var. I ask about this change. How can we update this var in future updates?

Dont put the idiot label to the topic please :P

mgp25 commented 10 years ago

I have a track of the classesMD5 data (is not the token, just part of it): here

Just change that classesMD5 data, user agent, and version data...

cibb commented 10 years ago

Nice! Is it very difficult to get those values​​ manually (Without resorting to your list)?

PD- Es muy gratificante encontrar a un hispanohablante por este proyecto =)

mgp25 commented 10 years ago

You can use this utility i made: here

If you want further information you will need to reverse engineer android app.

La verdad que sí, somos pocos xD

cibb commented 10 years ago

You are the best :p

Thanks! (Now if you want put the idiot label to my post Haha)