参考
https://www.freebuf.com/company-information/233329.html
工具
https://github.com/tenable/routeros/tree/master/cleaner_wrasse
只有以下的版本能root
- Longterm: 6.30.1 - 6.43.14
- Stable: 3.30 - 6.43.12
=========================================
编译cleaner_wrasse
必备
- Boost 1.66
https://blog.csdn.net/renhaofan/article/details/82083105
https://blog.csdn.net/xiangxianghehe/article/details/78906435
- pthread
- cmake
记得加上头文件
https://github.com/tenable/routeros/tree/master/common
------------------编译过程---------------
mkdir build
cd build
cmake ..
make
-----------------------------------------------
以上所有的编译都可以在win10的linux 子系统上完成。
telnet 到mikrotik ,账户devel 密码是你的admin密码
登陆后发现缺少很多命令。
安装busybox ,自己选对应的busybox 版本,比如我的是x86的,选x86_64
https://busybox.net/downloads/binaries/1.21.1/
busybox 直接安装是不行的,因为系统主要的目录只有只读权限 chmod +x busybox
./busybox --install -s /flash/bin
=============================
附带老外的权限维持,升级后权限不掉
https://medium.com/tenable-techblog/routeros-post-exploitation-784c08044790