Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

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

Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×
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."

Slashdot Top Deals

"I never let my schooling get in the way of my education." -- Mark Twain

Working...