Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Community > MacNN Lounge > Balls.

Balls.
Thread Tools
moep
Senior User
Join Date: Nov 2003
Status: Offline
Reply With Quote
Nov 6, 2008, 04:55 PM
 
DO NOT RUN THE CODE IN THIS POST. It has a 1 in 6 chance of deleting most of your files. —Chuck

just came across this little gem on slashdot:

Code:
[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live"
(my production MBP lives!)
yes, I probably wouldn’t have done without time machine.
( Last edited by Chuckit; Nov 6, 2008 at 05:04 PM. )
"The road to success is dotted with the most tempting parking spaces."
     
Chuckit
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Nov 6, 2008, 05:08 PM
 
Geez, people, don't post this stuff without warning what it is. Just because you know what it does without running it doesn't mean everybody else will.

What it is, for people who don't get it, is Russian Roulette with your hard disk.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
moep  (op)
Senior User
Join Date: Nov 2003
Status: Offline
Reply With Quote
Nov 6, 2008, 05:12 PM
 
People that don’t know what this is probably also don’t know how or where to run it.
And a fast ^C will save you anyway!

PS: run it as a cronjob for full effect
( Last edited by moep; Nov 6, 2008 at 05:23 PM. )
"The road to success is dotted with the most tempting parking spaces."
     
sek929
Posting Junkie
Join Date: Nov 1999
Location: Cape Cod, MA
Status: Offline
Reply With Quote
Nov 6, 2008, 05:15 PM
 
Well I have no idea what the code does but I certainly know where to enter it.

You could have really screwed up some people's days with that.
     
OwlBoy
Addicted to MacNN
Join Date: Nov 1999
Location: Madison, WI
Status: Offline
Reply With Quote
Nov 6, 2008, 05:16 PM
 
hahahaaha
     
Rumor
Moderator
Join Date: Feb 2006
Location: on the verge of insanity
Status: Offline
Reply With Quote
Nov 6, 2008, 05:44 PM
 
Terminal command, right?
I like my water with hops, malt, hops, yeast, and hops.
     
Dakar V
Addicted to MacNN
Join Date: Aug 2008
Location: The New Posts Button
Status: Offline
Reply With Quote
Nov 6, 2008, 05:46 PM
 
Originally Posted by Rumor View Post
Terminal command, right?
In more than one sense.
     
Peter
Addicted to MacNN
Join Date: Oct 2002
Location: England | San Francisco
Status: Offline
Reply With Quote
Nov 6, 2008, 05:55 PM
 
haha, genius.
we don't have time to stop for gas
     
moonmonkey
Professional Poster
Join Date: Jan 2001
Location: Australia
Status: Offline
Reply With Quote
Nov 6, 2008, 08:18 PM
 
it doesn't wor
     
auto_immune
Dedicated MacNNer
Join Date: May 2008
Status: Offline
Reply With Quote
Nov 6, 2008, 08:22 PM
 
Be a real man - play your russian roulette with a real gun, you wimp!
     
andreas_g4
Professional Poster
Join Date: Mar 2002
Location: adequate, thanks.
Status: Offline
Reply With Quote
Nov 6, 2008, 10:08 PM
 
for the thread title.
     
Tomchu
Mac Elite
Join Date: Sep 2005
Status: Offline
Reply With Quote
Nov 6, 2008, 10:09 PM
 
Honestly? Someone who finds random code somewhere, has no idea what it does, and then runs it probably deserves what they get.

If you don't know what it does, don't touch it!
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 07:58 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,