tomer8007 / whatsapp-web-incognito

A Chrome extension that disables read receipts and presence updates on WhatsApp Web
MIT License
313 stars 74 forks source link

Message Read and Write through code #10

Closed pratik-pk closed 4 years ago

pratik-pk commented 4 years ago

Can we read the message sent to me through the given code and and store it in some variable. and send back the message through code published by you

tomer8007 commented 4 years ago

Do you ask if we can MITM messages? The answer is yes. I can publish an example code if you'd like.

pratik-pk commented 4 years ago

yes, that will be very helpful for our project. Are you having any youtube channel where you explain your code

tomer8007 commented 4 years ago

You can now use the manipulateSentNode function to inspect and change outgoing nodes and messages. just after the var message = messageTypes.WebMessageInfo.parse(nodeReader.children(child)); line.

Beyond that, take a look at the flow in wsHook.before and in wsHook.before. This is the core.

If you want to see for yourself what is getting received and sent normally, you can type WADebugMode = true in the javascript console.

I hope this helps.

pratik-pk commented 4 years ago

thanks for your fast response. but now when I download the latest release and load it into the chrome extension it's throwing error. that you can't able to use it please write back to developer

pratik-pk commented 4 years ago

console.error("WhatsAppInvisible: can't decrypt packet due to exception:");

tomer8007 commented 4 years ago

Are you using the latest version from the Chrome Web Store? I don't think you need to load it unpacked.

tomer8007 commented 4 years ago

@pratik-pk I also updated the latest relase. Please try that.

mylene-balicuas-thesis commented 2 years ago

Hi! How could I decrypt messages sent for MultiDevice in NodeHandler.manipulateSentMessageNode as it is done in NodeHandler.isReceivedNodeAllowed?

tomer8007 commented 2 years ago

Decryption of outgoing multi-device messages with Signal is not something that I've implemented yet. Maybe in the future.

mylene-balicuas-thesis commented 2 years ago

Ok, thanks