我用Google搜索了这个死...
我正在做最初的“codeRequest”。无法通过“bad_token”。
我检查了所有的值并尝试了我能找到的所有版本/ classesMd5。还自己下载了APK并计算了MD5。
我只是想知道WhatsApp是否完全改变了令牌算法或什么?如果有人真的有这个工作,我很乐意听取你的意见!
token.php
$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 = '14w/wF67XBf2vTc+qALwKQ=='; // 2.16.148
//$classesMd5 = '1I2weuZmVg+uL50+HXeSJw=='; // 2.16.328
//$classesMd5 = 'ry9Xz6kVioQctwA3G9z62Q=='; // 2.12.556
//$classesMd5 = 'IdHZifpmNTVVCJ50Cu7RMA=='; // 2.17.350
$classesMd5 = 'uxy2TKugqw984dWE55M7fw=='; // 2.16.24
$key2 = base64_decode('eQV5aq/Cg63Gsq1sshN9T3gh+UUp0wIw0xgHYT1bnCjEqOJQKCRrWxdAe2yvsDeCJL+Y4G3PRD2HUF7oUgiGo8vGlNJOaux26k+A2F3hj8A=');
和
Constants.php
const DEVICE = 'armani';
const WHATSAPP_VER = '2.16.24';
const OS_VERSION = '5.1.1';
const MANUFACTURER = 'OnePlus';
const BUILD_VERSION = 'YOG4PAS3JL';
const PLATFORM = 'Android';
const WHATSAPP_USER_AGENT = 'WhatsApp/2.16.24 Android/5.1.1 Device/OnePlus-A0001';
我很确定这些是相关的值,主要是:WHATSAPP_VER,WHATSAPP_USER_AGENT和$ classesMd5
有人可以帮忙吗?谢谢
今天早上试了一下它现在正在工作。
也许我昨天在测试时触发了某种阻止。
我尝试了这个,我通过短信获得了代码
constants.php
const DEVICE = 'oppo'; // The device name.
const WHATSAPP_VER = '2.18.154'; // The WhatsApp version.
const OS_VERSION = '5.1.1';
const MANUFACTURER = 'oppo';
const BUILD_VERSION = 'A37fEX_11_171209';
const PLATFORM = 'Android'; // The platform name.
const WHATSAPP_USER_AGENT = 'WhatsApp/2.18.154 Android/5.1.1 Device/oppo-A37f';
token.php
$classesMd5 = 'LzjhvO17H+9KeBTuY363Ow=='; // 2.18.154
$key2 = base64_decode('eQV5aq/Cg63Gsq1sshN9T3gh+UUp0wIw0xgHYT1bnCjEqOJQKCRrWxdAe2yvsDeCJL+Y4G3PRD2HUF7oUgiGo8vGlNJOaux26k+A2F3hj8A=');
经过9个小时的研发,终于取得了丰硕的成果。变化在ClassessMD5
public const string WhatsAppVer = "2.18.154";
/// The port that needs to be connected to
public const int WhatsPort = 443;
public const string Device = "Android";
/// manufacturer
public const string Manufacturer = "Xiaomi";
/// OS Version
public const string OS_Version = "5.1.1";
public const string UserAgent = "WhatsApp/2.18.154 Android/6.0 Device/Xiaomi-HM_1SW";
string token = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1447796090073" + number;
var classesMd5 = "LzjhvO17H+9KeBTuY363Ow=="; // 2.18.154