Code Monkey home page Code Monkey logo

upcnet's Introduction

UPC 网络认证脚本

飞天面条教保佑你的代码

Openwrt及各Linux发行版请点这里

依赖

本脚本采用Python3编写,依赖于

Requests
urllib/urllib.parse

快速安装依赖

pip install -r requirements.txt

使用方法

在config.py文件下输入学号、密码和运营商编号,然后运行

python3 NetworkAuth.py

运营商对应编号:

default -> 校园网
unicom -> 联通
cmcc -> 移动
ctcc -> 电信
local -> 校园内网

可自动判别登录情况,引导用户交互。

目前支持的网络类型:

有线网络(认证IP地址:121.251.251.207)

无线网络(SSID: UPC, 认证IP地址:121.251.251.217)

802.1X网络无需使用本脚本

测试环境

macOS 10.13.1
Windows 10 (Build 17134)

版权信息

Author:EndangeredFish

Email: [email protected]

First Commit Date:  Monday,13 Nov 2017 

LICENSE: AGPLv3

upcnet's People

Contributors

horrzzz avatar

Watchers

James Cloos 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.