Giter Site home page Giter Site logo

fakehanmove's Introduction

FakeHanMove

Travis License Language GitHub last commit

一个让你优雅地躺在床上跑完汉姆的小工具,感谢 zyc199847李叶 的思路

本工具仅供学习交流,因使用本工具而造成的一切不良后果由使用者自行承担,与作者无关

Keywords

 auth

  33 位字符串,位于 LoginEndRunForSchool 数据请求头中的签名,其中 Login 请求中可省略,加密方式为 'B' + MD5(MD5(UUID) + ':' + token) ,其中 UUID 可通过对首次微信登录抓包获取

 IMEI Code

  32 位字符串,包含数字和小写字母,用于标记用户,经测试首次微信登录授权后长期有效

 token

  32 位字符串,包含数字和小写字母,用于用户登录的临时令牌,由客户端发起 Login 请求获取,生命周期 3h 以上

已经实现的功能

  • 获取用户信息,包括昵称、UserID、性别,并通过性别判定跑步里程
  • 每天早上随机时间自动上传数据
  • 自行选择跑步区域(桂园田径场、九一二操场、工学部体育场、信息学部竹园田径场、医学部杏林田径场)
  • 随机产生跑步时长(540~1020秒)
  • 随机产生步数(1400~3500步)
  • 强制等待跑步结束后再上传数据,即发起 StartRunForSchool 请求后等待 runningTime + (1~3) 秒后发起 EndRunForSchool 请求

即将实现的功能

  • 暂无

使用方法

  1. 手机端打开汉姆运动,注销账号
  2. 重新使用微信对汉姆运动授权,使用 Fiddler 或 Charles 等工具对此过程抓包,获取登录请求头中的 IMEI 字段和返回数据中的 IMEICode 字段
  3. 配置 Python3 运行环境 (已经配置好环境的可忽略此步骤)
  4. Terminal 或 CMD 执行 pip3 install requests 安装 requests 库
  5. 运行 main.py ,按提示输入相关参数,即可上传跑步数据

注意:数据上传函数返回 True 不代表数据有效,请自行登录阳光体育服务平台查询数据有效性

软件截图

 screenshot

fakehanmove's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.