【发布时间】:2017-08-10 03:35:59
【问题描述】:
我正在编写一个带有图形用户界面的 iosopendev 插件,以便为 pid 代码执行一些任务。
应用程序本身有一个 control、postint、prerm 文件来获取 root 访问/特权。
发帖:
#!/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_ "$@"
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 [[ ${CYDIA+@} ]]; then
eval "echo 'finish:restart' >&${cydia[0]}"
fi
fi
退出
预售:
#!/bin/bash
rm -f "/Applications/test.app/test_"
有什么方法可以对应用程序进行签名并获得 task_for_pid 访问权限?
谢谢
【问题讨论】:
-
你在用theos吗?
-
是 - 最新版本。
标签: objective-c iphone cydia tweak