Coder Social home page Coder Social logo

bjut_always_online's Introduction

BJUT_Always_Online

License: MIT

README English | 中文

TODO

  • Add IPv6 Support
  • Auto-disabled failed account
  • Internal IP DDNS for Hurricane Electric(HE) DDNS and Dynu DDNS
  • Connect to Server酱
  • Break up WLAN authentification into internal network and Internet to improve experience

English

Introduction

BJUT_Always_Online is a test project based on Python, it is used to auto-login the campus network (both for wired network and wireless network) with a bunch of accounts in Beijing University of Technology.

Features

  • Time heartbeat packet, avoid kicked by the gateway.
  • Cross-platform, based on Python.
  • Detect the rest of traffic flows.
  • Set the upper limit of traffic flows, and change account automatically.
  • Auto reset the index of account list at the start of each month.
  • Set backup account to keep online and ignore the limitation of traffic flows (this may produce network traffic cost).

Usage

  1. Create accounts.txt and backupac.txt as the sample formats.
  2. Execute python online.py.

中文

介绍

BJUT_Always_Online 是一个基于 Python 语言开发的项目,它是一个测试项目,用于实现位于北京工业大学校园网内的主机自动登录城市热点的 无线和有线网络 认证系统,实现服务器持续在线。

特性

  • 定时发送心跳包,避免被网关踢下线。
  • 跨平台使用,支持 Windows、Linux、Mac OS 等一切安装了 Python 的操作系统。
  • 账号剩余流量监测。
  • 限制账号使用流量上限,并自动更换账号。
  • 月初自动重置账号列表。
  • 设置应急账号,无视流量限制而保持在线(可能会产生费用)。

使用

  1. 建立 accounts.txtbackupac.txt,参照 sample 中的格式填写网关账号密码。
  2. 执行 python online.py

bjut_always_online's People

Contributors

chen-assert avatar nonpointer avatar tojo17 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bjut_always_online's Issues

It‘s a compliment.

之前没有在github搜,我就开始写了,也是python,也是多账号轮换,也是有个单次流量,单次时长,还有一个停止流量。
我的是:

  • ini 存储 上述值
  • main.py 主程序
  • Useragent.py 生成随机浏览器标识

**最近遇到个问题:**lgn.bjut.edu.cn 这个网络下,多次访问 设备mac地址会被网络禁,导致程序只能在bjut_wifi下用,我把程序放在openwrt 运行的。
使用端口扫描工具大范围扫描校园网 也会被禁。
等闲下来我再好好修改吧,在此致敬了。

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.