I know, I know... it's some sick form of voyeurism, i suppose.
Type: Posts; User: schauerlich; Keyword(s):
I know, I know... it's some sick form of voyeurism, i suppose.
also, if you want to check if someone is root, don't just ask them and blindly go ahead even if they aren't. Use /usr/bin/id, and check if it gives you 0 (root).
schauerlich@inara:/$ if [[ `id...
Just because it doesn't crash the system doesn't mean it's okay...
If anything (which I'm still not convinced there should be), you should install it somewhere like...
You install the command to /etc? Uy...
But it's not a shell. You change one variable and then play "pass the bucket" with bash. If you want to write a shell, learn C and fork bash.
I don't think you understand. I'd explain it again, but I'm guessing you'll just ignore it and keep doing whatever anyways. Have fun.
I don't mean to be rude, simply blunt. Most people get what your application does, they're just saying that it's essentially useless. The only problem that it attempts to solve is one that has...
A malicious script could name itself "ls" and put it in the current directory. Then, the next time you want use ls, the malicious script is run instead.
...
All this does is add the current directory to $PATH, and then try to simulate a bash prompt by printing the current directory and reading/executing commands.
A much, much smarter and easier...