HOW TO CRASH MY LINUX BOX?

  • aaru
  • Newbie
  • Newbie
  • aaru
  • Posts: 7
  • Loc: INDIA

Post 3+ Months Ago

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
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

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



:]
  • dyefade
  • Expert
  • Expert
  • User avatar
  • Posts: 712
  • Loc: UK

Post 3+ Months Ago

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
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

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
  • pedrotuga
  • Proficient
  • Proficient
  • User avatar
  • Posts: 315

Post 3+ Months Ago

I think he means stuff that happen due to unprotected overusage of resources rather than crashing it on purpose.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

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.
  • aaru
  • Newbie
  • Newbie
  • aaru
  • Posts: 7
  • Loc: INDIA

Post 3+ Months Ago

hello everybody,

thank you for all. ya, i can try the above u have mentioned.
  • Don2007
  • Web Master
  • Web Master
  • Don2007
  • Posts: 4923
  • Loc: NY

Post 3+ Months Ago

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.
  • bttk
  • Born
  • Born
  • bttk
  • Posts: 4

Post 3+ Months Ago

get your kernel version

find a local dos exp from such as milworm.com
  • Don2007
  • Web Master
  • Web Master
  • Don2007
  • Posts: 4923
  • Loc: NY

Post 3+ Months Ago

I have yet to see any source code from the net compile properly for any hack, DOS or otherwise.

Post Information

  • Total Posts in this topic: 10 posts
  • Users browsing this forum: No registered users and 3 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.