本文介绍了WhatsApp Android/iOS 客户端生成的身份字段值是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你们中的任何人都可以告诉我在 WhatsApp Android 和/或 iOS 客户端中生成的身份字段值是什么吗?例如

Can anyone of you let me know what is the identity field value generated in WhatsApp Android and/or iOS clients? For example

$w = new WhatsProt($username, $identity, "test", true);  

如果它是由设备上的 WhatsApp 客户端生成的唯一随机数,那么它将存储在哪里(在哪个文件和路径中)?卸载应用程序后,该文件不会被擦除吗?

If it is a unique random number generated by the WhatsApp client on the device, where exactly it will be stored (in which file and path)? Will that file not be wiped off once I uninstall the application?

我问上面的原因是,根据我的测试分析,我觉得可能有一些WhatsApp客户端使用的设备标识符:

The reason I asked the above is that I feel that there might be some device identifier used by WhatsApp client based on my test analysis:

  1. 我在第二部手机上安装了 Whatsapp,并提供了第一部手机的电话号码.
  2. 不出所料,我的第一部手机收到了短信,而我在第二部手机中手动输入了错误的 OTP.
  3. 验证 OTP 屏幕上的重新发送 SMS 按钮已禁用 1 分钟.
  4. 一分钟后,我点击了重新发送短信"按钮,再次如预期一样在我的第一部手机上收到了短信.
  5. 我在第二部手机上再次输入了错误的 OTP.这一次,重新发送短信按钮被禁用了 2 个小时.
  6. 我卸载了应用程序并重新安装了它.但是,重新发送 SMS 按钮仍然禁用 2 小时(准确地说,1 小时 52 分钟 - 卸载和安装需要一些时间).

如果客户端使用随机唯一标识符(如 UUID 或 SecureRandom)并存储在内部存储器中 (/appdata/com.whatsapp/somefile),我卸载应用程序时不会被删除吗?

If the client is using a random unique identifier (like UUID or SecureRandom) and which is stored in the internal memory (/appdata/com.whatsapp/somefile), will it not be deleted when I uninstalled the app?

如果卸载时删除了 /appdata/com.whatsapp/somefile,WhatsApp 服务器端如何识别此设备并禁用重新发送短信"按钮?

If the /appdata/com.whatsapp/somefile is deleted on uninstall, how can WhatsApp Server side recognize this device and able to disable the "resend SMS" button?

通过看到这种行为,我认为它利用了一些与设备相关的唯一标识符或 WhatsApp 开发的一些很酷的东西.

By seeing this behavior, I think, it is making use of some unique identifier related to the device or something cool which WhatsApp has developed.

有人知道它是怎么做的吗?

Has anyone knows how it is done?

推荐答案

检测手机的方法有很多.他们可能使用 IMEI、IMSI、AndroidID.这些都是独特的领域.有了这个whatsapp,您已经从这部手机请求了otp.

There are plenty of ways to detect your phone. They Might using IMEI, IMSI, AndroidID. Those all are the unique fields. With this whatsapp is getting that you already requested otp from this phone.

尝试研究

  1. IMEI 号码(电话唯一 ID)
  2. IMSI 号码(SIM 卡唯一 ID)
  3. Android ID(此 Android 手机的唯一 ID)

这篇关于WhatsApp Android/iOS 客户端生成的身份字段值是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 18:26