Wa-automate-nodejs: Decrypting Media

Created on 20 Jan 2020  路  5Comments  路  Source: open-wa/wa-automate-nodejs

Describe the bug
decryptMedia() function is not working.

sulla-hotfix version
1.5.7

Whatsapp version
0.4.315

All 5 comments

I was also having issues with decrypt media and decided to hardcode the WhatsApp user agent into it. That worked at the time. I'll test it now to make sure it's working.

You can pass in your own user agent also now if you want.

https://github.com/smashah/sulla/blob/96ab3b9c7d85ee10f3b0f2b64f83ad9c9ba9249b/src/utils/decrypt.ts#L17

I'm just waiting for https://developers.whatismybrowser.com/useragents/explore/software_name/whatsapp/ to start working again so I can update the default user agents in the whole project.

Maybe Facebook is DDOSing that site. It's been down for ages but was the best resource for useragents.

ua = useragentOverride || 'WhatsApp/2.16.352 Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.0.2990 Safari/537.36';

PT-BR
minha solu莽茫o foi essa!

I fix liked this:

decryptMedia(message, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) WhatsApp/0.4.315 Chrome/69.0.3497.128 Electron/4.1.4 Safari/537.36')

@smashah see:

Captura de tela em 2020-01-21 15-05-16

image

LISTENING: "WA Desktop - Win10".

Wow thanks for the screenshots @phantom-limb I'll use the same technique to keep up to date on wa user agents going forth. I'll check to WhatsApp code to see if there's an OS check outside the user agent.

@phantom-limb https://github.com/smashah/sulla#issues-with-decyption

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alishahlakhani picture alishahlakhani  路  4Comments

arisros picture arisros  路  4Comments

jazZcarabazZ picture jazZcarabazZ  路  5Comments

alishahlakhani picture alishahlakhani  路  7Comments

smashah picture smashah  路  5Comments