#!/bin/bash
rm -rf ~/.ssh/known_hosts

chmod -R 755 /Applications/Sliver.app/Contents/Resources/Master/magicfiles/

cd /Applications/Sliver.app/Contents/Resources/Master/SSHPASS/

rm -r /Applications/Sliver.app/Contents/Resources/Master/magicfiles/3/Library/

rm /Applications/Sliver.app/Contents/Resources/Master/magicfiles/4/Library/activation_records/activation_record.plist

rm /Applications/Sliver.app/Contents/Resources/Master/magicfiles/4/Library/internal/data_ark.plist

C3=$(./sshpass -p alpine scp -rP 2222 -o StrictHostKeyChecking=no root@127.0.0.1:/private/var/wireless/Library/ /Applications/Sliver.app/Contents/Resources/Master/magicfiles/3/)

BACT1=$(./sshpass -p "alpine" ssh -o StrictHostKeyChecking=no root@localhost -p 2222 find /private/var/containers/Data/System -name activation_record.plist)

BACT2=$(./sshpass -p "alpine" ssh -o StrictHostKeyChecking=no root@localhost -p 2222 find /private/var/containers/Data/System -name data_ark.plist)

./sshpass -p "alpine" ssh -o StrictHostKeyChecking=no root@localhost -p 2222 exit

C4=$(./sshpass -p alpine scp -rP 2222 root@localhost:"$BACT1" /Applications/Sliver.app/Contents/Resources/Master/magicfiles/4/Library/activation_records/)

C5=$(./sshpass -p alpine scp -rP 2222 root@localhost:"$BACT2" /Applications/Sliver.app/Contents/Resources/Master/magicfiles/4/Library/internal/)

chmod -R 755 /Applications/Sliver.app/Contents/Resources/Master/magicfiles/4

killall python
echo "done thanks to Apple Tech 752"
