Giter Site home page Giter Site logo

seu_net_verify's Introduction

seu_net_verify

seu网安自研校园网认证客户端

Windows

windows直接到release页面下载
https://github.com/black-kyato/seu_net_verify/releases

Android

测试于以下设备:

  • Nexus 5 原生 Android 6.0.1

  • 华为麦芒 5 EMUI 5.0.4 Android 7.0

  • 华为 Nova 7 EMUI 10.1.1 Androiod 10

使用中遇到问题请在 issues 提出

点击下载

  • 输入用户名密码后点击保存,再认证

  • 无感认证服务

    • 启用:开机后自启动无感认证服务,部分系统需手动授予自启动权限

    • 禁用:关闭自启动

    • 开启:手动开启无感认证服务

    • 关闭:手动关闭无感认证服务

  • 自启动权限配置(仅供参考)

    • 华为 EMUI 5.0.4:设置 -> 应用管理 -> SEU-WLAN -> 权限 -> 设置单项权限 -> 应用自动启动 (打开)

    • 华为 EMUI 10.1.1:设置 -> 应用 -> 应用启动管理 (搜索 SEU-WLAN,关闭自动管理,开启手动管理中三项权限)

MAC OS X

mac平台请根据python版本下载code页面的脚本文件

没有pip的先安装pip,再导入requests库
pip install requests

自带python2.7,请下载mac2.py, 运行
python mac2.py

python3.x请下载mac3.py, 运行
python3 mac3.py

Linux

测试于 Ubuntu20.04 & Python3.8 + Python 2.7,使用中遇到问题请在 issues 提出

  • 安装依赖:
# python2.x
pip install requests lxml bs4

# python3.x
pip3 install requests bs4
  • 下载linux.py,运行,会在代码同目录下生成 .seu_wlan_config 文件,用于记录登录信息
# python2.x
python2 linux.py

# python3.x
python3 linux.py
  • Ubuntu 20.04 无感登录方案
# 备份原认证脚本
sudo mv /usr/libexec/gnome-shell-portal-helper /usr/libexec/gnome-shell-portal-helper-bak

# 创建自动认证脚本
echo '#!/bin/bash' > gnome-shell-portal-helper
echo 'if iwconfig | grep -q "seu-wlan"; then' >> gnome-shell-portal-helper
echo '	/usr/bin/python3 /usr/libexec/login.py' >> gnome-shell-portal-helper
echo 'else' >> gnome-shell-portal-helper
echo '	/usr/libexec/gnome-shell-portal-helper-bak' >> gnome-shell-portal-helper
echo 'fi' >> gnome-shell-portal-helper
chmod +x gnome-shell-portal-helper
sudo mv gnome-shell-portal-helper /usr/libexec/gnome-shell-portal-helper

# 创建配置文件
echo '{"username": "请输入用户名", "password": "请输入密码"}' > ~/.seu_wlan_config
vi ~/.seu_wlan_config

# 部署相关文件
sudo mv linux.py /usr/libexec/login.py

seu_net_verify's People

Contributors

black-kyato avatar albus12138 avatar peakzz avatar

Stargazers

LSSMUYOU avatar

Watchers

James Cloos avatar  avatar

Forkers

peakzz albus12138

seu_net_verify's Issues

#问题

  • 校园网认证通过GET网址即可登陆
  • 关键参数有三 useridpassworduser_ip
  • 只要获取user_ip 进行请求即可
  • 在win下可以通过bat,双击运行脚本
  • 在lin下可以通过sh脚本运行
  • ipad登陆是个问题

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.