基于 Nonebot2 的 FinalShell 激活码生成插件
Project description
📖 介绍
一个简单的 NoneBot2 插件,用于生成 FinalShell 的激活码。本插件基于公开的算法实现,可以根据用户提供的机器码,计算并返回适用于多个 FinalShell 版本的激活码。
本插件为纯文本交互,理论上支持所有适配器。
💿 安装
使用 nb-cli 安装
在 NoneBot2 项目的根目录下打开命令行,输入以下指令即可安装nb plugin install nonebot-plugin-fuckfinalshell
使用包管理器安装
在 NoneBot2 项目的插件目录下(或项目根目录),打开命令行,根据你使用的包管理器,输入相应的安装命令:uv
uv add nonebot-plugin-fuckfinalshell
安装仓库 main 分支:
uv add git+https://github.com/006lp/nonebot-plugin-fuckfinalshell@main
pdm
pdm add nonebot-plugin-fuckfinalshell
安装仓库 main 分支:
pdm add git+https://github.com/006lp/nonebot-plugin-fuckfinalshell@main
poetry
poetry add nonebot-plugin-fuckfinalshell
安装仓库 main 分支:
poetry add git+https://github.com/006lp/nonebot-plugin-fuckfinalshell@main
然后,手动或使用 nb 命令将插件加载到你的 NoneBot2 项目中。
如果使用 pyproject.toml 管理插件,请确保在 [tool.nonebot] 部分添加了插件名:
[tool.nonebot]
# ... 其他配置 ...
plugins = ["nonebot_plugin_fuckfinalshell"]
# ... 其他插件 ...
⚙️ 配置
本插件无需任何额外配置即可使用。
🎉 使用
指令表
| 指令 | 别名 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|---|
/fskey <机器码> |
finalshellkey |
任何人 | 否 | 群聊/私聊 | 根据机器码生成 FinalShell 激活码。 |
说明
<机器码>: 你的 FinalShell 软件中显示的机器码。- 无参数: 如果直接发送
/fskey,机器人会返回使用帮助。
🎨 返回示例
查询成功示例:
为机器码 1a2b3c4d5e 生成的激活码如下:
FinalShell < 3.9.6
🟡 高级版: a1b2c3d4e5f6a1b2
🟢 专业版: b2c3d4e5f6a1b2c3
FinalShell ≥ 3.9.6
🟡 高级版: c3d4e5f6a1b2c3d4
🟢 专业版: d4e5f6a1b2c3d4e5
FinalShell 4.5
🟡 高级版: e5f6a1b2c3d4e5f6
🟢 专业版: f6a1b2c3d4e5f6a1
FinalShell 4.6
🟡 高级版: a1b2c3d4e5f6a1b2
🟢 专业版: b2c3d4e5f6a1b2c3
无参数或格式错误示例:
使用方法:
/fskey <你的机器码>
例如:
/fskey ABCDEFG
⚠️ 使用警告
- 仅供学习与技术交流! 本项目旨在研究其加密算法,请勿用于商业和非法用途。
- 请支持正版! 如果您喜欢 FinalShell,请考虑购买正版授权以支持开发者的持续创作。
- 用户应对自己的使用行为负责,开发者不承担任何因使用此插件造成的直接或间接责任。
📃 许可证
本项目采用 AGPL v3 许可证。
🙏 致谢
- NoneBot2: 插件开发框架。
- PyCryptodome: 提供加密算法库。
- 互联网上公开算法的研究者: 为本项目提供了算法基础。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_fuckfinalshell-0.1.1.tar.gz.
File metadata
- Download URL: nonebot_plugin_fuckfinalshell-0.1.1.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2fb8d18f5f00e1785c7961ff5533741ebbe122a7d8ce8ab7b57e951365a9d88
|
|
| MD5 |
d7c043b3d12755b6607a3f2d829f350a
|
|
| BLAKE2b-256 |
a8267dbf92a4c9cd44a8e776f84543c0141f71cdb408d59b51a9ba24798b3513
|
File details
Details for the file nonebot_plugin_fuckfinalshell-0.1.1-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_fuckfinalshell-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd5dedab60ac03819306351b1d20d45f7fd60a4f8d17a62beb37b437adaae42e
|
|
| MD5 |
4d339c8e6c3244031e8605ccc0cf2e63
|
|
| BLAKE2b-256 |
55858614bab2ac23571f9410f11836dd19bf0b07a4bb5cad4dd9f4d0b4200dfa
|