# ClockIn **Repository Path**: Lucas_Hu1/clock-in ## Basic Information - **Project Name**: ClockIn - **Description**: No description available - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-13 - **Last Updated**: 2021-12-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ClockIn 自动打卡工具 >自动打卡通过 模拟http请求进行登录 然后进行打卡操作 通过 每个工作日的 定时任务 自动执行打卡操作 + 通过wireshark抓取手机登录信息然后模拟请求进行打卡 ## 登录 + 通过get请求进行登录 ```http request http://erp.kqgeo.com:889/cops_User_login.action?name=账号&pswd=密码 ``` + 获取cookie信息,利用当前的cookie信息对打卡做准备 ## 打卡 ```http request http://erp.kqgeo.com:889/kqerp_user_Kaoqin_onPositionSign.action?kqtime=当前时间戳 ``` 通过POST请求 Content-Type: application/x-www-form-urlencoded; charset=UTF-8 参数列表 ``` "lon" = "114.399412" "lat" = "30.453254" "address" = "湖北省武汉市江夏区大学园路18号领航园" "province" = "湖北省" "city" = "武汉市" "region" = "江夏区" "county" = "" "phoneSn" = "ic0f8dbb3-6c14-416b-a99c-91c3db37a77f" "phoneIp" = "192.168.137.77" "remark" = "" "def1" = "144.852666" "def2" = "湖北省武汉市江夏区大学园路18号领航园" "def3" = "" "signVer" = "5.5.153" "appType" = "ios" "signType" = "1" ```