6 个版本
0.3.2 | 2023 年 10 月 7 日 |
---|---|
0.3.1 | 2023 年 8 月 22 日 |
0.3.0 | 2023 年 4 月 30 日 |
0.2.1 | 2023 年 4 月 30 日 |
0.1.3 | 2023 年 4 月 10 日 |
#688 在 身份验证 中
每月 22 次下载
44KB
511 行
eelu-login
eelu-login 是一款命令行工具,允许员工和学生通过命令行界面快速轻松地登录到埃及 E-Learning 大学 Moodle 平台。
这是基于 Crypt00o/eelu-login 的分支,增加了更多功能和改进,并修复了错误 =D
安装
您可以通过 Cargo 安装 eelu-login 的最新稳定版本
cargo install eelu-login
或者您可以从仓库获取最新 git 版本
cargo install --git https://github.com/0x61nas/eelu-login.git
或者您可以使用您喜欢的 AUR 辅助工具从 AUR 安装它
yay -S eelu-login # or any other AUR helper you use
用法
eelu-login --help
将显示工具的用法
[+] Usage : eelu-login [--user <username>] [--pass <password>] [--type <staff| sys-user | student>]
Args:
[-user | --user | --username | -username | -u] <username> : username to login with
[-pass | --pass | --password | -p] <password> : password to login with
[-type | --type | --usertype | -usertype | -t] : <usertype>
Flags:
[-o | --open | -open] : open browser after login
[-v | --verbose | -verbose] : verbose mode
[-V | --version | -version] : print version
[-h | --help | -help] : print this help message
usertype can be :
[ staff | 3 ] for staff privilege
[ sys-user | 1] for system user privilege
[ student | 2] for student privilege"#
将 <username>
和 <password>
替换为您的 EELU Moodle 登录凭据,以及 < staff | sys-user | student>
替换为您的用户类型。
如果您不希望在每次运行工具时都输入您的凭据,您可以设置 SIS_EELU_USERNAME
和 SIS_EELU_PASSWORD
环境变量分别为您的用户名和密码。
您不需要指定用户,工具将尝试以学生身份登录,如果失败,将尝试以员工身份登录,如果失败,将尝试以系统用户身份登录。
依赖关系图
由 cargo-depgraph 生成
贡献
如果您想为此项目做出贡献,请先阅读 贡献指南。
还可在以下位置找到
有用链接
许可证:MIT 或 Apache-2.0
依赖项
~13–26MB
~496K SLoC