Everything works ... tested on RB3011. For the rest of the boards, maybe need to slightly correct the path to the /pub directory. |
||
|---|---|---|
| cpio-fs | ||
| finder | ||
| for_ftp_upload | ||
| init | ||
| ready-kernels | ||
| .gitignore | ||
| dump_elf.sh | ||
| ftp_upload.sh | ||
| pack-kernel.sh | ||
| README.md | ||
| unpack-kernel.sh | ||
| unpack-npk.sh | ||
Mikrotik netboot/initrd jailbreak
(C) Sergey Sergeev, 2019
All that you do is at your own risk! The author has not liable for any of you actions and their consequences! This code is presented as is and is solely for educational purposes ONLY!
- Use RouterOS 6.44 or 7.0b1!
- Upload(using FTP) content of ./for_ftp_upload/* to /pub folder on target RouterOS device
- Netboot with kernel-new.elf
- telnet x.x.x.x 22111
Все что вы делаете, вы делаете на свой страх и риск! Автор не несет никакой ответственности за ваши действия и их последствия! Данный код представляется as-is и исключительно в учебных целях!
For Developers: Place routeros-XXX.mpk to ./ros/ cd ./finder ./Build.sh cd .. ./unpack-npk.sh ./ros/routeros-7.0beta1-arm.npk ./unpack-kernel.sh cd ./init ./compile_for_arm.sh cd .. Make the necessary changes to the ./cpio-fs(compile add add busybox, etc...) In the end, when everything is ready, to get ./bins/kernel-new.elf, run: ./pack-kernel.sh Upload content of ./for_ftp_upload/* to target RouterOS device via FTP(to /pub) Put ./bins/kernel-new.elf to your tftp and Netboot from it telnet x.x.x.x 22111