At a high level, there could be two types of shell access on the target device. One is a bind shell, where we will run shell on the target device and connect to it. Second is a reverse shell, where we will run shell on the base system to which the target will connect back. You will learn both ways to obtain shell.
Let's follow the given steps to create a bind TCP shell:
You can check all Metasploit payloads available for
osx/armle. You can use the command
msfvenom –lto list all payloads:
Now, connect your iDevice using SFTP and transfer the payload file to the