ShawHaines / evilScripts

Some evil greasyfork script collection.
MIT License
10 stars 5 forks source link

evilScripts

Some evil script collection useful in Zhejiang University.

ZJU-Sign-in-ClassRoom-Alert

Available on Greasy Fork

Copy & paste the content into a Tampermonkey script.

NexusHD_sign_in

It's a minimalist script inspired by XinArkh/NexusHD_AutoCheck. Unlike its predecessor, it is based on curl that does not depend on any additional libraries, or python.

Prerequsite: accessible to ZJU internal network.

Single user, temporary run

Navigate to the folder containing the scripts, simply type

./nhd_curl.sh <username> <password>

Multiple users

Fill in your list of username and password in the local copy of nhd_password.txt

Format specification: In each line, username:password (separated by half-width colon and nothing else)

example:

ZhaohuiWu:123456
PeppaPig:123456

Run

./nhd_autosign.sh

Scheduled task

On Linux or OpenWRT server, use crontab command to setup scheduled task.

# edit scheduled task
crontab -e

In the editor that follows, type

# automatically sign in for NHD at 08:00 am everyday.
00 08 * * * cd /path/to/script; ./nhd_autosign.sh

CC98_sign_in

An expansion to NexusHD_sign_in. Its usage is similar to NexusHD_sign_in