venomous0x / WhatsAPI

Interface to WhatsApp Messenger
2.59k stars 2.14k forks source link

https://sro.whatsapp.net/client/iphone/iq.php not found[solution found] #244

Closed atans closed 11 years ago

atans commented 11 years ago

https://sro.whatsapp.net/client/iphone/iq.php?cd=1&cc=01&me=123456&u[0]=123456789

Not Found
The requested URL /client/iphone/iq.php?cd=1&cc=01&me=123456&u%5B0%5D=123456789 was not found on this server.

Yaws 1.94 Server at sro.whatsapp.net 

Has Any solution for this update?

I found a solution from https://github.com/tgalal/yowsup/ See https://github.com/tgalal/yowsup/blob/master/src/Yowsup/Contacts/contacts.py

brittson commented 11 years ago

what is this?

atans commented 11 years ago

@adasmalakar The url is check number exists in WhatsApp or not

brittson commented 11 years ago

yes this is not working anymore :( is there any solution available ?

kingk110 commented 11 years ago

did any one find a solution

muslimsg commented 11 years ago

any solution found?

lahmacuns commented 11 years ago

It does not work here either since yesterday. Anyone found a solution?

shirioko commented 11 years ago

The password is generated by whatsapp servers and sent to you when you register. There is no way to forge a password at the moment (and probably not in the near future). This is a very logical step since using static data like your phone number and imei as credentials is a giant security flaw. The least logical thing here is why it took them this long to fix it. You can try using your password hash (the password you received using yowsup)

md5(base64_decode($password));
atans commented 11 years ago

I found a solution from Yowsup See https://github.com/tgalal/yowsup/blob/master/src/Yowsup/Contacts/contacts.py

jandrito80 commented 11 years ago

Sorry, how this can be done in php? I do not understand python

muslimsg commented 11 years ago

guys need a solution for PHP. kindly help

shirioko commented 11 years ago

Ffs you don't need to understand python. Just download and run it. It will return a password and you can use that to continue playing around in php. I don't think anyone will waste their time trying to reinvent the wheel because you're too lazy to run a script. And the password is not language specific. I'm using mine in both php and c# and it works just fine.

tommart commented 11 years ago

I have the same issues regarding sending messages after the login procedure changed, but I do not have a server to run the python script on, is there any tips on getting the pssword from whatsapp for a iphone or andoid whitout creating a google voice account and then run the python ?

shirioko commented 11 years ago

Install python on your own machine, it runs on Windows as well. You don't need a server to run it.

tommart commented 11 years ago

ok, thanks for the info. Is it possible to get the password for an excisting whatsapp account, ore do I need to create a new account thru google voice?

shirioko commented 11 years ago

You can request a new password for an existing account. Just keep in mind that you'll need to input an SMS verification code and that the old password will be invalidated, so the phone won't be able to send or receive messages until you re-register your phone, at which point your yowsup password will be invalidated and so on.

Also, inb4 other questions about running yowsup, this is a whole different project written in PHP so any questions or problems regarding yowsup should not be posted here.

muslimsg commented 11 years ago

whats alternative or solution for this link

https://sro.whatsapp.net/client/iphone/iq.php?cd=1&cc=01&me=123456&u[0]=123456789 ?

how to check if someone using whatsapp or not using php ?

tommart commented 11 years ago

Thanks shirioko for your respons. I will test and se if I can get whatsapp to work again, are using it in a online ordering system for a cab company :-)

jandrito80 commented 11 years ago

txs @shirioko. I have valid password (by yowsup) but i want run contacts.py in php. That is to say, to know if a phone number has whatsapp as is done with "https://sro.whatsapp.net/client/iphone/iq.php" but in PHP (using valid password returned by yowsup). I send and received messages by php, and i want to know if a phone number has whatsapp before to send message. Sorry for my english, can you understand me?

shirioko commented 11 years ago

Yes I understand, and the issue and solution are described here: https://github.com/tgalal/yowsup/issues/49 I'll take a look at it when I get home, I don't have my whatsapp password right now

alejandro-amo commented 11 years ago

Y use php in a web that uses yowsup, and Its no matter to me executing a program and parsing the standard output,,,

lahmacuns commented 11 years ago

is there any whatsapp user scanning limit? would it be block the account if we scan a thousand of numbers?

there is nobody can make of its php version?

alejandro-amo commented 11 years ago

man, I have exactly the same question, but, instead asking, I will test the answer. why dont you do th same? this modification is less than 24 h old... we DO NOT have all the answers yet! please, collaborate finding out...

shirioko commented 11 years ago

As I recall there was a limit of 80 users per request On Jan 10, 2013 2:35 PM, "lahmacuns" notifications@github.com wrote:

is there any whatsapp user scanning limit? would it be block the account if we scan a thousand of numbers?

there is nobody can make of its php version?

— Reply to this email directly or view it on GitHubhttps://github.com/venomous0x/WhatsAPI/issues/244#issuecomment-12096758.

jonnywilliamson commented 11 years ago

Assuming most of you are spammers, this is loads of fun watching your business model collapse in front of your eyes. Woohoo!

brittson commented 11 years ago

@jonnywilliamson :+1:

alejandro-amo commented 11 years ago

@jonnywilliamson too risky assumption; maybe you will be right with a fraction of the raeders... who knows... but anyways, not "must of you", as you unfoundedly assert ;)

lahmacuns commented 11 years ago

@alist3r how many scans you've made? any ban caused? within the old system we were able to make unlimited scans.

alejandro-amo commented 11 years ago

I comment my work in tarek galal's repo, since i use yowsup ;)

kingk110 commented 11 years ago

@shirioko : you mentioned : " I'm using mine in both php and c# and it works just fine." can you help me and tell how you made it work in c# because I tried a lot and no result!!

shirioko commented 11 years ago

@kingk110 Just like I said in the WhatsApiNet issue, get a password from yowsup and modify the encryptPassword() method. Then use your password instead of your IMEI

oh and also change the version to 2.8.7 as mentioned in of of the issues here

kingk110 commented 11 years ago

I had already tried it man and you mentioned this change in the whatsapinet : public Byte[] encryptPassword() { return Convert.FromBase64String(this.imei); }

and the encrypt password in the mentioned file is public string I tried your change and tried also to return the decoded value as a string using these 2 lines : public string encryptPassword() { //if (this.imei.Contains(":")) //{ // this.imei = this.imei.ToUpper(); // return md5(this.imei + this.imei); //} //else //{ // return md5(new string(this.imei.Reverse().ToArray())); //} byte[] encodedDataAsBytes = System.Convert.FromBase64String(this.imei); return System.Text.Encoding.Default.GetString(encodedDataAsBytes); } I left the comments to show you that I am going right But getting wrong password and even if I remove the WhatsRegister.ExistsAndDelete(countrycode, phonenumber, imei) and try to send message I got not authorized

Thanks for your help @shirioko

shirioko commented 11 years ago

The method should return a byte array and not a string, otherwise it will be encoded and mess up your hash:

public Byte[] encryptPassword()
{
    return System.Convert.FromBase64String(this.imei);
}

Edit: I checked the issue https://github.com/perezdidac/WhatsAPINet/issues/24 and the code I posted did return a byte array, I was starting to think I was being sloppy :')

No more questions regarding WhatsApiNet or yowsup in this project

bjdudu commented 11 years ago

It seems that the new solution need authentication using your username and password, and it should have a request number limit. That is, someone cannot scan huge amount of phone numbers which installed whatsapp now.

alejandro-amo commented 11 years ago

I repeat my experience: stress test did not revealed mass harvesting throtling

abbas224252 commented 11 years ago

How to register new number for sending whatsapp msg

abbas224252 commented 11 years ago

In python i get this error . Please check attach file python

alejandro-amo commented 11 years ago

probably the file named "config" has some garbage on it, or bad values for phone numer etc, but you have make a mistake showing us the file name config.example instead, so we cannot help you

anyway, this is not the correct place to ask for yowsup support, dude. see 4 posts up, its written with very big sized font...

abbas224252 commented 11 years ago

but i am using config not config.example

abbas224252 commented 11 years ago

thank for replaying

alejandro-amo commented 11 years ago

oh, I see, I just have been mislead because you have the two files open in your editor. my fault. in order not to annoy the people at whatsapi project, go to tarek galal's repo and open a new suport request there, we will troubleshoot there. http://github.com/tgalal/yowsup

abbas224252 commented 11 years ago

https://v.whatsapp.net/v2/exist?in=5******&cc=** this url is to check block number

alejandro-amo commented 11 years ago

if you try to communicate directy with this url, neither whatsapi nor yowsup people could provide you much support! if you try to use whatsappi to check if a number exists, please use the correct programming interfaces provided by the api and in case of error, ask here again. if you try to use yowsup to check if a number exists, please use the correct programming interfaces provided by the api and in case of error, move on to tarek's repo here: http://github.com/tgalal/yowsup

and please, don't mix up support requests together! in a few posts you talked about registering, checking, using yowsup, communicating directly with the whatsapp server... we try to stay organized in order to be helpful and avoid messing up information :)

abbas224252 commented 11 years ago

Sorry