From 50bfe747e308527f6c26c9217392324eacb05e8f Mon Sep 17 00:00:00 2001 From: zyb Date: Mon, 24 Jun 2024 03:28:35 +0800 Subject: [PATCH] modified: README.md modified: README_CN.md --- README.md | 5 +++++ README_CN.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index d2c354d..45d34d9 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,11 @@ install python3-{version}.npk package run telnet to routeros with username devel and password is same as admin run python -V +## How Covert x86 and Chr + to Chr,run this command in shell + echo -e "\x01" | dd of=/dev/sda bs=1 count=1 seek=336 conv=notrunc + to x86,run this command in shell + echo -e "\x00" | dd of=/dev/sda bs=1 count=1 seek=336 conv=notrunc ### npk.py Sign,Verify,Create, Extract npk file. ### patch.py diff --git a/README_CN.md b/README_CN.md index cb484b2..053dc5b 100644 --- a/README_CN.md +++ b/README_CN.md @@ -23,6 +23,11 @@ 安装 python3-{version}.npk 包 telnet到RouterOS,用户名devel,密码与admin的密码相同 运行 python -V +## x86和Chr如何转换 + 转换到Chr,在shell中运行下面命令 + echo -e "\x01" | dd of=/dev/sda bs=1 count=1 seek=336 conv=notrunc + 转换到x86,在shell中运行下面命令 + echo -e "\x00" | dd of=/dev/sda bs=1 count=1 seek=336 conv=notrunc ### npk.py 对npk文件进行解包,修改,创建,签名和验证 ### patch.py