HOW TO CRASH MY LINUX BOX?

  • aaru
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Nov 28, 2006
  • Posts: 7
  • Loc: INDIA
  • Status: Offline

Post December 1st, 2006, 10:01 pm

hello friends,

let me know what are the possibilities to crash my linux box? B'coz i need to take prevention from that

kind of crash. no matter is this REDHAT,SUSE,MANDRAKE etc
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post December 1st, 2006, 10:01 pm

  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post December 2nd, 2006, 2:35 am

1) cut the power while its booting up.
2) rm -rf /
3)
Code: [ Select ]
/*------loop.c------------*/
#include <stdio.h>
int main(void)
{
  int i = 1;
  while (i)
  {
    system("gedit");
    system("kwrite");
  }
  return 0;
}
/*---------eof---------*/
gcc -o loop loop.c
./loop
  1. /*------loop.c------------*/
  2. #include <stdio.h>
  3. int main(void)
  4. {
  5.   int i = 1;
  6.   while (i)
  7.   {
  8.     system("gedit");
  9.     system("kwrite");
  10.   }
  11.   return 0;
  12. }
  13. /*---------eof---------*/
  14. gcc -o loop loop.c
  15. ./loop



:]
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • dyefade
  • Expert
  • Expert
  • User avatar
  • Joined: May 22, 2004
  • Posts: 712
  • Loc: UK
  • Status: Offline

Post December 2nd, 2006, 4:51 am

AnarchY SI wrote:
3)
Code: [ Select ]
/*------loop.c------------*/
#include <stdio.h>
int main(void)
{
  int i = 1;
  while (i)
  {
    system("startx");
  }
  return 0;
}
/*---------eof---------*/
  1. /*------loop.c------------*/
  2. #include <stdio.h>
  3. int main(void)
  4. {
  5.   int i = 1;
  6.   while (i)
  7.   {
  8.     system("startx");
  9.   }
  10.   return 0;
  11. }
  12. /*---------eof---------*/

gcc -o loop loop.c
./loop


:]


That will just give you an error to the effect of "X server is running, what's going on!?", and it wouldn't execute the command again until you'd dealt with the last one, I just tried it on a VC and was able to Ctrl-C out of it fine...

aaru, if you're really interested (I am not convinced of this, you look like a troll to me), try running the Fiesty Fawn alphas - they tend to be quite fragile from what I've heard. In my experience, you'll most likely have Linux hang due to problems with X - in ~7 years I've had only one (recurring) problem with Linux, and that turned out to be fixed by replacing the graphics card.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post December 2nd, 2006, 12:21 pm

dyefade wrote:
That will just give you an error to the effect of "X server is running, what's going on!?", and it wouldn't execute the command again until you'd dealt with the last one, I just tried it on a VC and was able to Ctrl-C out of it fine...

yea..i wasn't sure if it would. i was going to test it, but then i fell asleep so hard core it was magnificent. lol
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • pedrotuga
  • Proficient
  • Proficient
  • User avatar
  • Joined: Apr 19, 2005
  • Posts: 315
  • Status: Offline

Post December 3rd, 2006, 11:31 am

I think he means stuff that happen due to unprotected overusage of resources rather than crashing it on purpose.
Rapidshare search engine
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post December 3rd, 2006, 12:59 pm

pedrotuga wrote:
I think he means stuff that happen due to unprotected overusage of resources rather than crashing it on purpose.

good call ;)
but the way the question was stated doesn't really sound..good natured.
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • aaru
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Nov 28, 2006
  • Posts: 7
  • Loc: INDIA
  • Status: Offline

Post December 4th, 2006, 12:06 am

hello everybody,

thank you for all. ya, i can try the above u have mentioned.
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post December 6th, 2006, 1:41 pm

I asked a similar question about 5 years ago except I use FreeBSD, not Linux. I was playing with some python scripts and I asked in a python newsgroup. Of course, I got a few dumb answers and some code that didn't work, just like here.
I think the original poster was serious and I don't think he had any bad intentions but it's hard to convince someone of that under the circumstances.
How do you know when a politician is lying? His mouth is moving.
  • bttk
  • Born
  • Born
  • No Avatar
  • Joined: Dec 08, 2006
  • Posts: 4
  • Status: Offline

Post December 8th, 2006, 6:52 am

get your kernel version

find a local dos exp from such as milworm.com
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post December 8th, 2006, 9:07 am

I have yet to see any source code from the net compile properly for any hack, DOS or otherwise.
How do you know when a politician is lying? His mouth is moving.

Post Information

  • Total Posts in this topic: 10 posts
  • Users browsing this forum: No registered users and 126 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.