一些应用程序(微信)如何忽略假位置,然后检测真实位置? [英] How does some apps(wechat) ignore fake location and then detect the real one?
问题描述
我安装了一个伪造的位置应用,并将位置设置为其他位置.然后打开Google Maps and Wechat应用程序
I have installed a fake location app and set my location different. Then opened Google Maps and Wechat app,
- Google地图将我的位置显示为我设置的位置(假)
- 微信应用程序忽略伪造的位置并检测真实位置(如何?)
- Google Maps shows my location as what i set(fake)
- Wechat app ignores fake location and detects real location (how?)
然后我想防止微信分析我以前收到的真实位置和新的虚假位置.
Then i wanted to prevent wechat analyze my previously received real locations and new fake location.
- 未安装的微信
- 重新启动我的设备
- 将我的位置设置为伪造
- 再次安装微信
但是同样的结果,它可以检测到我的真实位置.
But same result, it detects my real location.
我真的很想了解他们是如何做到的.有什么想法吗?
I really want to understand how they do this. Any ideas?
我尝试过的事情
- GPS提供商欺骗
- 网络提供商欺骗
- 融合的位置提供者欺骗
- IP地理位置欺骗
- GPS提供商欺骗+ IP地理位置欺骗
更新
即使禁用也会使用GPS.
Uses GPS even when disabled.
07-02 11:46:15.504 2346-2356/? D/LocationManagerService:从com.tencent.mm(10173)请求434a7e28 gps请求[要求的ACCURACY_FINE gps =最快+ 1s0ms = + 1s0ms]
07-02 11:46:15.504 2346-2356/? D/LocationManagerService: request 434a7e28 gps Request[ACCURACY_FINE gps requested=+1s0ms fastest=+1s0ms] from com.tencent.mm(10173)
结论
- 您可以在旧版微信(低于6.0)上伪造位置
- 使用类似BaiduLocationSDK的名称.不受通过LocationManager和Fused提供程序进行任何模拟尝试的影响.
- 我不确定,但是BaiduLocationSDK似乎通过硬件级别使用GPS.
推荐答案
某些第三方位置sdk(例如BaiduLocationSDK)无法反映系统设置的虚假位置.
Some 3rd party location sdk like BaiduLocationSDK doesn't reflect the fake location setup by system.
这是出于安全目的.
这篇关于一些应用程序(微信)如何忽略假位置,然后检测真实位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!