"Some kid gets into your server and runs this script while you arent around to fix it it could not only take up all your memory but may even take your site offline."
As opposed to, say:
cd /; rm -rf *
I'm not getting the point here. If "some kid gets on to your server" with shell access, it won't matter all that much whether Python is installed or not. :-)
Fun story: when I read "cd /; rm -rf *" or anything similiar anywhere my fingers automatically lift off the keyboard and start to tingle. It's a self defense mechanism that I didn't know I had until now.
9 comments
[ 2.9 ms ] story [ 28.9 ms ] threadthe problem is you need root for that. The OPs code there, even though it is quite amateurish, doesn't require root.
On the other hand, and machine with properly configured limits will mitigate either one.
As opposed to, say:
cd /; rm -rf *
I'm not getting the point here. If "some kid gets on to your server" with shell access, it won't matter all that much whether Python is installed or not. :-)
I'm guessing this is some sort of joke, but you can bever be too sure.