mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 19:17:41 +00:00

It walks the stack and identifies anything that looks like a kernel symbol. This could be a lot more sophisticated.
17 lines
467 B
Text
Executable file
17 lines
467 B
Text
Executable file
mkdir mnt
|
|
mount -o loop _fs_contents mnt/
|
|
cp ../Userland/sh mnt/bin/sh
|
|
cp ../Userland/id mnt/bin/id
|
|
cp ../Userland/ps mnt/bin/ps
|
|
cp ../Userland/ls mnt/bin/ls
|
|
cp ../Userland/pwd mnt/bin/pwd
|
|
cp ../Userland/sleep mnt/bin/sleep
|
|
cp ../Userland/date mnt/bin/date
|
|
cp ../Userland/true mnt/bin/true
|
|
cp ../Userland/false mnt/bin/false
|
|
cp ../Userland/hostname mnt/bin/hostname
|
|
cp ../Userland/cat mnt/bin/cat
|
|
cp ../Userland/uname mnt/bin/uname
|
|
cp kernel.map mnt/
|
|
umount mnt
|
|
sync
|