

You can modify this file to do anything you'd like to happen on each boot.Īfter "#!/bin/sh" will start a telnet server on each boot.

Lucky for us "/etc/commonStart.sh" is just that file. To do this you must find a write-able file on the device that is called on boot. In most cases you will need to finish running the scripts within /etc/init.d prior to being able to access the entire file system.Īfter gaining root from the above method you can gain persistent root access by having the device boot a telnet root shell (or your choice of server) on boot.

Connect a USB-To-TTL adapter to the Vizio CoStar LT."safe-kernel.Img1" - This is a kernel uImage.įor this particular tutorial we are going to use the u-boot script file "FS.sys" to Hijacking_Kernel_Init Hijack Kernel Init.The exact compilation arguments for mkimage are as follows. This is a text file with u-boot commands in it compiled with mkimage. "FS.sys" - This file is a u-boot script file.On booting the Vizio CoStar LT's bootloader checks for a "FS.sys" and a "safe-kernel.Img1" file on a FAT32 formatted thumb drive.
