Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Note: You can take 10% off all Slashdot Deals with coupon code "slashdot10off." ×
Security

Submission + - Possible OS X exploit

John Nowak writes: "The code below (written in the Io programming language) will make OS X applications running for the current user, plus Terminal and Activity Monitor, inaccessible and will require a logout:

System system("open -a Terminal")
System system("open -a 'Activity Monitor'")
System system("killall TextEdit")
File clone popen("ps auxww") readLines foreach(v, v containsSeq("-psn") ifTrue(System system("open -a TextEdit -psn" ..(v clipBeforeEndOfSeq("-psn")))))

When OS X applications are launched they are normally assigned a unique psn. The little script above tries to launch TextEdit over and over with every psn currently in use. The result is that all programs currently assigned a psn remain running but are inaccessible to the user; They disappear from the Dock and command-tab, become unaffected by mouse clicks, et cetera. Attempting to launch a program with a psn currently in use should not have any effect on the program currently running which is assigned that number, but unfortunately it does."

All Finagle Laws may be bypassed by learning the simple art of doing without thinking.

Working...