All Projects → littleRich → Virtuallocation

littleRich / Virtuallocation

Licence: apache-2.0
利用Hook技术对APP进行虚拟定位,可修改微信、QQ、以及一些打卡APP等软件,随意切换手机所处位置!

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Virtuallocation

Wechat Pc Hook Ws
微信PcHooker websocket api
Stars: ✭ 74 (-88.89%)
Mutual labels:  hook, wechat
Wechatpc
PC微信hook源码,PC微信注入,逆向编程,可以制作微信机器人玩玩,仅供学习,请不要用于商业、违法途径,本人不对此源码造成的违法负责!
Stars: ✭ 154 (-76.88%)
Mutual labels:  hook, wechat
Wechat tweak
♨️ iOS版功能最全的微信插件,支持最新版微信,具备自动抢红包,屏蔽消息和群消息,过滤特定的群聊,防止撤回消息,伪定位 (朋友圈和附近的人),修改微信运动步数和实时取景做聊天页的背景等功能。
Stars: ✭ 265 (-60.21%)
Mutual labels:  hook, wechat
Rn Wechat
基于ReactNative的高仿微信客户端,支持Android和iOS。
Stars: ✭ 568 (-14.71%)
Mutual labels:  wechat
Ocbarrage
iOS 弹幕库 OCBarrage, 同时渲染5000条弹幕也不卡, 轻量, 可拓展, 高度自定义动画, 超高性能, 简单易上手; A barrage render-engine with high performance for iOS. At the same time, rendering 5000 barrages is also very smooth, lightweight, scalable, highly custom animation, ultra high performance, simple and easy to use!
Stars: ✭ 589 (-11.56%)
Mutual labels:  wechat
Xz wechat
微信聊天框架搭建,高仿微信聊天框架,一步步学习聊天框架的搭建
Stars: ✭ 634 (-4.8%)
Mutual labels:  wechat
Wewechat
💬 Unofficial WeChat client built with React, MobX and Electron.
Stars: ✭ 5,618 (+743.54%)
Mutual labels:  wechat
Deepin Apps Installation
本仓库介绍如何在基于Ubuntu的系统上安装Deepin移植的软件。This repo shows how to install apps packaged by Deepin.
Stars: ✭ 565 (-15.17%)
Mutual labels:  wechat
Useeffectreducer
useReducer + useEffect = useEffectReducer
Stars: ✭ 642 (-3.6%)
Mutual labels:  hook
Wechatcmd
提供微信终端版本、微信命令行版本聊天功能、微信机器人
Stars: ✭ 628 (-5.71%)
Mutual labels:  wechat
Wechattweak Macos
A dynamic library tweak for WeChat macOS - 首款微信 macOS 客户端撤回拦截与多开
Stars: ✭ 6,505 (+876.73%)
Mutual labels:  wechat
React Illustration Series
图解react源码, 用大量配图的方式, 致力于将react原理表述清楚.
Stars: ✭ 588 (-11.71%)
Mutual labels:  hook
Azlistview
A Flutter sticky headers & index ListView. Flutter 城市列表、联系人列表,索引&悬停。
Stars: ✭ 632 (-5.11%)
Mutual labels:  wechat
Wechat Jssdk
🐧WeChat JS-SDK integration with NodeJS
Stars: ✭ 571 (-14.26%)
Mutual labels:  wechat
Wechatbynode
Use the Node.js development WeChat(使用Node.js 开发微信公众号)【 博客地址:https://cnodejs.org/user/SilenceHVK 】
Stars: ✭ 642 (-3.6%)
Mutual labels:  wechat
React Laag
Hooks to build things like tooltips, dropdown menu's and popovers in React
Stars: ✭ 568 (-14.71%)
Mutual labels:  hook
Wechat Php Sdk
PHP微信SDK(微信平台 + 微信支付)
Stars: ✭ 637 (-4.35%)
Mutual labels:  wechat
Pythonspidernotes
Python入门网络爬虫之精华版
Stars: ✭ 5,634 (+745.95%)
Mutual labels:  wechat
Sandvxposed
Xposed environment without root (OS 5.0 - 10.0)
Stars: ✭ 604 (-9.31%)
Mutual labels:  hook
Wechat Miniprogram Examples
WeChat mini program examples. 微信小程序示例
Stars: ✭ 634 (-4.8%)
Mutual labels:  wechat

VirtualLocation(UI仿共享单车OFO)

博客主页

对Android程序进行虚拟定位,可修改微信、QQ、陌陌以及一些打卡APP等软件,随意切换手机所处位置!(喜欢的给一个star, 有帮助的给一个fork, 欢迎Star和Fork ^_^)

下载 话不多说,试玩应用先。

效果预览

主页


微信虚拟定位演示

1、打开本程序,选择好要穿越的地点,确认穿越即可!
Alt textAlt text

2、再打开微信,这里演示在朋友圈发位置状态,如下:
Alt text


钉钉虚拟定位打卡演示


原理

本程序有两种方式可以实现虚拟定位:

  1. 通过ADB模拟定位功能
  2. 通过Hook修改获取经纬度API的值 (必需安装Xposed以及ROOT)

程序代码设计流程图如下:
Alt text

第一种方式主要是是通过ADB模拟定位功能,再开启线程,不断的更新LocationManager的经纬度值,即可是实现定位模拟定位

	mMockThread = new Thread(new Runnable() {
                @Override
                public void run() {
                    while (true) {
                        try {
                            Thread.sleep(500);
                            if (!hasAddTestProvider) {
                                Log.d("xqf", "针对Android6.0+系统,需要单独把程序调加到ADB模拟定位服务中");
                                continue;
                            }
                            setLocation(LocationUtil.mLatitude, LocationUtil.mLongitude);
                            Log.d("xqf", "setLocation240=latitude:" + mLatitude + "?longitude:" + mLongitude);
                        } catch (Exception e) {
                            e.printStackTrace();
                        }
                 }
                }
            });
            mMockThread.start();

第二种方式主要是采用Hook修改系统API。目前很多程序都调用了isFromMockProvider方法来检测用户是否打开了ADB模拟定位功能,所以我又采用了Hook方式,就不怕不能虚拟定位了,具体如何Hook,可以看我的一篇博客:基于Xposed框架Hook定位功能来破解QQ的LBS红包


测试

在Android测试机 分别是 魅蓝2、华为、SCL-TL00、Vivo xs1、红米note运行正常

版本

v1.0

完成了通过ADB模拟定位功能来虚拟定位,但是新版的一些程序都做了ADB模拟定位检测,所以现在很多新版本程序都不行了

v1.1

完善了通过Hook修改虚拟定位API,提高程序的兼容性和可行性,但同时也必须Android设备要ROOT

issue

如果程序运行有什么问题,可以先查看Issues中的问题回答,这样我就不用重复回答大家的问题了,之前太多人加QQ问问题,工作有点忙实在是来不及一一回复(注:Issues在本网页顶部菜单栏上)

Email:[email protected]

License

Copyright 2016 xuqingfu

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].