ujwalsoni
|
2012-02-03
, 17:15
|
Posts: 60 |
Thanked: 78 times |
Joined on Dec 2009
|
#51
|
|
2012-02-03
, 17:51
|
Posts: 260 |
Thanked: 86 times |
Joined on Jan 2012
|
#52
|
|
2012-02-03
, 20:48
|
Posts: 24 |
Thanked: 40 times |
Joined on Feb 2012
@ Germany
|
#53
|
international area code without the 0's or + in the beginning + phone number without the first 0 + @s.whatsapp.net
WhatsApp/2.1.0 S40Version/04.60 Device/nokiac3-00
https://r.whatsapp.net/v1/code.php?cc=49&in=17612345&to=4917612345&lc=DE&lg=de&mcc=000&mnc=000&imsi=00000000000000&method=sms
<code><response status="sucess-sent" result="30"></code>
WhatsApp code abc
https://r.whatsapp.net/v1/register.php?cc=49&in=17612345&udid=asdf&code=abc
<register> <response status="ok" login="4917612345" result="new" /> </register>
https://r.whatsapp.net/v1/exist.php?cc=49&in=17612345&udid=asdf
<exist><response status="ok" result="4917612345" /></exist>
socket://bin-short.whatsapp.net:5222
out.streamStart(connection.domain, connection.resource); System.err.println("sent stream start"); sendFeatures(); System.err.println("sent features"); sendAuth(); System.err.println("sent auth"); in.streamStart(); System.err.println("read stream start"); String challengeData = readFeaturesAndChallenge(); System.err.println("read features and challenge"); sendResponse(challengeData); System.err.println("sent response"); readSuccess();
send1(); send2DigestMD5Mechanism(); read1(); String challenge = read2Challenge(); send2SASLResponse(challenge); send2UselessResponse(); read2Challenge(); read2(); send3(); read3(); send4(); send5();
The Following 26 Users Say Thank You to ColaCheater For This Useful Post: | ||
|
2012-02-04
, 00:33
|
Posts: 49 |
Thanked: 9 times |
Joined on Oct 2010
@ Borneo
|
#54
|
The Password is set during the registration process but usually it is an transformation of the IMEI of your phone (in case you don't want to stand out you should also do it like this). I must admit I don't exactly know how this transormation works but I have the code that does it.
I just wrapped it _very dirty_ in a standalone Java program to test it. source: http://pastebin.com/npbwcj1s
I really don't know what it exactly does and didn't look deeper into it but it isn't a "real" md5 I think... (Maybe someone who knows how to create an MD5 in Java can look at it what is different except the reverse of the imei?)
|
2012-02-04
, 09:09
|
Posts: 229 |
Thanked: 77 times |
Joined on Aug 2009
@ Los Angeles
|
#55
|
Android, Windows Phone, Blackberry, Symbian and Nokia S40 users can use the app 1 year for free, whereafter they have to pay US$1.99 (or local equivalent) per year. iPhone users can buy the app for a one-off fee of US$0.99 (or local equivalent) although the app is occasionally free for limited periods
|
2012-02-04
, 09:13
|
Posts: 262 |
Thanked: 206 times |
Joined on May 2010
|
#56
|
Does it necessary to generate password using IMEI? I think we can just select a random password, can't we? I have tried using "007" as udid and the registration seems okay. As long as we save that password in the software or remember it in our brain, it would be okay, right? This password probably used by Whatsapp server mainly to identify our cell phone. By assigning a predefined password, maybe we can switch our whatsapp to another machine without reregistration. Does it sounds cool?
|
2012-02-04
, 09:20
|
Posts: 262 |
Thanked: 206 times |
Joined on May 2010
|
#57
|
....
But nevertheless the URL I found to where it tries to connect is:
....Code:socket://bin-short.whatsapp.net:5222
|
2012-02-04
, 09:25
|
Posts: 262 |
Thanked: 206 times |
Joined on May 2010
|
#58
|
|
2012-02-04
, 10:24
|
Posts: 24 |
Thanked: 40 times |
Joined on Feb 2012
@ Germany
|
#59
|
Does it necessary to generate password using IMEI? I think we can just select a random password, can't we? I have tried using "007" as udid and the registration seems okay. As long as we save that password in the software or remember it in our brain, it would be okay, right? This password probably used by Whatsapp server mainly to identify our cell phone. By assigning a predefined password, maybe we can switch our whatsapp to another machine without reregistration. Does it sounds cool?
i know a guy "Eion Robb" the creator of MSN and facebook chat plugin for libpurple , he once offered to build the plugin . i gave him link to this page so probably he is the man who will build the plugin for maemo community
The Following User Says Thank You to ColaCheater For This Useful Post: | ||
|
2012-02-04
, 10:28
|
Posts: 262 |
Thanked: 206 times |
Joined on May 2010
|
#60
|
Yeah, as said you can choose any password during the registration.
The Problem just is that if you are using a password that is different from the default passwords you may can get caught for using a "non-official Program".
I don't know how whatsapp saves the passwords but if they save them in plain-text (what they shouldn't do) they can delete/block your account even when you already did register.
Because the password just seemes to be an md5 hash and has the length of one you may can just use any pw, get the md5-hash of it and register with this md5.
In this case you shouldn't stand out during registration but still having an easy to remember password. Making an md5 of it an pw isn't that hard
Too bad that you don't have time to work on it at the moment
It would be great to have an expert for libpurple-plugins to work with. If he would do the coding-part maybe I could try to interpret the source code further giving him the information how to connect etc.?
I don't want to promise anything but so far the code I have looks like it would be doable for me to look for sending/recieving messages etc. and if Eion knows how "standard" XAMPP works (I think facebook uses mostly default XAMPP?!) we may can get a working version. At least sending/recieving messages.
If there is a guy who is good at qt programming (or whatever N900 Applications need to be programmed with) maybe we could do like an App for register an Account and, depending on how WhatsApp finds other WhatsApp-User, the searching for other WhatsApp users in the contacts and then as "main" part an libpurple plugin which does the chatting?!
The biggest problem at the moment which I forgot to mention in my fist post is, that Accounts registered the way I explained don't get found via the "default" WhatsApp App at the Moment :S
But I didn't find any more code related to registration up to now so maybe you just had to log-in once or to be logged in to get found