Giter Site home page Giter Site logo

ezcheckinschool's Introduction

EzCheckInSchool

完美校园自动打卡一天三次校内版。

使用方法

首先,点击右上角Star并Fork,fbgfshfgdnfgdht

接下来抓包完美校园打卡内容,本文使用Fiddler代理手机抓包

fiddler没有手机客户端,都是安装在PC上,要实现对手机上的程序抓包,则需要对PC上的fi fgfdg骤如下:

https://www.cnblogs.com/wenbodeboke/p/9770771.html

设置好手机代理后,打开完美校园开始健康打卡(最好在指定的打卡时间打卡方便抓包),目标数据包为POST到https://reportedh5.17wanxiao.com/sass/api/epmpics的JSON 格式如下:

{
	"businessType": "epmpics",
	"method": "submitUpInfoSchool",
	"jsonData": {
		"deptStr": {
			"deptid": xxxx,
			"text": "x学院-xx-xxxxxx"
		},
		"areaStr": "{\"streetNumber\":\"\",\"street\":\"x街\",\"district\":\"x区\",\"city\":\"x市\",\"province\":\"x省\",\"town\":\"\",\"pois\":\"xxxx\",\"lng\":xxx.,\"lat\":xxx,\"address\":\"x区x街x城\",\"text\":\"x省-x市\",\"code\":\"\"}",
		"reportdate": xxxxxxxxxx,
		"customerid": 43,
		"deptid": xxxx,
		"source": "app",
		"templateid": "clockSign3",
		"stuNo": "学号",
		"username": "姓名",
		"userid": 用户ID,
		"updatainfo": [
			{
				"propertyname": "temperature",
				"value": "36.4"
			},
			{
				"propertyname": "symptom",
				"value": "无症状"
			}
		],
		"customerAppTypeRuleId": 146,
		"clockState": 0
	},
	"token": "TOKEN字段"
}

接下来你需要把上面获取到的信息以此设为Secert

在Settings添加以下Secert字段

AREASTR //抓包JSON中的"areaStr",删去转义符‘\’,如

{"streetNumber":"","street":"x街","district":"x区","city":"x市","province":"x省","town":"","pois":"xxxx","lng":xxx,"lat":xxx,"address":"x区x街x城","text":"x省-x市","code":""}

DEPTID //抓包JSON中的"deptid"

DEPTTEXT //抓包JSON中的"jsonData"的"text"

STUNO //抓包JSON中的"stuNo"

USERID //抓包JSON中的"userid"

USERNAME //抓包JSON中的"username"

SCKEY //Server酱调用URL

添加后开启Actions方法

Settings->Action->I understand...

回到项目主页,修改README.md随便加几个空格触发Actions

代码参考及详细教程

https://github.com/ReaJason/17wanxiaoCheckin-Actions

https://github.com/YooKing/HAUT_autoCheck/blob/master/main.py

ezcheckinschool's People

Contributors

chillsoul avatar hikalight avatar

Watchers

James Cloos 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.