mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 18:49:41 +00:00
Compare commits
8 Commits
e07ec52d34
...
630e9be8e6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
630e9be8e6 | ||
|
|
b3398d2341 | ||
|
|
7aabc6ffcd | ||
|
|
17b6db1acc | ||
|
|
a6e8bb3c87 | ||
|
|
50b4c1036e | ||
|
|
5e4e7eead0 | ||
|
|
37ba5451aa |
96
README.md
96
README.md
@ -1,70 +1,44 @@
|
|||||||
|
# MikroTik RouterOS Patch
|
||||||
[](https://github.com/elseif/MikroTikPatch/actions/workflows/main.yml)
|
[](https://github.com/elseif/MikroTikPatch/actions/workflows/main.yml)
|
||||||
|

|
||||||
|
|
||||||
|
[](./LICENSE)
|
||||||
|
[](./CODE_OF_CONDUCT.md)
|
||||||
|
|
||||||
|
|
||||||
|
## ⚠️ 重要声明
|
||||||
|
**此项目及工具仅供测试用途。使用风险自负。生产环境请使用官方授权版本。**
|
||||||
|
|
||||||
|
## 架构:x86、arm64
|
||||||
|
- **主页:** https://mikrotik.ltd/
|
||||||
|
- **演示:** https://demo.mikrotik.ltd/
|
||||||
|
- **授权: 安装OPTION.NPK后将自动授予最高级别许可证。**
|
||||||
|
- **源代码:** https://github.com/elseif/MikroTikPatch
|
||||||
|
- **授权BOT:** https://t.me/ROS_Keygen_Bot
|
||||||
|
- **Docker:** `docker pull ghcr.io/elseif/chr:latest`
|
||||||
|
|
||||||
|
## 架构:arm64, arm, mipsbe, mmips, ppc, smips, x86
|
||||||
|
- **主页:** https://routeros.ltd/
|
||||||
|
- **授权: 需要赞助**,*CHR版本(x86/Arm64)支持在线直接获取授权。*
|
||||||
|
- **功能:** 支持在线自定义制作品牌包
|
||||||
|
|
||||||
|
## 支持的云功能
|
||||||
|
| 功能 | 命令 |
|
||||||
|
|------|------|
|
||||||
|
| 在线升级 | `system/package/update/install` |
|
||||||
|
| DDNS | `ip/cloud/set ddns-enabled=yes` |
|
||||||
|
| 云备份 | `/system/backup/cloud/upload-file action=create-and-upload password=any` |
|
||||||
|
|
||||||
|
## 启用容器模式(无需物理重启)
|
||||||
|
1. 安装 `option.npk` 包。
|
||||||
|
2. 打开终端执行:`system/device-mode/update container=yes`
|
||||||
|
3. 打开新终端执行:`system/shell cmd="reboot -f"`
|
||||||
|
|
||||||
|
### 更多关于RouterOS的信息请查看: https://manual.mikrotik.com/
|
||||||
|
|
||||||
### 感谢赞助
|
### 感谢赞助
|
||||||
[](https://www.digitalocean.com/?refcode=dbf6ed365068&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge)
|
[](https://www.digitalocean.com/?refcode=dbf6ed365068&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge)
|
||||||
[DartNode(aff)](https://dartnode.com?aff=SnazzyLobster067) | [ZMTO(aff)](https://console.zmto.com/?affid=1588) | [Vultr(aff)](https://www.vultr.com/?ref=9807160-9J)
|
[DartNode(aff)](https://dartnode.com?aff=SnazzyLobster067) | [ZMTO(aff)](https://console.zmto.com/?affid=1588) | [Vultr(aff)](https://www.vultr.com/?ref=9807160-9J)
|
||||||
|
|
||||||
**重要提示:** 仅用于**测试目的**。使用风险自负。生产环境请使用官方授权版本。
|
|
||||||
|
|
||||||
继续操作即表示您确认:
|
|
||||||
- 您已阅读并理解所涉及的法律风险和影响
|
|
||||||
- 这些工具将仅在非生产测试环境中使用
|
|
||||||
- 生产部署将使用官方授权软件
|
|
||||||
|
|
||||||
# MikroTik RouterOS Patch [[English](README_EN.md)]
|
|
||||||
[](./LICENSE)
|
|
||||||
[](./CODE_OF_CONDUCT.md)
|
|
||||||
|
|
||||||
### [[Discord](https://discord.gg/keV6MWQFtX)] [[Telegram](https://telegram.me/mikrotikpatch)] [[Keygen(Telegram Bot)](https://telegram.me/ROS_Keygen_Bot)]
|
|
||||||
|
|
||||||
支持:在线更新、在线授权、云备份、DDNS
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
*如果云服务或部署云服务的虚拟主机都不在线,那么在线更新、在线授权、云备份、DDNS以及ROS_Keygen_Bot都暂时不能使用*
|
|
||||||
|
|
||||||
### 从7.19.4和7.20beta8开始,安装option包以后会自动激活授权,如果有rc.local文件,会自动加载运行。
|
|
||||||
```mermaid
|
|
||||||
graph TD
|
|
||||||
A[启动] --> B[检查 keygen 文件是否存在 ]
|
|
||||||
B -->|是| C[fork 执行 keygen]
|
|
||||||
B -->|否| D[检查 rc.local 文件是否存在]
|
|
||||||
C --> D
|
|
||||||
D -->|是| E[fork 执行 /bin/sh rc.local]
|
|
||||||
D -->|否| F[启动服务]
|
|
||||||
E --> F
|
|
||||||
```
|
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
### x86模式在线授权(v6.x)
|
|
||||||

|
|
||||||
### Chr模式在线授权
|
|
||||||

|
|
||||||
|
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
## 如何使用Shell
|
|
||||||
安装 option-{version}.npk 包
|
|
||||||
在终端执行 /sh 进入shell
|
|
||||||
## 如何授权许可
|
|
||||||
安装 option-{version}.npk 包后,重启设备,会自动激活授权许可
|
|
||||||
Chr镜像支持在线授权许可
|
|
||||||
## 如何使用Python
|
|
||||||
安装 python3-{version}.npk 包
|
|
||||||
在终端执行 /sh 进入shell
|
|
||||||
运行 python -V
|
|
||||||
### npk.py
|
|
||||||
对npk文件进行解包,修改,创建,签名和验证
|
|
||||||
### patch.py
|
|
||||||
替换公钥并签名
|
|
||||||
### 如何在不物理重启的情况下启用容器模式
|
|
||||||
1. 安装 option.npk 包。
|
|
||||||
2. 打开终端并执行:`system/device-mode/update container=yes`
|
|
||||||
3. 打开一个新终端并执行: `system/shell cmd="reboot -f"`
|
|
||||||
|
|
||||||
[](https://dartnode.com "Powered by DartNode - Free VPS for Open Source")
|
[](https://dartnode.com "Powered by DartNode - Free VPS for Open Source")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
57
README_EN.md
57
README_EN.md
@ -1,57 +0,0 @@
|
|||||||
[](https://github.com/elseif/MikroTikPatch/actions/workflows/main.yml)
|
|
||||||
|
|
||||||
|
|
||||||
**IMPORTANT:** For **testing purposes only**. Use at your own risk. Production environments require official licenses.
|
|
||||||
|
|
||||||
By proceeding, you acknowledge that:
|
|
||||||
- You have reviewed and comprehend the legal implications and risks involved
|
|
||||||
- These tools will be used exclusively in non-production, test environments
|
|
||||||
- Production deployments shall utilize officially licensed software
|
|
||||||
|
|
||||||
# MikroTik RouterOS Patch [[中文](README.md)]
|
|
||||||
[](./LICENSE)
|
|
||||||
[](./CODE_OF_CONDUCT.md)
|
|
||||||
|
|
||||||
### [[Discord](https://discord.gg/keV6MWQFtX)] [[Telegram](https://telegram.me/mikrotikpatch)] [[Keygen(Telegram Bot)](https://telegram.me/ROS_Keygen_Bot)]
|
|
||||||
|
|
||||||
### Download [Latest Patched](https://github.com/elseif/MikroTikPatch/releases/latest) iso file,install it and enjoy.
|
|
||||||
### CHR image is both support BIOS and UEFI boot mode.
|
|
||||||
|
|
||||||
### Support online upgrade,online license,cloud backup,cloud DDNS
|
|
||||||
|
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
### Renew license for x86 v6.x
|
|
||||||

|
|
||||||
### Renew license for chr
|
|
||||||

|
|
||||||
|
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
## How to use shell
|
|
||||||
install option-{version}.npk package
|
|
||||||
Enter the shell by executing /sh in the terminal.
|
|
||||||
## How to license RouterOS
|
|
||||||
After installing the option-{version}.npk package, reboot the device. The license will be activated automatically.
|
|
||||||
CHR images support online license activation
|
|
||||||
## How to use python3
|
|
||||||
install python3-{version}.npk package
|
|
||||||
Enter the shell by executing /sh in the terminal.
|
|
||||||
run python -V
|
|
||||||
### npk.py
|
|
||||||
Sign,Verify,Create, Extract npk file.
|
|
||||||
### patch.py
|
|
||||||
Patch public key and sign NPK files
|
|
||||||
### How to Enable Container Mode Without Physical Reboot
|
|
||||||
1. Install the option.npk package.
|
|
||||||
2. Open a terminal and run: `system/device-mode/update container=yes`
|
|
||||||
3. Open a new terminal and run: `system/shell cmd="reboot -f"`
|
|
||||||
|
|
||||||
## all patches are applied automatically with [Github Action](https://github.com/elseif/MikroTikPatch/blob/main/.github/workflows/).
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
64
README_PT.md
64
README_PT.md
@ -1,64 +0,0 @@
|
|||||||
[](https://github.com/elseif/MikroTikPatch/actions/workflows/main.yml)
|
|
||||||
|
|
||||||
# Patch para MikroTik RouterOS [[中文](README.md)]
|
|
||||||
[](./LICENSE)
|
|
||||||
[](./CODE_OF_CONDUCT.md)
|
|
||||||
|
|
||||||
### [[Discord](https://discord.gg/keV6MWQFtX)] [[Telegram](https://telegram.me/mikrotikpatch)] [[Keygen (Bot do Telegram)](https://telegram.me/ROS_Keygen_Bot)]
|
|
||||||
|
|
||||||
### Baixe a [ISO modificada mais recente](https://github.com/elseif/MikroTikPatch/releases/latest), instale e aproveite.
|
|
||||||
### A imagem CHR suporta modo de boot tanto BIOS quanto UEFI.
|
|
||||||
|
|
||||||
### Suporte a atualização online, licença online, backup em nuvem e DDNS em nuvem
|
|
||||||
|
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
### Renovar a licença para x86 v6.x
|
|
||||||

|
|
||||||
|
|
||||||
### Renovar a licença para CHR
|
|
||||||

|
|
||||||
|
|
||||||
|
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
## Como usar o shell
|
|
||||||
```bash
|
|
||||||
instale o pacote option-{versão}.npk
|
|
||||||
Execute `/sh` no terminal para entrar no Shell.
|
|
||||||
```
|
|
||||||
|
|
||||||
## Como licenciar o RouterOS
|
|
||||||
```bash
|
|
||||||
Após instalar o pacote `option-{version}.npk`, reinicie o dispositivo. A licença será ativada automaticamente.
|
|
||||||
Imagens CHR suportam ativação de licença online.
|
|
||||||
```
|
|
||||||
|
|
||||||
## Como usar o Python 3
|
|
||||||
```bash
|
|
||||||
instale o pacote python3-{versão}.npk
|
|
||||||
Execute `/sh` no terminal para entrar no Shell.
|
|
||||||
execute `python -V`
|
|
||||||
```
|
|
||||||
|
|
||||||
### npk.py
|
|
||||||
```bash
|
|
||||||
Assina, verifica, cria e extrai arquivos .npk
|
|
||||||
```
|
|
||||||
|
|
||||||
### patch.py
|
|
||||||
```bash
|
|
||||||
Altera a chave pública e assina arquivos .npk
|
|
||||||
```
|
|
||||||
### Como ativar o modo container sem reiniciar fisicamente
|
|
||||||
```bash
|
|
||||||
1. Instale o pacote `option.npk`.
|
|
||||||
2. Abra o terminal e execute: `system/device-mode/update container=yes`
|
|
||||||
3. Abra um novo terminal e execute: `system/shell cmd="reboot -f"`
|
|
||||||
```
|
|
||||||
## Thanks for sponsoring
|
|
||||||
[ZMTO](https://console.zmto.com/)
|
|
||||||
|
|
||||||
## Todos os patches são aplicados automaticamente com [GitHub Actions](https://github.com/elseif/MikroTikPatch/blob/main/.github/workflows/)
|
|
||||||
BIN
image/arm.png
BIN
image/arm.png
Binary file not shown.
|
Before Width: | Height: | Size: 464 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 8.1 KiB |
BIN
image/mips.png
BIN
image/mips.png
Binary file not shown.
|
Before Width: | Height: | Size: 725 KiB |
BIN
image/renew.png
BIN
image/renew.png
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 607 KiB |
Loading…
x
Reference in New Issue
Block a user