Giter VIP home page Giter VIP logo

login4zjutdrcom's Introduction

Login the camplus network for ZJUT.

Usage

Support Windows.Linux

##Install

git clone https://github.com/jynwhey/login4zjutdrcom.git
cd login4zjutdrcom
pip3 install -r requirements.txt

Python版(适用于安装python环境的设备)

windows和linux都可正常使用

编辑以下代码,将学号和密码和登录类型替换为自己的即可

# 修改config.ini中
# 账号
account = "211*******"
# 密码
password = "xxxxxx"

运行python脚本进行测试连通

python3 drcom.py -c config.ini

dist中是编译好的exe文件可以通过winsw工具将其添加到系统进程中,

drcom_login.exe -c condig.ini

Linux Bash版

# 填入账号密码和IP
user=211*******
pwd=qwe***
HOST=10.*.*.**
  1. 给权限,chmod a+x /usr/drcom_login.sh
  2. 将drcom_login.sh添加到/etc/rc.local的exit前,并添加到
  3. 将drcom_login.sh添加到计划任务中定时启动。crontab -e 添加 * * * * * /usr/bin/login.sh 每分钟检测一次

help

python drcom_login.py -h

Thanks:

login4zjutdrcom's People

Contributors

isjwtang 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.