add init script

This commit is contained in:
kxtzownsu 2025-01-10 09:05:32 -05:00
parent 9438aff508
commit 0553608cc7

View File

@ -0,0 +1,11 @@
#!/bin/sh
printf "\033]input:on\a"
printf "\033[?25h"
clear
echo "PicoShim PoC without frecon restart"
echo "shell is pid 1, exit = kern panic"
tty=/dev/pts/0
setsid bash -c "exec script -afqc 'while :; do /bin/bash || :; done' /dev/null <${tty} >>${tty} 2>&1"