私は、グラフィカルユーザーインターフェイスでiosopendev tweakを作成して、pidコードのタスクを実行しています。pidのタスクiOS gui
アプリ自体には、ルートアクセス権/特権を取得するためのcontrol、postint、prermファイルがあります。
Postint:
#!/bin/bash
cd "/Applications/test.app/"
# process origin binary
mv test test_
chown root.wheel test_
chmod +s test_
cont=`cat <<"EOF"
#!/bin/bash
dir=$(dirname "$0")
exec "${dir}"/test_ "[email protected]"
EOF
`
# create new fake binary
echo -e "$cont" > test
chown root.wheel test
chmod +x test
#The RESPRING script after Install
declare -a cydia
cydia=($CYDIA)
if [[ $1 == install || $1 == upgrade ]]; then
if [[ ${[email protected]} ]]; then
eval "echo 'finish:restart' >&${cydia[0]}"
fi
fi
終了
PreRmで使う:
#!/bin/bash
rm -f "/Applications/test.app/test_"
アプリに署名し、task_for_pidアクセスを取得する任意の方法はありますか?
ありがとう
あなたはTHEOSを使用していますか? – kennytm
はい - 最新のリビジョンです。 – Teun