Giter Club home page Giter Club logo

beihanglogin's Introduction

BeihangLogin

上网不涉密,涉密不上网!

北航网络认证 CURL 客户端(雾)

2019-08-28 更新:由于新版网络认证上线,旧版脚本已无法使用,是时候更换login-v2.sh了 :-D

用户名和密码的存放

请将 account.example 文件复制为 account 文件,并存放于脚本同目录,然后在其中输入你的学号和密码。

检测并自动登录

两个 try-connect 脚本可以检测当前是否已登录,如果没有登录就自动登录。

  • try-connect.sh 通过 ping 百度来检测登录状态
  • try-connect-v2.sh 通过访问网关 API 来检测登录状态

Usage:

登录:

./login-v2.sh login

注销:

./login-v2.sh logout


Python 版

隔壁BIT用的是一个版本srun

https://github.com/RogerYong/bit_srun

Rust 版

来自Rynco

https://github.com/01010101lzy/buaa-portal-login

beihanglogin's People

Contributors

jqqqqqqqqqq avatar t123yh avatar z3dd1cu5 avatar flymin avatar generaluseai avatar joglelew avatar kyanchen 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.