Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Malicious possibilities?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Malicious possibilities?
Authored by: Peganthyrus on Dec 17, '01 11:46:58AM

do shell script "rm -r /*.*"

or something like that?

I <i>do</i> hope that it's not possible to quietly do evil things like that with this new capability.



[ Reply to This | # ]
Malicious possibilities?
Authored by: bombich on Dec 17, '01 06:15:13PM

Sure:

do shell script "echo 'rootpassword' | sudo -S <malicious code>"

would do the job. Without the root password, though, you can't do it. I wonder what would happen if the script was open by root, i.e. from cron...



[ Reply to This | # ]