mirror of
https://github.com/opa334/TrollStore.git
synced 2026-07-02 11:40:26 +08:00
Make script auto download pwnify_compiled
This commit is contained in:
@@ -33,6 +33,14 @@ APP_NAME=$(find *.app -maxdepth 0)
|
||||
BINARY_NAME=$(echo "$APP_NAME" | cut -f 1 -d '.')
|
||||
cd - 2> /dev/null
|
||||
|
||||
if [ ! -f "./pwnify_compiled" ]
|
||||
then
|
||||
curl https://raw.githubusercontent.com/LinusHenze/Fugu14/master/tools/pwnify_compiled --output ./pwnify_compiled
|
||||
xattr -c ./pwnify_compiled
|
||||
chmod +x ./pwnify_compiled
|
||||
codesign -f -s - ./pwnify_compiled
|
||||
fi
|
||||
|
||||
./pwnify_compiled ./out/tmppwn/Payload/$APP_NAME/$BINARY_NAME ./out/tmppwn/pwn_arm64e
|
||||
rm ./out/tmppwn/pwn_arm64e
|
||||
|
||||
|
||||
Reference in New Issue
Block a user