SSH + screenshot installed, but how to delete files?

scrowner

New Member
Bronze
Jul 4, 2007
120
0
0
Ok. I got SSH installed on my iPhone. I then ran the winscp and connected to my iPhone via the WiFi in my home. I placed screenshot application in the bin directory and change the properties of the app file. I rebooted, reconnect to the iPhone via winscp and brought up the terminal window in winscp and ran screenshot. YEP it created a foo_0.png in the tmp directory. SWEET!

However....how do I delete the foo_0.png file?

I chmod the file using winscp/properties but I can not delete the file.

Any help?
 

scrowner

New Member
Bronze
Jul 4, 2007
120
0
0
Interesting, Manzana will delete a file for you by simply right clicking on the file. Nice. So, foo_0.png can now be deleted from the iPhone, sweet.

I am still curious as to why I can not delete a file using winscp.
 

FAsnakes

Member
Bronze
Jul 10, 2007
113
0
16
what version of Manzana are you running? as soon as open the .exe it crashes..
 

ajisai

New Member
Jul 4, 2007
13
0
0
shell commands

Check your /bin directory. You probably have only a few command files such as chmod, launchctl, etc.
If you want to execute more shell commands on iPhone, you need to install command s in the /bin directory.

For example, deleting file, the command is "rm"
WinSCP is simply running the rm command when you are trying to "delete."
But since you don't have the "rm" binary file in the iPhone, you get error messages.

So, you need "rm" file in the /bin directory.
You can get the command binary files "iPhone Binaries kit for iPhone"
from
http://iPhone.fiveforty.net/wiki/index.php/Webshell

Quite amazing package.