Mikrotik initrd hacks
Find a file
Sergey Sergeev 21d602c331 Fix support for routeros-arm-6.44 and RB3011
Signed-off-by: Sergey Sergeev <adron@yapic.net>
2020-08-26 12:46:47 +03:00
cpio-fs-arm Fix support for routeros-arm-6.44 and RB3011 2020-08-26 12:46:47 +03:00
cpio-fs-mips Added support for mips ARCH and RouterOS 6.45.6 2019-10-18 17:04:28 +03:00
finder fully unpacker rework. Now the unpacker can get the kernel directly from *.npk file! 2019-09-11 17:22:45 +03:00
for_ftp_upload/pub Fix support for routeros-arm-6.44 and RB3011 2020-08-26 12:46:47 +03:00
init Fix support for routeros-arm-6.44 and RB3011 2020-08-26 12:46:47 +03:00
ready-kernels Implemented a work_dir autodetection(fixed broken IPQ-40XX support) 2019-09-12 08:17:05 +03:00
.gitignore Finally, support for 7.0b1 has been added. 2019-09-12 00:55:18 +03:00
dump_elf.sh add copyrights and warnings 2019-03-09 20:28:19 +03:00
ftp_upload.sh Finally, support for 7.0b1 has been added. 2019-09-12 00:55:18 +03:00
globals.sh Fix support for routeros-arm-6.44 and RB3011 2020-08-26 12:46:47 +03:00
pack-kernel.sh Added support for mips ARCH and RouterOS 6.45.6 2019-10-18 17:04:28 +03:00
README.md Fix support for routeros-arm-6.44 and RB3011 2020-08-26 12:46:47 +03:00
unpack-kernel.sh Added support for mips ARCH and RouterOS 6.45.6 2019-10-18 17:04:28 +03:00
unpack-npk.sh Trying to add support 7.0b1. So far, unsuccessful! 2019-09-11 21:52:24 +03:00

Mikrotik netboot/initrd jailbreak

(C) Sergey Sergeev, 2019-2020

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!

  1. Use RouterOS 6.44 or 6.45.6 or 7.0b1!
  2. Upload(using FTP) content of ./for_ftp_upload/pub/* to /pub (or /flash or /flash/rw/disk/pub) folder on target RouterOS device
  3. Netboot(via bootp and tftp) with kernel-new.elf
  4. telnet x.x.x.x 22111

Все что вы делаете, вы делаете на свой страх и риск! Автор не несет никакой ответственности за ваши действия и их последствия! Данный код представляется as-is и исключительно в учебных целях!

For Developers: Place routeros-XXX.mpk to ./ros/ cd ./finder ./Build.sh cd .. edit ./globals.sh and set your target device ARCH: arm or mips ./unpack-npk.sh ./ros/routeros-mipsbe-6.45.6.npk ./unpack-kernel.sh cd ./init ./compile.sh cd .. Make the necessary changes to the ./cpio-fs-ARCH(copy oldinit && order from ./bins/initramfs.cpio, 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/pub/* to target RouterOS device via FTP(to /pub or /flash or ...) Put ./bins/kernel-new.elf to your tftp and Netboot from it telnet x.x.x.x 22111