venomous0x / WhatsAPI

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

Blocking Channels ( not Duplicated ) #428

Closed TruthEdge closed 9 years ago

TruthEdge commented 10 years ago

Hello,

I'm not opening this post to have duplicate i already follow up and read all other posts .

here is what we tried so far which we already burned over 1,500 Numbers .

1- ( 1 ) message per hour ( blocked ) 2- ( 5 messages / hour ) - ( 5 contacts only ) 3- pull inbox before sending 4- contacts sync before sending 5- filter if there is no last seen cancel the sending operation 6- purchased new phones to make original requests to whatsapp after that we register them normally , ( registration don't have any issue as if we have any number we registered but we didn't send any transmission from it will stay active ) 7- test if it is related to number of contacts you are sending to them tried fail also . 8- tried crons jobs

and more

We are using only php API all this changes has been made tested on our channels get us block each time on different ( transmissions amount ) some was able to get 24 some 128 some 5 .

I had enough with this and i need to stop getting blocked from whatsapp , i have active clients who sends daily and this is really killing me i'm loosing channels all the day now the providers start questioning me .

I'm here to offer developer who are able to work on PHP API sets of Channels to do tests on them .

please put your skype usernames and i will add you .

Regards

brittson commented 10 years ago

We don't help spamming On Jul 24, 2013 11:19 AM, "TruthEdge" notifications@github.com wrote:

Hello,

I'm not opening this post to have duplicate i already follow up and read all other posts .

here is what we tried so far which we already burned over 1,500 Numbers .

1- ( 1 ) message per hour ( blocked ) 2- ( 5 messages / hour ) - ( 5 contacts only ) 3- pull inbox before sending 4- contacts sync before sending 5- filter if there is no last seen cancel the sending operation 6- purchased new phones to make original requests to whatsapp after that we register them normally , ( registration don't have any issue as if we have any number we registered but we didn't send any transmission from it will stay active ) 7- test if it is related to number of contacts you are sending to them tried fail also . 8- tried crons jobs

and more

We are using only php API all this changes has been made tested on our channels get us block each time on different ( transmissions amount ) some was able to get 24 some 128 some 5 .

I had enough with this and i need to stop getting blocked from whatsapp , i have active clients who sends daily and this is really killing me i'm loosing channels all the day now the providers start questioning me .

I'm here to offer developer who are able to work on PHP API sets of Channels to do tests on them .

please put your skype usernames and i will add you .

Regards

— Reply to this email directly or view it on GitHubhttps://github.com/venomous0x/WhatsAPI/issues/428 .

TruthEdge commented 10 years ago

I'm not spamming Those numbers we have are for active clients and we use them to sent offers, notifications , renewal of service ... etc.

The API is connected with some of our software we are using it to minimize SMS costs .

shirioko commented 10 years ago

Email is far more cost effective and works right out of the box. That's why 99.9% of companies use it.

TruthEdge commented 10 years ago

Yes we use Email + SMS But we recently integrated whatsapp also and it was going great until recent changes from whatsapp servers .

we do SMS verifications for payments also.

Anyway, i've been into all the topics and i'd like to help solving this issue my team has already tried allot of things but nothing really worked as they eventually get blocked by whatsapp servers even if 1-2 transmissions are out .

I'd like to help you guys and provide the developer with some test channels as i notice that mostly all the developers are facing issue regarding to get new channels and some don't want to pay for it .

you for example, have a great background in this and i'm happy to support you with test lines to figure a solution and make it public .

Regards

raytkl commented 10 years ago

My channels are also locked for several hundred amount.. Have anyone tried to change ip every 5-10 message sending and randomly sleep to prevent from timer killing and switching channel evey 5 message sent using huge amount of channel for sending and unique IMEI for each channel....I am also using whatsapp for notification for my client...it fail for whatsapp sending...it always blocked.. Does anyone know whatsapp blocking logic???

raytkl commented 10 years ago

TruthEdge, could you post some reference code? I want to help to do perfect antiblocking system....I think we must solve it....

raytkl commented 10 years ago

Any more random behaviour like a human behaviour. eg ...random sleep time, changing ip, unique IMEI,switching channel logic.

TruthEdge commented 10 years ago

Guys i tried also

I can work with any of you guys to find a solution i have a completely ready custom made API we did it and i have channels if anybody want to get into it please add me on Skype Khaled.Mohaissen

And the solution shall be made for public if we found it .

Regards

TruthEdge commented 10 years ago

Also new tests has been made

new channel => send out 1 single message at 11:17 PM => at 11:55 channel was blocked .

we have tried all logic to send to whatsapp but all lead to block

what I believe is

During the sending of message whatsapp server send something hidden and expect a reply from it's official client , you know whatsapp lunched 2 updates this week to there clients, we need to sniff an original client to get the exact TX/RX from it and verify it with what we have so far .

Regards

TruthEdge commented 10 years ago

New Update

I have been monitoring and sniffing my iPhone

This is what i've been to

When you open whatsapp ( it make send/receive ) and get 2 packets If you open a message it get you 1 Packet

Now what is important is when it comes to send message out

I have 3 packets 1st packet 161589 50.22.231.50-static.reverse.softlayer.com MY IP HIDDEN SSL 93 https 61787 Continuation Data 2nd packet 167773 50.22.231.50-static.reverse.softlayer.com MY IP HIDDEN SSL 151 https 61787 Continuation Data 3rd packet 167780 50.22.231.50-static.reverse.softlayer.com MY IP HIDDEN TCP 66 https 61787 https > 61787 [ACK] Seq=3229 Ack=2665 Win=514 Len=0 TSval=4221687426 TSecr=916440720 If lets say 1st Packet for opening channel / 2nd for sending message , than why is there 3rd packet ?

And also 1st and 2nd packet are came from SSL port to 61787 while the 3rd message are over TCP port and same port

Also, if i kept my whatsapp running i got strange thing i got this packet using SSLv2 Port

170046 50.22.231.50-static.reverse.softlayer.com MY IP HIDDEN SSLv2 1410 https 61787 Encrypted Data, Encrypted Data

After this packet is sent the SSLv2 there is no more SSL ports , but still each sending message take 3 packets but now it's over TCP ports

Guys, all what we need is to successfully decode those packets It seems that whatsapp is using a pre-authorization even before sending message , if we can only get what is send and what should be received i can let my team do it in PHP in no time.

Regards

Ahmed-abdalla85 commented 10 years ago

thank you TruthEdge for your efforts i want to mention that i have old numbers registered from more than 4 monthes yesterday i sent about 20000 message from them to a different numbers and until now they are working

i registered new us numbers they get blocked as soon as i sent few messages from them

FAlbanni commented 10 years ago

rage

Anyway, as i see you have three options here

First Option (EASY, cheap, perfect for you, very durable)

Make/Buy an app to program a bot The bot will be like a robot pressing keys, up down enter etc press contact, write message, send, exit, wait, press next contact... should work perfectly

Second Option (hard, not durable, probably end up blocked/banned):

Use some tool like wireshark to sniff your conn <-> whatsapp server Then do the same with your PHP program or whatever you have

Use a custom SSL cert

Find the differences, fix them. Make the program behave EXACTLY as the phone.

Third Option (EXTREMELY HARD but smart and very durable):

Reverse engineer whatsapp (be aware ! the code is heavily obfuscated) add an option to bulk send messages


As a side note if you are really interested i can recommend you a guy who is an expert at reverse engineering, but is not cheap, be prepared to spend $$$

TruthEdge commented 10 years ago

rage

Regarding to making a program, yes i'm already searching for somebody who is able to do a windows based application to run exactly as original app.

And i'm already using wireshark, that is how i got to sniff the current iPhone application .

Do you know anybody for third option :D

TruthEdge commented 10 years ago

pythman, so is it a matter of existing numbers, i don't think so .. i can get an 1 year line and test it , i'll test it today and get back to you .

shirioko commented 10 years ago

It's not a matter of existing numbers. My dev number was registered a year ago and was randomly blocked last week. My second number however was registered a few weeks ago and is still functioning.

Also there's no need to reverse engineer anything, the whole WhatsApp protocol is contained in a single managed DLL file which you can reference and call in .NET

And try to act like fucking grown ups

EDIT @FAlbanni reverse engineering the app and protocol is also against their EULA, never heard anyone mention it so far though.

TruthEdge commented 10 years ago

shirioko, lol. Yea, i agree , we are all here trying to find a way to solve the blocking thing from whatsapp.

for the moment I have tried almost everything logic comes to my mind but still getting channels blocked after sometime, there is something we are missing and it's in the packets .

I was able to sniff whatsapp on iPhone today, but i really didn't understand the packet system how's it's working if there is somebody who can understand it i'm even ready to pay him for a solution.

Regards

Ahmed-abdalla85 commented 10 years ago

no they are all existing numbers i filtered them before i start sending by this link v.whatsapp.net/v2/exist

TruthEdge commented 10 years ago

pythman, you mean you are sending to existing contact with whatsapp. well, it's not the issue , because i sent manually to my 5 test numbers ( 3 ) times and after couple hours channel get blocked .

So that isn't the issue i even replied and check the inbox in my API to receive the msg's .

shirioko commented 10 years ago

I'll add sendClientConfig to WhatsAPI, see if that helps

Ahmed-abdalla85 commented 10 years ago

i wonder why these numbers precisely not blocked until now although i sent huge messages from them yesterday

and another numbers sent few messages get blocked immediately

TruthEdge commented 10 years ago

shirioko, I tried it on my PHP app.

I made it to cancel send message if number don't have last seen and if last seen is more than 48 hours .

But still getting blocked, I'm not using your app i'm using PHP .

Regards

shirioko commented 10 years ago

Isn't this PHP?

TruthEdge commented 10 years ago

I guess i didn't explain well.

I'll send you my whatsapp class i made via mail.

FAlbanni commented 10 years ago

TruthEdge, this guy can reverse engineer and alter the whatsapp client to bulk send a message or do virtually whatever you want

Yes, is against whatsapp EULA, beware

TruthEdge commented 10 years ago

FA, Dear regarding to the EULA, I know it's illegal i have been there, But 1) I'm not in a country which accept any USA TOS/EULA 2) I'm not going to spam whatsapp servers as i made my script to send 1 message / per 1 minute, I'm not looking to overload there servers or any kind of that i just have already active clients for this service and i can't cancel it . 3)Whatsapp said it won't allow spam , and the numbers i'm sending to are not spam they are registered in our softwares .

ruriimasu commented 10 years ago

Is it possible to write a script for mobile phone that calls up original whatsapp mobile client and sends out same message by cycling through the whole address book?

shirioko commented 10 years ago

No. That's spamming.

assegaf commented 10 years ago

I think the same lot message is considered a spam,

shirioko commented 10 years ago

And I'm pretty sure there's a confirmation box for sharing content with a WhatsApp contact (assuming you're using their URI schema), so you can't do it programatically

assegaf commented 10 years ago

I am curious with falbanny said is that even possible make robot to do something in android emulator.

Well not phisical robot but software.

sent using android mobiles

shirioko commented 10 years ago

Sure let me just rename the repository to WhatsAppHackerBot since you all forgot that this is the issue tracker for a PHP WhatsApp API project

assegaf commented 10 years ago

Good News, I tried robot things to check if block using official is Exist, and It do Exist : this is the screenshot

screen shot 2013-07-29 at 10 49 43 pm

on whatsapi, we have the auth-fail, it say to verify, but on verify samething, your number is not allowed to use this service blah2 ..

I will say this, "whatsapp, you damn good system!"

hermanho commented 10 years ago

http://www.skypost.hk/%E6%B8%AF%E8%81%9E/%E8%A6%81%E8%81%9E/20130730/001/35%E5%88%86%E9%90%98%E6%8E%A0%E5%8F%961.2%E8%90%AC%E5%80%8B%E4%BA%BA%E7%A7%81%E9%9A%B1/103856

translate by Google:

http://translate.google.com/translate?hl=zh-TW&sl=zh-CN&tl=en&u=http%3A%2F%2Fwww.skypost.hk%2F%E6%B8%AF%E8%81%9E%2F%E8%A6%81%E8%81%9E%2F20130730%2F001%2F35%E5%88%86%E9%90%98%E6%8E%A0%E5%8F%961.2%E8%90%AC%E5%80%8B%E4%BA%BA%E7%A7%81%E9%9A%B1%2F103856

This person also do the same thing but he reported to Whatsapp......

TruthEdge commented 10 years ago

@assegaf Thanks for sharing this information, that is the same what i thought when i saw 3 transmission when sending 1 message .

Now the trick is to decode what whatsapp is sending and what is expected to be sent back so it will be added in the API and fool whatsapp system .

I'm not good in that, we need somebody to decode it :(

shirioko commented 10 years ago

Updated readme.md

balunadella commented 10 years ago

HI

Iam New to whats app api ,

I want to know about when chanel get blocked and .

how can we recognise blocked chanels ?

Any body help . .!

shirioko commented 10 years ago

You get blocked by sending large quantities of messages in a short period of time. You will receive a

<failure>
    <blocked></blocked>
</failure>

node when your channel has been blocked by WhatsApp.

Having you post the same message in two different threads sounds like your channels won't last very long

balunadella commented 10 years ago

@shirioko

Hi Shirako ,

Thanks for your prompt reply .

can you please give me any latest version url or working example files . .

iam using v3 . . when i try to use waitforresponse() . it is taking long time it is rotating continously . .

balunadella commented 10 years ago

@shirioko

Could you please tell me how to send request for get channel status . . .

i want to know which channel is working and which channel is not working . . every day . .

arielbrizi commented 10 years ago

anyone knows which is the maximum daily message? there must be a pattern

other questions? How long block me?

thanks!!!