tgalal / yowsup

The WhatsApp lib
GNU General Public License v3.0
7.03k stars 2.23k forks source link

SMS verification failed #2829

Open nosuchip opened 5 years ago

nosuchip commented 5 years ago

Describe the bug

Once SMS received to the real phone (not virtual one) trying to register with phone but response status always "fail".

Debug output

SMS requesting:

(wassup) [alp@mobby app]$ yowsup-cli registration --requestcode sms --config-phone 79778326359 --config-cc 7           
E 2019-06-26 17:09:26,002 yowsup.config.manager - Could not find a config for username=79778326359, paths checked: /home/alp/.config/yowsup/79778326359/config.yo:/home/alp/.config/yowsup/79778326359/config.json
yowsup-cli  v3.2.0
yowsup      v3.2.3

Copyright (c) 2012-2019 Tarek Galal
http://www.openwhatsapp.org

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://openwhatsapp.org/yowsup/donate

I 2019-06-26 17:09:26,601 yowsup.common.http.warequest - b'{"login":"79778326359","status":"sent","length":6,"method":"sms","retry_after":65,"sms_wait":65,"voice_wait":65}\n'
status: b'sent'
length: 6
method: b'sms'
retry_after: 65
login: b'79778326359'
sms_wait: 65
voice_wait: 65

Registration

Line started with ">>" added by me straight to yowsup code to check result value.

(wassup) [alp@mobby app]$ yowsup-cli registration --register 252894  --config-phone 79778326359 --config-cc 7
yowsup-cli  v3.2.0
yowsup      v3.2.3

Copyright (c) 2012-2019 Tarek Galal
http://www.openwhatsapp.org

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://openwhatsapp.org/yowsup/donate

I 2019-06-26 17:10:03,442 yowsup.common.http.warequest - b'{"login":"79778326359","status":"fail","reason":"temporarily_unavailable","retry_after":3600}\n'
>> Registration result {'status': 'fail', 'login': '79778326359', 'type': None, 'edge_routing_info': None, 'chat_dns_domainreason': None, 'retry_after': 3600}
status: b'fail'
login: b'79778326359'
retry_after: 3600

Config file

{
    "__version__": 1,
    "cc": "7",
    "client_static_keypair": "MASKED BUT I HAVE IT IN CONFIG",
    "expid": "MASKED",
    "fdid": "MASKED",
    "id": "MASKED",
    "mcc": "000",
    "mnc": "000",
    "phone": "79778326359",
    "sim_mcc": "000",
    "sim_mnc": "000"
}

Versions

consonance==0.1.2 dissononce==0.34.3 python-axolotl==0.2.2 python-axolotl-curve25519==0.4.1.post2 yowsup==3.2.3

$ yowsup-cli version
yowsup-cli v3.2.0
Using yowsup v3.2.3

To Reproduce

Just follow instructions from readme, just omitted mcc and mnc - it is fallen back to 000.

Expected behavior Response with "ok" status.

OS (please complete the following information): Linux Arch x64

nosuchip commented 5 years ago

Just tried with correct MCC/MNC - same result, status "fail".

tgalal commented 5 years ago

--debug

nosuchip commented 5 years ago

SMS request

yowsup-cli registration --requestcode sms --config-phone 79775066501 --config-cc 7 --debug
D 2019-06-26 17:27:48,515 yowsup.config.manager - Detecting config for username=79775066501, dir=/home/alp/.config/yowsup/79775066501/
D 2019-06-26 17:27:48,515 yowsup.config.manager - Trying /home/alp/.config/yowsup/79775066501/config.yo
D 2019-06-26 17:27:48,515 yowsup.config.manager - Trying /home/alp/.config/yowsup/79775066501/config.json
E 2019-06-26 17:27:48,515 yowsup.config.manager - Could not find a config for username=79775066501, paths checked: /home/alp/.config/yowsup/79775066501/config.yo:/home/alp/.config/yowsup/79775066501/config.json
yowsup-cli  v3.2.0
yowsup      v3.2.3

Copyright (c) 2012-2019 Tarek Galal
http://www.openwhatsapp.org

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://openwhatsapp.org/yowsup/donate

D 2019-06-26 17:27:48,590 yowsup.axolotl.factory - get_manager(username=79775066501)
D 2019-06-26 17:27:48,666 yowsup.axolotl.manager - Initialized AxolotlManager [username=79775066501, db=/home/alp/.config/yowsup/79775066501/axolotl.db]
D 2019-06-26 17:27:48,666 yowsup.axolotl.manager - load_latest_signed_prekey
D 2019-06-26 17:27:48,666 yowsup.axolotl.manager - generate_signed_prekey
D 2019-06-26 17:27:48,667 yowsup.axolotl.manager - load_latest_signed_prekey
D 2019-06-26 17:27:48,674 yowsup.env.env - Env not set, setting it to android
D 2019-06-26 17:27:48,675 yowsup.env.env - Current env changed to android
D 2019-06-26 17:27:48,675 yowsup.common.http.warequest - send(parser=None, encrypt=True, preview=False)
D 2019-06-26 17:27:48,675 yowsup.common.http.warequest - sendGetRequest(parser=None, encrypt_params=True, preview=False)
D 2019-06-26 17:27:48,675 yowsup.common.http.warequest - Encrypting parameters
D 2019-06-26 17:27:48,676 yowsup.common.http.warequest - pre-encrypt (encoded) parameters =
cc=7&in=9775066501&lg=en&lc=GB&mistyped=6&authkey=bKyKADARlUG9E1%5fbVV%2dYQvR1AvHyTLyhADyZBPeCen4&e_regid=ESdv3w&e_keytype=BQ&e_ident=ZPzHIJh85rWo5OtZp1k5Gs3hhPwvE1ontOvopeqqeQw&e_skey_id=AAAA&e_skey_val=1C%2dr9Emycy9VQJzz44GBtq85jzLm7I600OPlNi4R52E&e_skey_sig=4tsgLFCzE%5f95FMntGv9fn6jwD6OmGe1d0hs5mxfpZ2HGy92iKglayKdstKAhss%2di7jq8bO5Fkm8%2dRoXJNP09hQ&fdid=016560cd%2db691%2d41c4%2dbbce%2d2f0745bcc9d4&expid=kxGrTocpT3O%5fkxm%5fFiF%5fAw&network_radio_type=1&simnum=1&hasinrc=1&pid=5506&rc=0&mcc=000&mnc=000&sim_mcc=000&sim_mnc=000&method=sms&reason=&token=DsXf9GrRLYeE9jThQeptawLq5eY%3d&hasav=1&id=%5c%88%e6%af%13%0d%c2%dbJlF%e2%f1%5dGC%f7%88%a2q
D 2019-06-26 17:27:48,677 yowsup.common.http.warequest - sendRequest(host=v.whatsapp.net, port=443, path=/v2/code, headers={'User-Agent': 'WhatsApp/2.19.51 Android/8.0.0 Device/samsung-star2lte', 'Accept': 'text/json'}, params=[('ENC', b'N4Z2wm27HC2zoSeJdQ3z6kLT/KyTsfM4CgY7vbDWPhp2NePmQ7s5duZJbZ+0NEZReRPNmpJoOtBa+a6ngsOKoIDvbyILJIONeYhdPj+OBP110SPSb84EptOruWYwvc2zIk5WMN97ZPvsrMFyv+xfgAputOKrDpj4ggUOae+CRMIKzKOmFQilhOxEkCGQJJiXPe89K7TkaQYnvrrezFzr3ClLiH6KTyhxfsBoN/pQ7YESgJ9KyYhxXmnfDOOq68deRcKcFWQZeHwXO/nv/Um5FKqG/CEQThppPF2PgGqRNWSbvho+ET/CPaLLvTH5KyCReIYEpFFmvtiYPCKxfDG1DxP3Aojf+ng/6/7oIr8PBl4BzyhvgPpymKwbvLm7dm176HCE4hI1ACpu9hFK/wDXWA81Rtm5YL7g+6UwYWp/FwCCyEmCoeEmZwDMkrkoC+ENlykCN/yNRCKvuhpvJBPzMLT2bJYjagv9BQm5xEtQICwzJXQ3dPRLAZYuimiU/w5zI0H802V3KKUXFoPM/D6AUIE2zL/3Se+IMYDnkA2qGum+tOXbjX0aQT6x0i2/0hG8XX0M7wGLSwYrY33nrGyofGR6CBrVdFqW8HMw5mX92RYOHR8w0uc+a8uyjNRBIrYkcDMBGDdjQnGQ+ihaH1I8YH6aQHm3o/dddHsbZh2mSOgWIz03zmSbQCEQTX8Omh+9jkM7ls/UbQN7eZrnY/4pDgC/SPZfC6VdJdprojomQMSnW/OP8dB5rCPFuFK4tASwpHFN9m4x7uNknF2YmI/V/JN0eQFsUMZb2NatzJKGz8yM73NYVO0ItLjMoYtByvItkykkCsRQZd76ovi4Q6PqY0OY3TpACgDX2d+OaCHh3/rsDzY+OmVleQZUjqkP5SkvXvsXgBLEuLy/8c3zYMiiYaKoN5/bY7K+')], reqType=GET, preview=False)
D 2019-06-26 17:27:48,679 yowsup.common.http.warequest - Opening connection to v.whatsapp.net
D 2019-06-26 17:27:48,685 yowsup.common.http.warequest - Sending GET request to /v2/code?ENC=N4Z2wm27HC2zoSeJdQ3z6kLT%2fKyTsfM4CgY7vbDWPhp2NePmQ7s5duZJbZ%2b0NEZReRPNmpJoOtBa%2ba6ngsOKoIDvbyILJIONeYhdPj%2bOBP110SPSb84EptOruWYwvc2zIk5WMN97ZPvsrMFyv%2bxfgAputOKrDpj4ggUOae%2bCRMIKzKOmFQilhOxEkCGQJJiXPe89K7TkaQYnvrrezFzr3ClLiH6KTyhxfsBoN%2fpQ7YESgJ9KyYhxXmnfDOOq68deRcKcFWQZeHwXO%2fnv%2fUm5FKqG%2fCEQThppPF2PgGqRNWSbvho%2bET%2fCPaLLvTH5KyCReIYEpFFmvtiYPCKxfDG1DxP3Aojf%2bng%2f6%2f7oIr8PBl4BzyhvgPpymKwbvLm7dm176HCE4hI1ACpu9hFK%2fwDXWA81Rtm5YL7g%2b6UwYWp%2fFwCCyEmCoeEmZwDMkrkoC%2bENlykCN%2fyNRCKvuhpvJBPzMLT2bJYjagv9BQm5xEtQICwzJXQ3dPRLAZYuimiU%2fw5zI0H802V3KKUXFoPM%2fD6AUIE2zL%2f3Se%2bIMYDnkA2qGum%2btOXbjX0aQT6x0i2%2f0hG8XX0M7wGLSwYrY33nrGyofGR6CBrVdFqW8HMw5mX92RYOHR8w0uc%2ba8uyjNRBIrYkcDMBGDdjQnGQ%2bihaH1I8YH6aQHm3o%2fdddHsbZh2mSOgWIz03zmSbQCEQTX8Omh%2b9jkM7ls%2fUbQN7eZrnY%2f4pDgC%2fSPZfC6VdJdprojomQMSnW%2fOP8dB5rCPFuFK4tASwpHFN9m4x7uNknF2YmI%2fV%2fJN0eQFsUMZb2NatzJKGz8yM73NYVO0ItLjMoYtByvItkykkCsRQZd76ovi4Q6PqY0OY3TpACgDX2d%2bOaCHh3%2frsDzY%2bOmVleQZUjqkP5SkvXvsXgBLEuLy%2f8c3zYMiiYaKoN5%2fbY7K%2b
I 2019-06-26 17:27:49,051 yowsup.common.http.warequest - b'{"login":"79775066501","status":"sent","length":6,"method":"sms","retry_after":65,"sms_wait":65,"voice_wait":65}\n'
D 2019-06-26 17:27:49,053 yowsup.common.tools - writePhoneData(phone=79775066501, name=config.json, val=[omitted])
D 2019-06-26 17:27:49,054 yowsup.common.tools - Writing /home/alp/.config/yowsup/79775066501/config.json
status: b'sent'
length: 6
method: b'sms'
retry_after: 65
login: b'79775066501'
sms_wait: 65
voice_wait: 65

Registration

yowsup-cli registration --register 770432  --config-phone 79775066501 --config-cc 7 --debug
D 2019-06-26 17:29:28,611 yowsup.config.manager - Detecting config for username=79775066501, dir=/home/alp/.config/yowsup/79775066501/
D 2019-06-26 17:29:28,611 yowsup.config.manager - Trying /home/alp/.config/yowsup/79775066501/config.yo
D 2019-06-26 17:29:28,611 yowsup.config.manager - Trying /home/alp/.config/yowsup/79775066501/config.json
D 2019-06-26 17:29:28,611 yowsup.config.manager - load_path(path=/home/alp/.config/yowsup/79775066501/config.json)
D 2019-06-26 17:29:28,611 yowsup.config.manager - Detected config type: json
D 2019-06-26 17:29:28,611 yowsup.config.manager - Opening config for reading
D 2019-06-26 17:29:28,611 yowsup.config.manager - Loading config
yowsup-cli  v3.2.0
yowsup      v3.2.3

Copyright (c) 2012-2019 Tarek Galal
http://www.openwhatsapp.org

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://openwhatsapp.org/yowsup/donate

D 2019-06-26 17:29:28,685 yowsup.axolotl.factory - get_manager(username=79775066501)
D 2019-06-26 17:29:28,686 yowsup.axolotl.manager - Initialized AxolotlManager [username=79775066501, db=/home/alp/.config/yowsup/79775066501/axolotl.db]
D 2019-06-26 17:29:28,686 yowsup.axolotl.manager - load_latest_signed_prekey
D 2019-06-26 17:29:28,686 yowsup.common.http.warequest - send(parser=None, encrypt=True, preview=False)
D 2019-06-26 17:29:28,686 yowsup.common.http.warequest - sendGetRequest(parser=None, encrypt_params=True, preview=False)
D 2019-06-26 17:29:28,686 yowsup.common.http.warequest - Encrypting parameters
D 2019-06-26 17:29:28,687 yowsup.common.http.warequest - pre-encrypt (encoded) parameters =
cc=7&in=9775066501&lg=en&lc=GB&mistyped=6&authkey=bKyKADARlUG9E1%5fbVV%2dYQvR1AvHyTLyhADyZBPeCen4&e_regid=ESdv3w&e_keytype=BQ&e_ident=ZPzHIJh85rWo5OtZp1k5Gs3hhPwvE1ontOvopeqqeQw&e_skey_id=AAAA&e_skey_val=1C%2dr9Emycy9VQJzz44GBtq85jzLm7I600OPlNi4R52E&e_skey_sig=4tsgLFCzE%5f95FMntGv9fn6jwD6OmGe1d0hs5mxfpZ2HGy92iKglayKdstKAhss%2di7jq8bO5Fkm8%2dRoXJNP09hQ&fdid=016560cd%2db691%2d41c4%2dbbce%2d2f0745bcc9d4&expid=kxGrTocpT3O%5fkxm%5fFiF%5fAw&network_radio_type=1&simnum=1&hasinrc=1&pid=4432&rc=0&id=%5c%88%e6%af%13%0d%c2%dbJlF%e2%f1%5dGC%f7%88%a2q&code=770432
D 2019-06-26 17:29:28,688 yowsup.env.env - Env not set, setting it to android
D 2019-06-26 17:29:28,688 yowsup.env.env - Current env changed to android
D 2019-06-26 17:29:28,688 yowsup.common.http.warequest - sendRequest(host=v.whatsapp.net, port=443, path=/v2/register, headers={'User-Agent': 'WhatsApp/2.19.51 Android/8.0.0 Device/samsung-star2lte', 'Accept': 'text/json'}, params=[('ENC', b'XWTX5khPAeHnn7sAt9rB/98oafo7aIMpgmUbkI5TjXUjnLOo4m3t+n+Vj5j+t5S03Hk1oQJHtZSeVpZbBtVL8jK/+WYmeQF1JOrpP41s9NLW1/9OmpuBGYECcDyuluIi2CX0e+dckHSfFbVTQUG3mtonobCivIXP5C7S2H6oJzWqPDD/XpxwZl26g6bqflehi2yHdl7VN1/c7DCud2sP8Ymf+ETEgY+m20qCkt/ncp5XNy6pgmm2vsk/r5igPaByCVrY2XHZCl9qNWZdrDMwO6+l4P3RaHL3CFHahyXTXkKradw+f66GOQvF0/kmzwCbMYnJWSpVtcEqrmTv/5lAjlMyucoLQIHJCOavhp7OWzpxQ7igxv79tcePlhVnnS3ZcxYWyKnCyB31TqgoeQAf7Bi2Q6kb1FVc86hfxHvg8teNPficFwTotVz6miDNrVMNnnkgcujtI3lny8hpu+GNeVpFEddZS/UIHoWh1DBb7xJUzLFszSGTVu6dYFpcuY9z+nSBeO76iKeoHXT9+NUGERpYe8scMhlw9i7U5q9kqjah53vljxEmO6BG+cuA6xAEY94EpYBYdYjwdnGU0SGyIFMukkIyoo+H0gkuILWUkDAmDkcAY4+vSAc3gDfyJ0IHihE+NtV25T8sv9eHUaHPrIz9muChAwfi+ervkUfPY7JcC0gxZUIgUbjbWA05FzJtLmSySqeJ9BRkH5+vma3CNi/5t7jHBbJn6P8Ar4DBfzD7BYsKa0w0Zhp31ezbMAce+4B8g6mF2OfCTbTgL2ykigwwmXG5Rivfy+j0Xw==')], reqType=GET, preview=False)
D 2019-06-26 17:29:28,689 yowsup.common.http.warequest - Opening connection to v.whatsapp.net
D 2019-06-26 17:29:28,696 yowsup.common.http.warequest - Sending GET request to /v2/register?ENC=XWTX5khPAeHnn7sAt9rB%2f98oafo7aIMpgmUbkI5TjXUjnLOo4m3t%2bn%2bVj5j%2bt5S03Hk1oQJHtZSeVpZbBtVL8jK%2f%2bWYmeQF1JOrpP41s9NLW1%2f9OmpuBGYECcDyuluIi2CX0e%2bdckHSfFbVTQUG3mtonobCivIXP5C7S2H6oJzWqPDD%2fXpxwZl26g6bqflehi2yHdl7VN1%2fc7DCud2sP8Ymf%2bETEgY%2bm20qCkt%2fncp5XNy6pgmm2vsk%2fr5igPaByCVrY2XHZCl9qNWZdrDMwO6%2bl4P3RaHL3CFHahyXTXkKradw%2bf66GOQvF0%2fkmzwCbMYnJWSpVtcEqrmTv%2f5lAjlMyucoLQIHJCOavhp7OWzpxQ7igxv79tcePlhVnnS3ZcxYWyKnCyB31TqgoeQAf7Bi2Q6kb1FVc86hfxHvg8teNPficFwTotVz6miDNrVMNnnkgcujtI3lny8hpu%2bGNeVpFEddZS%2fUIHoWh1DBb7xJUzLFszSGTVu6dYFpcuY9z%2bnSBeO76iKeoHXT9%2bNUGERpYe8scMhlw9i7U5q9kqjah53vljxEmO6BG%2bcuA6xAEY94EpYBYdYjwdnGU0SGyIFMukkIyoo%2bH0gkuILWUkDAmDkcAY4%2bvSAc3gDfyJ0IHihE%2bNtV25T8sv9eHUaHPrIz9muChAwfi%2bervkUfPY7JcC0gxZUIgUbjbWA05FzJtLmSySqeJ9BRkH5%2bvma3CNi%2f5t7jHBbJn6P8Ar4DBfzD7BYsKa0w0Zhp31ezbMAce%2b4B8g6mF2OfCTbTgL2ykigwwmXG5Rivfy%2bj0Xw%3d%3d
I 2019-06-26 17:29:29,480 yowsup.common.http.warequest - b'{"login":"79775066501","status":"fail","reason":"temporarily_unavailable","retry_after":3600}\n'
>> Registration result {'status': 'fail', 'login': '79775066501', 'type': None, 'edge_routing_info': None, 'chat_dns_domainreason': None, 'retry_after': 3600}
status: b'fail'
login: b'79775066501'
retry_after: 3600
tgalal commented 5 years ago

it would also need masking same information like that present in config

nosuchip commented 5 years ago

Anyway, it is old sim card and I do not lose anything with disclosing its information.

nosuchip commented 5 years ago

Found a bit more. For each number first registration attempt cause {"login":"79775066501","status":"fail","reason":"temporarily_unavailable","retry_after":3600}. When trying to send registration request with same SMS code receive {"status":"fail","reason":"blocked","login":"$NUMBER"}. I am not sure whether it permanent or not.

modcastro commented 5 years ago

@nosuchip I try register a new number and receive the same.

root@whats-python1:/whatspython# yowsup-cli registration --requestcode sms --config-phone 55xxxxxx --config-cc 55 --config-mcc 724 --config-mnc 13 E 2019-06-26 15:51:50,109 config.manager - Could not find a config for profile=55xxxxx, paths checked: /root/.config/yowsup/55xxxx/config.json:/root/.config/yowsup/55xxxx/config.yo W 2019-06-26 15:51:50,156 yowsup.common.http.warequest - Passing Config to WARequest is deprecated, pass a YowProfile instead I 2019-06-26 15:51:50,605 yowsup.common.http.warequest - {"login":"55xxx","status":"sent","length":6,"method":"sms","retry_after":65,"sms_wait":65,"voice_wait":65}

status: sent voice_wait: 65 retry_after: 65 sms_wait: 65 length: 6 login: 55xxx method: sms L 708

root@whats:/whatspython# yowsup-cli registration --register 547xxx --config-phone 55xxx W 2019-06-26 15:56:28,207 yowsup.common.http.warequest - Passing Config to WARequest is deprecated, pass a YowProfile instead I 2019-06-26 15:56:29,067 yowsup.common.http.warequest - {"login":"55xxxx","status":"fail","reason":"temporarily_unavailable","retry_after":3600}

xxx status: fail retry_after: 3600 login: 55xxxx L 708

nosuchip commented 5 years ago

After number of tests with virtual an real phones I have only this:

tgalal commented 5 years ago

I confirm that temporarily_unavailable indicates you already became blocked (before even trying to register again). It looks like yowsup is being detected somehow, even when I updated android_env locally to a recent whatsapp version. Therefore I'd strongly recommend to stop attempting further registrations until I look further into this.

assegaf commented 5 years ago

hi, this is not a bug client side, bug more like AI that detect prefix phone number and ip address, and what it's prediction will be used based on previously registered in < 1 day, so its feature on whatsapp itself on server side which "brutely" predict future use based on those.

luckyTamme commented 5 years ago

hi, this is not a bug client side, bug more like AI that detect prefix phone number and ip address, and what it's prediction will be used based on previously registered in < 1 day, so its feature on whatsapp itself on server side which "brutely" predict future use based on those.

Nope, got banned in a fresh environment, fresh home IP from germany and a real, never before used german sim.

assegaf commented 5 years ago

dont use ip ISP from home internet or server/vps ip, or ip that shared between users, use ip from same Internet as the sim card (for registration sim) provider internet, its shared ip between many whatsapp user that use Sim card Data, so AI wont bann it.

luckyTamme commented 5 years ago

dont use ip ISP from home internet or server/vps ip, or ip that shared between users, use ip from same Internet as the sim card (for registration sim) provider internet, its shared ip between many whatsapp user that use Sim card Data, so AI wont bann it.

Also not right, most SIM cards don't even have mobile data. In my home as example I don't even have network access. I tried to register with the same IP with an emulator and it worked fine.

KvantVS commented 5 years ago

I just discover this project for me, so... for now there is no way to use it from start? Must wait until that issue is solved? I mean registration is necessary part for use? My task is just send 1 message from any of my existing real numbers

luckyTamme commented 5 years ago

I personally wouldn't risk my private number in any case. The chance of it getting permanently banned is too high. And yes, registration is necessary.

assegaf commented 5 years ago

well its simple actually, you can register using real whatsapp android official apps, then get its config file shared*/keystore.xml .. local password keystore is there, public and private. use it. before use it, try to do something normally with official whatsapp app, like human behaviour for 1 week,

richard-la commented 5 years ago

I just discovered this project and am very excited, I hope a work around is found!

KennyXV commented 5 years ago

Try changing from personal WhatsApp API to Business Whatsapp API registration, it will work :)

baxneo commented 5 years ago

you can register using real whatsapp android official apps, then get its config file shared*/keystore.xml .. local password keystore is there, public and private. use it.

I get keystore.xml, but i cannot get few field. Can you say how you get all config parameter, example fdid, expid ?