What you will need.
-iFile
-console app. Such as (msfconsole)
-time
-brain
Why this tutorial?
-Some console command require you to change directory when wanted to access the file. Such as msfconsole, you need to type in iSSH. cd /var/root/pentest/exploits/framework and then type ./msfconsole to access the console command. (the directory is the default directory of ininjas metasploit package) Which is quite annoying for some instance.
What what this tutorial about?
-This tutorial is about how to access console command fast and effective.
Such as when logon via root. We can directly launch msfconsole in iSSH by typing msfconsole.
How was this possible?
-This is possible by creating symbolic links at environment path such as usr/sbin or usr/bin. Symlink can act as shortcut in windows OS. But it was much more different than windows OS shortcut. Such as shortcut cannot replace a direct link because it's ink extension, while Symlink can make one file in another directory link to multiple location. And it is recoqnize by p0sixshell as direct link to the specific file.
For the real part.
Fire up iFile
Go to the destination of folder.
Try to recognize location of the directory or binary.
Then go parent directory until it cannot further down anymore.
Then go to /usr/sbin directory.
Press the edit button then the + button at the left side below the screen. Choose the symbolic link at the attributes section
Now for the final part.
Type in the directory or binary location at the link target box.
WARNING:NEVER ENTER THE WRONG LINK TARGET OF SYSTEM FILES. IT MAY LEAD TO SYSTEM PANIC OR BOOTLOOP.
Then press done to save the Symlink file.
Tada! All is done!
What technique is this frequently used on?
-When you jailbreak your system and first launch the cydia. It will show preparing file system. Actually, what they are doing is they aremoving the system file to second partition and Symlink it to the first partition. That is the mobile partition. This is because without moving the system file to second partition. The root partition will be outta space and eventually cannot fit in cydia apps or what we called jailbroken apps.
My tutorial had finished. Dont forget to +1 as I wrote it purely on an iPhone.