Commit 74c3a145e2be6f947681f61b94425a7f310c9513

Authored by OpenWapp Developer
1 parent d6e799bcc7

Updated to new kms version

Showing 2 changed files with 5 additions and 4 deletions

src/common/config.js View file @ 74c3a14
... ... @@ -9,10 +9,11 @@
9 9 groupDomain: 'g.us',
10 10  
11 11 tokenData: {
12   - "v": "2.11.151",
  12 +
  13 + "v": "2.11.339",
13 14 // should be tokenData[d] + - + tokenData[v] + - + port
14   - "r": "Android-2.11.151-5222",
15   - "u": "WhatsApp/2.11.151 Android/4.2.1 Device/GalaxyS3",
  15 + "r": "Android-2.11.339-5222",
  16 + "u": "WhatsApp/2.11.339 Android/4.0.4 Device/GalaxyS3",
16 17 "t": "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1377032097395{phone}",
17 18 "d": "Android"
18 19 },
src/http/registration.js View file @ 74c3a14
... ... @@ -5,7 +5,7 @@
5 5 var signature = atob(
6 6 'MIIDMjCCAvCgAwIBAgIETCU2pDALBgcqhkjOOAQDBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFDASBgNVBAcTC1NhbnRhIENsYXJhMRYwFAYDVQQKEw1XaGF0c0FwcCBJbmMuMRQwEgYDVQQLEwtFbmdpbmVlcmluZzEUMBIGA1UEAxMLQnJpYW4gQWN0b24wHhcNMTAwNjI1MjMwNzE2WhcNNDQwMjE1MjMwNzE2WjB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEUMBIGA1UEBxMLU2FudGEgQ2xhcmExFjAUBgNVBAoTDVdoYXRzQXBwIEluYy4xFDASBgNVBAsTC0VuZ2luZWVyaW5nMRQwEgYDVQQDEwtCcmlhbiBBY3RvbjCCAbgwggEsBgcqhkjOOAQBMIIBHwKBgQD9f1OBHXUSKVLfSpwu7OTn9hG3UjzvRADDHj+AtlEmaUVdQCJR+1k9jVj6v8X1ujD2y5tVbNeBO4AdNG/yZmC3a5lQpaSfn+gEexAiwk+7qdf+t8Yb+DtX58aophUPBPuD9tPFHsMCNVQTWhaRMvZ1864rYdcq7/IiAxmd0UgBxwIVAJdgUI8VIwvMspK5gqLrhAvwWBz1AoGBAPfhoIXWmz3ey7yrXDa4V7l5lK+7+jrqgvlXTAs9B4JnUVlXjrrUWU/mcQcQgYC0SRZxI+hMKBYTt88JMozIpuE8FnqLVHyNKOCjrh4rs6Z1kW6jfwv6ITVi8ftiegEkO8yk8b6oUZCJqIPf4VrlnwaSi2ZegHtVJWQBTDv+z0kqA4GFAAKBgQDRGYtLgWh7zyRtQainJfCpiaUbzjJuhMgo4fVWZIvXHaSHBU1t5w//S0lDK2hiqkj8KpMWGywVov9eZxZy37V26dEqr/c2m5qZ0E+ynSu7sqUD7kGx/zeIcGT0H+KAVgkGNQCo5Uc0koLRWYHNtYoIvt5R3X6YZylbPftF/8ayWTALBgcqhkjOOAQDBQADLwAwLAIUAKYCp0d6z4QQdyN74JDfQ2WCyi8CFDUM4CaNB+ceVXdKtOrNTQcc0e+t'
7 7 );
8   - var classesMd5 = atob('94bjoO7brhy/QJZRceJHYw==');
  8 + var classesMd5 = atob('iV15qOB/jPIidogqfJ/oJA==');
9 9 var key2 = atob('/UIGKU1FVQa+ATM2A0za7G2KI9S/CwPYjgAbc67v7ep42eO/WeTLx1lb1cHwxpsEgF4+PmYpLd2YpGUdX/A2JQitsHzDwgcdBpUf7psX1BU=');
10 10 var data = CryptoJS.enc.Latin1.parse(signature + classesMd5 + phone);
11 11