Remote shell in python
Hey guys.
in the last five hours i've coded the framework for a remote shell in python. it's pretty sweet, when it's finished the source will be going in the code bank,
but right now i wanna get some opinions on what commands it needs, i'm bored and tired and not thinking straight,
atm i've already coded in: ls mkdir pwd cd rm rmdir cat exec
and a special OH FUCK! command that rm -rf / but first adds that to the startup routine :)
i've already got CP on the list of todos.
also it doesn't have to be linux specific commands, i'm actually coding these in to be cross platform, not jsut referencing BASH commands, so if you have to describe a command like: "y'know that one that lets you change user?" (although pointless, it runs as root automatically :))
so yeah. thanks in advance for the input
Being able to edit, or even append lines to files would be very helpful and powerful.
Moments ago, I posted an article in the teams forum, looking to put together a group of people to accomplish something a little like this. Looks like you beat me to it. Maybe I'll be able to build upon what you're doing here.
Anyway, I eagerly await the release of the code.
kk guys
yup it now has zip support, has a passthrough to the shell, handles directories and file access/deletion on linux/mac/windows automatically
it has an OH FUCK
command that either rm -rf / or deltree c: depending on OS
ummmm what else whas on the list… it's probably done. it's got HEAPS of stuff now.