GithubHelp home page GithubHelp logo

chn-student / autologin-srun3k Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ygqsgm/autologin-srun3k

0.0 1.0 0.0 25 KB

用于Openwrt路由器根据arp连接设备数判断自动登陆的脚本

Python 100.00%

autologin-srun3k's Introduction

autologin-srun3k

运行环境:

校园网环境:河南工业大学haut.edu.cn srun3k登陆

(其它学校使用srun3K方案 应该 类似可能需要修改认证服务器地址)

运行环境:openwrt chaos_calmer 15.05.1 (Lenovo Y1 测试通过 )

至少需要安装 python3 (python3-base python3-codecs python3-email ), coreutils-nohup

如何使用:

下载至路由器端

wget https://github.com/ygqsgm/autologin-srun3k/raw/master/autologin.py    

修改 学号,密码

VIM autologin.py

nohup python3 autologin.py &

原理简介:

1.模拟校园网客户端发包(HTTP POST登陆,以及 UDP 心跳包)

2.通过读取/proc/net/arp 0x2 -1 获取在线人数>0时登陆

需要手动添加 路由器 启动项

autologin-srun3k's People

Contributors

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