tuhinpal / WhatsBot

Modular Userbot for Whatsapp. Supports MultiDevice authentication on non persistent server.
https://tuhinpal.github.io/WhatsBot/
Apache License 2.0
322 stars 403 forks source link

Support new multidevice authentication #63

Closed tuhinpal closed 2 years ago

tuhinpal commented 2 years ago

It's changelog time after many months. So, there was no plan to add the MultiDevice Beta feature, but legacy authentication was removed by WhatsApp. Some people told me almost all WhatsApp bots are broken and require a persistence server, but I challenged that.

Technically speaking whatsapp-web.js pulls the whole state from Chrome to remember the device. That's good, but the only limitation is it needs a persistence server. So, I delete large unneeded files, make a zip of it, and encrypt the zip, so the file can be hosted from any website (like https://thetuhin.com/session.secure).

Changelog

What about security?

Well, it is safe, but still, maybe there is some vulnerability of the token encryption (like brute force, social engineering). So I highly recommend you to throw this stuff in a secure place (like https://thetuhin.com/freaking-hard-security/session.secure)

The new process

Well, it is kinda same. Just follow these steps:

Thank you 👍

shavindu1234 commented 2 years ago

hoda

badu-ser commented 8 months ago

QR code scan does not return any json