47 lines (26 with data), 1.8 kB
#summary Describes how Whatsapp checks if an account exists or not
=Accounts=
Without you knowing, you have an account on the Whatsapp servers. The username for this account is your phone number and the password is somewhat diffucult.
==Phone number==
When authencating to the Whatsapp servers you need a phone number and the country code. The country code will always be written without any symbols except the two numbers, for example for The Netherlands this would be: 31.
For example, if the full phone number would be +31611223344 then this could be written as:
*Country code: * 31
*Phone number: * 0611223344
Thus, replacing the country code with a 0 in the phone number results in the phone number used by Whatsapp.
==Password==
The way the password is generated differs per mobile operating system.
===iOS===
On iOS the password starts with the Wifi Mac Adress (en0). This can be found under Settings - > General -> About - > Wifi Adress. To create the password you should follow the following:
AdrressAdress -> md5
Which means that if my Wifi Adress would be 11:22:33:44:55:66 the steps would be as following:
11:22:33:44:55:6611:22:33:44:55:66 -> Md5
_Note: The MD5 hash must always be suplied in lowercase._
===Anything else beside iOS===
For all other mobile operating systems that Whatsapp supports the password can be generated as following:
IMEI -> reverse -> md5
The IMEI number can be found by dialing *#06#.
_Note: The MD5 hash must always be suplied in lowercase._
=Does this account exists?=
If you have all information described in this article you can check if a account exists:
http://r.whatsapp.net/v1/exist.php?cc=COUNTRY CODE&in=PHONE NUMBER WITHOUT COUNTRY CODE&udid=PASSWORD
The result of this HTTP request is some XML code indicating if your account is valid or not.