Both sides previous revision
Previous revision
|
Next revision
Both sides next revision
|
og:ipabuild:start [2019/01/14 04:14] czokie |
og:ipabuild:start [2019/01/14 06:55] czokie |
echo "${USER} ALL = NOPASSWD: ALL" > /etc/sudoers.d/build | echo "${USER} ALL = NOPASSWD: ALL" > /etc/sudoers.d/build |
if [ -e /etc/sysconfig/selinux ]; then | if [ -e /etc/sysconfig/selinux ]; then |
sed -ie "s/enforcing$/permissive/g" /etc/sysconfig/selinux | sed -i "s/enforcing$/permissive/g" /etc/sysconfig/selinux |
echo "Run the next step as username: ${USER}" | echo "Run the next step as username: ${USER}" |
banner "Rebooting" | banner "Rebooting" |
/usr/bin/perl -pi -e "if (/ak-construct/) { s/=.*[0-9]/==`pip freeze | grep ^ak-construct | cut -d "=" -f 3`/ }" setup.py | /usr/bin/perl -pi -e "if (/ak-construct/) { s/=.*[0-9]/==`pip freeze | grep ^ak-construct | cut -d "=" -f 3`/ }" setup.py |
| |
sed -ie "s/apt-get/echo apt-get/" INSTALL.sh | sed -i "s/apt-get/echo apt-get/" INSTALL.sh |
if [ ! -e ~/.isign ]; then mkdir ~/.isign; fi | if [ ! -e ~/.isign ]; then mkdir ~/.isign; fi |
#sudo ./INSTALL.sh | #sudo ./INSTALL.sh |
banner install genProvisioningProfile.rb | banner install genProvisioningProfile.rb |
wget -O genProvisioningProfile.rb https://dji.retroroms.info/_export/code/og/ipabuild/start?codeblock=2 | wget -O genProvisioningProfile.rb https://dji.retroroms.info/_export/code/og/ipabuild/start?codeblock=2 |
sed -ie "s/sensepost/`whoami`/" genProvisioningProfile.rb | sed -i "s/sensepost/`whoami`/" genProvisioningProfile.rb |
| |
| |
#cd ~ | #cd ~ |
#git clone https://github.com/LeanVel/iInject | #git clone https://github.com/LeanVel/iInject |
#sed -ie "s/^checkProvisioning$/checkProvisioning/" iInject/iInject.sh | #sed -i "s/^checkProvisioning$/checkProvisioning/" iInject/iInject.sh |
#sed -ie "s/#Installing/cd \"\$currPath\"\ncleanup\nexit 0\n#Installing/" iInject/iInject.sh | #sed -i "s/#Installing/cd \"\$currPath\"\ncleanup\nexit 0\n#Installing/" iInject/iInject.sh |
#curl https://build.frida.re/frida/ios/lib/FridaGadget.dylib --output iInject/FridaGadget.dylib | #curl https://build.frida.re/frida/ios/lib/FridaGadget.dylib --output iInject/FridaGadget.dylib |
| |