Comments (34)
from wapi.
from wapi.
No, my account is flagged for the second time this week.
from wapi.
Oops
from wapi.
My account is unflagged now.
from wapi.
Flagged for what?
Btw, i think we should take the yowsup code base?
TGlal has made some work before.
from wapi.
from wapi.
Cool, what is the current state of the research?
Also, should this project be private? As per mpg message o agree that people may abuse it
from wapi.
I know the following things:
- Every package begins with an int24 length.
- Since a certain version WhatsApp uses a tokenmap to compress the streamdata. This tokenmap depends on the version of the protocol.
- In protocol version 1.* they used RC4 to encrypt the messages to prevent stealing data.
- In protocol version 2.* they changed their encryption to Noise.
- A stream begins with a header. First the chars 'W' and 'A', then 2 bytes indicating the version.
- It looks like that there is a second header since 2.*: chars 'E' and 'D' and 2 bytes for the version. Than followed by a package with a size of 4 bytes and then the old WA-header.
- Registration process via v.whatsapp.net is also known.
Things to know:
- How does the encryption work?
- What does ED mean?
- What does the package between the headers mean?
If I forgot something, please tell me.
from wapi.
I think that there were many changes wr probably need to reverse engineer the interesting parts.
you know reversing, right?
from wapi.
Yes, we will see what is the best option.
from wapi.
When I have some time, I will try things on my rooted phone.
from wapi.
where is the project ?
from wapi.
Is it not visible? I don't see a warning here.
from wapi.
hi @ben221199
I fixed wart project to get the sms code and password
but I cannot login with the channle I have created , do u have a solution ?
from wapi.
hey @ben221199 are u here !
from wapi.
@mosaw Do you mean you succeeded in receiving a sms and used the code to receive the password, but that you cannot connect to the XMPP server with the password?
from wapi.
yes excactly
from wapi.
WhatsApp now uses FunXMPP 2.0 or later and this means that you cannot connect with the server with the current RC4 encryption. WhatsApp now uses Noise instead of RC4.
from wapi.
so whats is the solution ?
how can i get instance
from wapi.
We have to understand the new protocol of WhatsApp. Especially the Noise encryption.
Here is a full list of things we know and we need to know: #1 (comment)
from wapi.
ok man thnx
from wapi.
https://developers.facebook.com/docs/whatsapp
from wapi.
That's the WhatsApp Business API. Also nice to have a look at, but our main goal is the normal WhatsApp.
from wapi.
Hi @ben221199 @mosaw , are you still working on this? I'd like to contribute
from wapi.
Sure... I have little time now, but when I have more, I certainly will continue. If you have information I can post, please send :)
from wapi.
@ben221199 Hello,
I can't see the repository and any code. But if you can publish we can contribute your repository.
from wapi.
@ciclanoio Noise Protocol isn't implemented in the previous project. RC4 is the previous protocol and is implemented in the files: BinTreeNodeWriter and BinTreeNodeReader.
from wapi.
@ben221199 @GM12Tick Call me on Telegram or Skype, maybe we can make this a reality for both of you, my project is quite advanced, including the nois protocol implemented.
Skype: netfiretec
Telegram: https://t.me/LeandroDeFranca
from wapi.
from wapi.
At the moment I'm implementing a client in Java. Registration is done using yowsup. When connecting to the communication server, I send the WhatsApp header, then I start the Noise protocol handshake using protobuf segments. I first send a ClientHello
, I receive a ServerHello
with NoiseCertificate
data and then I send a ClientFinish
with ClientPayload
data. However, after that segment, I don't receive anything, so that is strange. The Noise implementation I'm using (rweather/noise-java#1) gives some weird errors when verifying the MAC, but when I disable this verification, the library works fine. This errors also occur when I don't communicate with the WhatsApp server, but with my own server that uses the same library. However, after the handshake with my own server, I receive data that my server sends, but when connecting with the WhatsApp server, as I said, I don't receive anything. Maybe there are some tiny differences between normal Noise protocol and WhatsApp noise protocol.
from wapi.
from wapi.
I will close this issue, because there is now code in the repository. Registration is implemented. Also Noise protocol and FunXMPP converter is implemented. The things that should be done now, like End-to-End encryption and messaging, aren't relevant to this issue.
from wapi.
from wapi.
Related Issues (20)
- register注册成功后,运行Main.java函数,在握手函数中服务器返回了null,我用的翻墙软件 HOT 1
- Can you tell me what functions are in this? HOT 1
- Yowsup group HOT 1
- qrcode HOT 1
- need help: "Unsupported parameter: javax.crypto.spec.IvParameterSpec" HOT 2
- Hello, is there an example of WAPI registration and login to send messages? HOT 1
- Here is the data I captured to whatsapp server, can you check and analyze it? HOT 1
- Cannot add dependency on WAPI
- Exception in thread "main" java.lang.NullPointerException HOT 1
- How to construct these parameters
- Whatsapp Business Support HOT 1
- Need new parameter 'backup_token'
- hi,sir! how to decrpt this kind of keystore.xml item from andorid device? HOT 8
- 2022/08 Update HOT 4
- Can the current project run normally? If I can, I want to translate it into C#
- Registration not working, bad_param token. HOT 2
- about dat file HOT 2
- I also have a new version,And update in real-time HOT 2
- use Connection API receive 401
- How can solve HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wapi.