GithubHelp home page GithubHelp logo

xyb_signer's Introduction

XYB Signer

校友邦自动签到(仅为学习目的开发,使用者自行承担可能的后果

使用方法

根据从Release页面下载对应的程序并解压。

按照config_template.txt中的内容编辑配置文件,双击同一目录下的可执行文件即可。可以设置定时任务每天触发。

初次使用需要进行一定的交互,大致如下:

[INPUT] Do you want to set a password? [Y/n]: y
[INPUT] Please input the verify code you received: 730717
[INPUT] Please input your new password: *******
[INFO] Password successfully reset.
[INFO] Login success.
[INFO] New sessionid saved.
[INFO] Project list retrieved: 
        0. project 1
        1. project 2
[INPUT] Choose a project: 0
[INFO] Retrieving traineeId for project...done (id = 114514)
[SUCCESS] successfully signed.

初次设置完成后不要修改config.json的内容,以后使用直接运行即可。

定时任务设置方法

在设置定时任务前,请确保你手动使用该脚本签到成功过。

Windows

参见 https://www.cnblogs.com/sui776265233/p/13602893.html

注意“起始于”设置为config.json所在路径,定时每天触发。

MacOS & Linux

使用crontab,假设你将压缩包解压到了路径$XYB

命令行执行

crontab -e

弹出的页面输入i然后输入

0 1 1-31 6-7 MON-FRI cd $XYB && ./xyb_signer

输入:wq回车即可。

xyb_signer's People

Contributors

m4tsuri avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.