{"id":21651108,"url":"https://github.com/tobedefined/tlocationplugin","last_synced_at":"2025-04-11T20:23:43.342Z","repository":{"id":201704466,"uuid":"229875853","full_name":"ToBeDefined/TLocationPlugin","owner":"ToBeDefined","description":"企业微信打卡等软件虚拟定位","archived":false,"fork":false,"pushed_at":"2023-01-16T06:39:59.000Z","size":85312,"stargazers_count":121,"open_issues_count":2,"forks_count":23,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T16:21:53.009Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ToBeDefined.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-12-24T05:23:48.000Z","updated_at":"2025-03-21T17:57:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f055ad4-1df2-49e5-8e29-61819a957f13","html_url":"https://github.com/ToBeDefined/TLocationPlugin","commit_stats":null,"previous_names":["tobedefined/tlocationplugin"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToBeDefined%2FTLocationPlugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToBeDefined%2FTLocationPlugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToBeDefined%2FTLocationPlugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToBeDefined%2FTLocationPlugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ToBeDefined","download_url":"https://codeload.github.com/ToBeDefined/TLocationPlugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248473704,"owners_count":21109759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T07:46:45.577Z","updated_at":"2025-04-11T20:23:43.319Z","avatar_url":"https://github.com/ToBeDefined.png","language":"Objective-C","readme":"### TLocationPlugin\n\n\u003e iOS 版本企业微信等软件虚拟定位，仅为个人学习 hook 以及移植非越狱手机实验（防hook 以及验证签名的App没有针对性处理）\n\n### 功能\n\n- [x] 设置定位信息\n\n- [x] 保存当前地点定位信息\n\n- [x] 地图搜索地点保存定位信息\n\n- [x] 多个定位地点缓存\n\n- [x] 设置是否 toast 提示定位信息\n\n- [x] 更改 App 图标（iOS 13 暂未处理）\n\n## 使用方法\n\n- 依赖 `python3`处理 APP 图标, `pip3 install -r requirements.txt`\n\n- 编译内部修改版本的`yololib`， 并将生成的 `yololib` 文件移动到`/usr/local/bin/`目录下(或者其他 PATH 目录内，可命令行执行 yololib 命令即可)\n\n- 使用 [frida-ios-dump](https://github.com/AloneMonkey/frida-ios-dump)从越狱手机中 dump 出 ipa 文件，改名为`appname_origin.ipa` (`appname`为解压 App 后Payload 中.app 的名称，如企业微信为 wework_origin.ipa)\n\n- 修改 `RunScript`文件夹中`env.sh`的环境变量`APP_NAME`和`BINARY_NAME`，`APP_NAME`是 App ipa 文件名(去除 `_origin.ipa`部分) ，`BINARY_NAME`是.app 中主二进制 target 名称(如企业微信都为 wework)\n\n- Xcode运行 `RunScript` target (`Generic iOS Device`)\n\n- 生成的文件为`appname_new.ipa`(如企业微信为 wework_new.ipa)\n\n- 生成的 ipa 没有签名，可以使用 [fastlane](https://github.com/fastlane/fastlane) 进行重签名，重签名之后就可以安装到未越狱手机上了\n\n- 安装之后，点击五次 App 的 Window (最好点击 NavigationBar)，会打开定位设置界面\n\n## 示例\n\n- 设置定位界面\n\n\u003cimg src=\"./img/1.jpeg\" alt=\"选择虚拟定位\" style=\"zoom:20%;\" /\u003e\n\n- 添加位置界面\n\n\u003cimg src=\"./img/2.jpeg\" alt=\"添加位置\" style=\"zoom:20%;\" /\u003e\n\n- 设置界面\n\n\u003cimg src=\"./img/3.jpeg\" alt=\"设置\" style=\"zoom:20%;\" /\u003e\n\n- 使用界面\n\n\u003cimg src=\"./img/4.jpeg\" alt=\"App使用\" style=\"zoom:20%;\" /\u003e\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobedefined%2Ftlocationplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftobedefined%2Ftlocationplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobedefined%2Ftlocationplugin/lists"}