Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Submission Summary: 0 pending, 1 declined, 0 accepted (1 total, 0.00% accepted)

For the out-of-band Slashdot experience (mostly headlines), follow us on Twitter, or Facebook. ×
Security

+ - 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."

What is now proved was once only imagin'd. -- William Blake

Working...