Skip to main content

✨ 基于 Nonebot2 的 FinalShell 激活码生成插件 ✨

license pypi python adapter uv

📖 介绍

一个简单的 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: 提供加密算法库。
  • 互联网上公开算法的研究者: 为本项目提供了算法基础。

Metadata

Release files for nonebot-plugin-fuckfinalshell 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-fuckfinalshell 0.1.2
File Size Uploaded
nonebot_plugin_fuckfinalshell-0.1.2.tar.gz 16.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-fuckfinalshell 0.1.2
File Interpreter ABI Platform
nonebot_plugin_fuckfinalshell-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 32.9 kB

Release files / nonebot_plugin_fuckfinalshell-0.1.2.tar.gz

Download URL nonebot_plugin_fuckfinalshell-0.1.2.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9fdd3cbe0b5ff9bf9e5e36791c56dd9a878aa5fdb7adf749daec6cacca26292d
BLAKE2b-256 checksum
How to use checksums
8985c210bba5dd3a0f422dd682620dad20c4a2867d5d9ae0a4b16cd490177dfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / nonebot_plugin_fuckfinalshell-0.1.2-py3-none-any.whl

Download URL nonebot_plugin_fuckfinalshell-0.1.2-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03c5bc0d1efe514999676eac80c58d13d8ad25013b4a2063ab061968a6a3c6bf
BLAKE2b-256 checksum
How to use checksums
a3924d567637196c6b1a3c7fba38c13242357a2577537f260410d09c01ab62a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page