Skip to content

Commit

Permalink
Updated client details to 2.11.113
Browse files Browse the repository at this point in the history
  • Loading branch information
shirioko committed Nov 1, 2013
1 parent 647a73b commit 3170332
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/php/token.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function generateRequestToken($country, $phone) {
$noMediaHash = "AAGpM5zvDnFyrsmemfAETcw/kPWMRcCoW96rBU2pphtEOCWNVhSp8QX6";
$waPrefix = "Y29tLndoYXRzYXBw";
$signature = "MIIDMjCCAvCgAwIBAgIETCU2pDALBgcqhkjOOAQDBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFDASBgNVBAcTC1NhbnRhIENsYXJhMRYwFAYDVQQKEw1XaGF0c0FwcCBJbmMuMRQwEgYDVQQLEwtFbmdpbmVlcmluZzEUMBIGA1UEAxMLQnJpYW4gQWN0b24wHhcNMTAwNjI1MjMwNzE2WhcNNDQwMjE1MjMwNzE2WjB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEUMBIGA1UEBxMLU2FudGEgQ2xhcmExFjAUBgNVBAoTDVdoYXRzQXBwIEluYy4xFDASBgNVBAsTC0VuZ2luZWVyaW5nMRQwEgYDVQQDEwtCcmlhbiBBY3RvbjCCAbgwggEsBgcqhkjOOAQBMIIBHwKBgQD9f1OBHXUSKVLfSpwu7OTn9hG3UjzvRADDHj+AtlEmaUVdQCJR+1k9jVj6v8X1ujD2y5tVbNeBO4AdNG/yZmC3a5lQpaSfn+gEexAiwk+7qdf+t8Yb+DtX58aophUPBPuD9tPFHsMCNVQTWhaRMvZ1864rYdcq7/IiAxmd0UgBxwIVAJdgUI8VIwvMspK5gqLrhAvwWBz1AoGBAPfhoIXWmz3ey7yrXDa4V7l5lK+7+jrqgvlXTAs9B4JnUVlXjrrUWU/mcQcQgYC0SRZxI+hMKBYTt88JMozIpuE8FnqLVHyNKOCjrh4rs6Z1kW6jfwv6ITVi8ftiegEkO8yk8b6oUZCJqIPf4VrlnwaSi2ZegHtVJWQBTDv+z0kqA4GFAAKBgQDRGYtLgWh7zyRtQainJfCpiaUbzjJuhMgo4fVWZIvXHaSHBU1t5w//S0lDK2hiqkj8KpMWGywVov9eZxZy37V26dEqr/c2m5qZ0E+ynSu7sqUD7kGx/zeIcGT0H+KAVgkGNQCo5Uc0koLRWYHNtYoIvt5R3X6YZylbPftF/8ayWTALBgcqhkjOOAQDBQADLwAwLAIUAKYCp0d6z4QQdyN74JDfQ2WCyi8CFDUM4CaNB+ceVXdKtOrNTQcc0e+t";
$classesMd5 = "30CnAF22oY+2PUD5pcJGqw==";
$classesMd5 = "MOpsiNsR+nHEv0dFc3dqmA==";
$k = "PkTwKSZqUfAUyR0rPQ8hYJ0wNsQQ3dW1+3SCnyTXIfEAxxS75FwkDf47wNv/c8pP3p0GXKR6OOQmhyERwx74fw1RYSU10I4r1gyBVDbRJ40pidjM41G1I1oN";
$KEY = "The piano has been drinking";

Expand Down
4 changes: 2 additions & 2 deletions src/php/whatsprot.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class WhatsProt
const WHATSAPP_SERVER = 's.whatsapp.net'; // The hostname used to login/send messages.
const WHATSAPP_UPLOAD_HOST = 'https://mms.whatsapp.net/client/iphone/upload.php'; // The upload host.
const WHATSAPP_DEVICE = 'Android'; // The device name.
const WHATSAPP_VER = '2.11.69'; // The WhatsApp version.
const WHATSAPP_USER_AGENT = 'WhatsApp/2.11.69 Android/4.3 Device/GalaxyS3';// User agent used in request/registration code.
const WHATSAPP_VER = '2.11.113'; // The WhatsApp version.
const WHATSAPP_USER_AGENT = 'WhatsApp/2.11.113 Android/4.3 Device/GalaxyS3';// User agent used in request/registration code.

/**
* Property declarations.
Expand Down

9 comments on commit 3170332

@KSas
Copy link
Contributor

@KSas KSas commented on 3170332 Nov 12, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this codeRequest() return bad_token :/

@shirioko
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works fine for me, which number are you trying to register?
You can try my program WART if this doesn't work for you

@KSas
Copy link
Contributor

@KSas KSas commented on 3170332 Nov 12, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can i use MissVenom also? :))

I come from germany and try to register an germany mobilenumber, here the request ...

PHP Warning: file_get_contents(magic.dat): failed to open stream: No such file or directory in /var/www/vhosts/token.php on line 32
Array
(
[cc] => 49
[in] => 1766434xxxx
[to] => 491766434xxxx
[lg] => de
[lc] => DE
[method] => sms
[mcc] => 262
[mnc] => 001
[token] => %2FJjXn0YjT3YqYdiQgG8LcY53SVc%3D
[id] => %da9%a3%ee%5ekk%0d2u%bf%ef%95%60%18%90%af%d8%07%09
)
stdClass Object
(
[status] => fail
[reason] => bad_token
)

@shirioko
Copy link
Contributor Author

@shirioko shirioko commented on 3170332 Nov 12, 2013 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KSas
Copy link
Contributor

@KSas KSas commented on 3170332 Nov 12, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, WART is a great program, it works fine 👍

@KSas
Copy link
Contributor

@KSas KSas commented on 3170332 Nov 12, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry when i write here but can you tell me how I can make the emoji's visibility? I always get an 

@shirioko
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Emoji are just Unicode characters, that's why they show up as unknown characters. You need to replace them with images.

@KSas
Copy link
Contributor

@KSas KSas commented on 3170332 Nov 12, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And how do I get this "0038_20E3" ? Do I have to escaping the string with htmlentities?

@shirioko
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you stop overusing punctuation like this?!?!?!?! It hurts my brain :)

You can replace it using regex. Take a look here:
https://github.com/venomous0x/WhatsAPI/blob/master/src/php/whatsapp.php#L1239

Please sign in to comment.