Skip to content
/ yah3c Public
forked from zlsun/yah3c

中山大学东校区校园网认证的客户端(非官方)

License

Notifications You must be signed in to change notification settings

und3fin3/yah3c

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yah3c

本项目修改自 YaH3C,需要使用 Python 3 运行.

修改是为了便于打包成 Arch LinuxAUR.

安装

ArchLinux 用户:

推荐使用 yaourt 安装:

yaourt -S yah3c

其他安装工具见 AUR helpers - ArchWiki. 你也可以 手动安装.

其他 Linux 用户

git clone https://github.com/zlsun/yah3c
cd yah3c
python3 setup.py install # 可能需要加上 sudo

配置

用户的登陆信息按照如下的格式保存在文件/etc/yah3c.conf中:

[account]                  # 你的帐户
password = 123456          # 密码
ethernet_interface = eth0  # 使用的网卡,默认为eth0
dhcp_command = dhcpcd      # 验证成功后使用的dhcp命令(dhcpcd/dhclient),默认为空
daemon = True              # 验证成功后是否变成daemon进程,默认为是
md5_challenge = xor        # MD5-Challenge算法,xor或者md5,默认为xor

使用

sudo yah3c -u account

Thanks

License

YaH3C的代码使用MIT License发布,此外,禁止使用YaH3C以及YaH3C的修改程序用于商业目的(比如交叉编译到路由进行销售等行为)

About

中山大学东校区校园网认证的客户端(非官方)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%