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 2009-05-14 12:37

>>80
HIBT?

Name: Anonymous 2009-05-14 13:01

>>80
Just place the processor in an nth-complexity infinite binary loop - which can severely damage the processor if left running that way too long.

Name: Anonymous 2009-05-14 15:03

POKE 59458,62

Also, playing with the video timing registers can produce interesting effects on old CRTs, e.g. setting the start of a scanline after the end shut almost killed of my old monitors but it recovered after being left turned off for a while.

Name: Anonymous 2009-05-14 15:39

int main()
{

cout << 1/0;

system("pause");
return 0;
}

Name: Anonymous 2009-05-14 15:41

>>84
int main considered harmful

Name: Anonymous 2009-05-14 15:47

double main(int argc, char **argv)
{
    return 3.14;
}

Name: Anonymous 2009-05-14 15:50

>>85
You mean standard.

Name: Anonymous 2009-05-15 1:24

>>87
STANDARDS ARE HARMFUL!
THEY INTERFERE WITH OPENNESS!
MICROSOFT OWNS ALL THE STANDARDS
THE FORCED INDENTATION OF MY PENIS

Name: Anonymous 2009-05-15 2:26

>>88
because non-standard formats like ms word documents are way more open than plain text, right?

Name: Anonymous 2009-05-15 14:10

>>89
MS Word is the de-facto standard.

Name: Anonymous 2009-05-15 23:13

>>89
With plain text you need to worry about which encoding the text uses. Is it ASCII? Or maybe even UTF-16? What about Shift-JIS? It is a mystery. The good thing about the MS Word standard is that it answers not only these questions, but much, much more.

Name: Anonymous 2009-05-15 23:50

>>91
your filesystem doesn't store metadata like MIME type and encoding?

Name: Anonymous 2009-05-16 0:40

>>92
My filesystem is the File Allocation Table (version 32)

Name: Anonymous 2009-05-16 1:40

          ∧_∧   / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
          ( ´∀`) < This is my table, keep your files elsewhere.
        /    |    \________
       /       .|     
       / "⌒ヽ |.イ |
   __ |   .ノ | || |__
  .    ノく__つ∪∪   \
   _((_________\
    ̄ ̄ヽつ ̄ ̄ ̄ ̄ ̄ ̄ | | ̄
   ___________| |
    ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄| |

Name: Anonymous 2009-05-16 6:07

>>90
MS Word is a shitty standard.

Name: Anonymous 2009-05-17 1:10

#include <isostream>

using namespace std;

int main(void)

Cout>>>("hello world!")
cin<<<("hi");

return 1;

This is written in C++ for further reference, please be cautious with this code.

Name: Anonymous 2009-05-17 1:21

>>96
#include <isostream>
What is this?

Name: Anonymous 2009-05-17 1:28

>>97
Is that all you could find in that terrible! snippet?

Name: Anonymous 2009-05-17 1:31

>>98

Terrible? Please learn how to program

>>97

Iso = input/specify/output

....seriously, thats basic stuff.

Name: Anonymous 2009-05-17 1:33

>>96

can u hack ur school computer with this?

Name: Anonymous 2009-05-17 2:23

>>100
Only when you read SICP

Name: Anonymous 2009-05-17 14:38

never tried it and sure as hell wont but what about "rm -rf /*" ?

Name: Anonymous 2009-05-17 15:06

>>102
It does, but it probably won't be if the idiots have their way. Plenty of people complain that it is allowed and defend the idiocy of users who copy commands without comprehending what they are for. One classic example is http://kmandla.wordpress.com/2007/12/06/its-true-sudo-rm-rf-kills-ubuntu-a-bug-report/ but there are plenty of more recent complaints if you look.

Name: Anonymous 2009-05-17 15:28

>>103
removing / itself is impossible. attempting to do so is always an error. does the broken gnu rm not check to make sure a directory can be removed before recursively removing everything in it?

Name: Anonymous 2009-05-17 15:36

>>104
He's not removing /, he's removing everything in the root directory.

Name: Anonymous 2009-05-17 15:36

Wait, HIBT?

Name: Anonymous 2009-05-17 16:16

>>105
>>103 was talking about removing /.

Name: Anonymous 2009-05-17 16:56

>>96

Heres some more dangerous code.

include <isostream>

using namespace std;

int age
char name

cout<<<"please enter age";
cin>>"12";

cout<<<"please enter name";
cin>>"hiratio";

loop == true;
return 2;

This is also written in C++, so be cautious with it.

Name: Anonymous 2009-05-17 17:02

>>108

This code is useful for bypassing logins by confusing the AI that is running the database, I'm still trying to tweak it so give me some suggestions.

Name: Anonymous 2009-05-17 19:16

>>93
>>94
I laughed for a good two minutes straight. Good show.

Name: Anonymous 2009-05-17 20:08

>>103
rm: This is Ubuntu, faggot.

>>104
A directory can never be removed before recursively removing everything in it.  Are you suggesting that rm should waste it's time trying to approximate all of the other checks a kernel might do (in this case, checking for filesystem mounts on the target directory) for every file in the tree before going back and removing any?

Name: Anonymous 2009-05-17 21:18

>>107
What did slashdot ever do to you?

Name: Anonymous 2009-05-17 21:28

Are you suggesting that rm should waste it's time trying to approximate all of the other checks a kernel might do (in this case, checking for filesystem mounts on the target directory) for every file in the tree before going back and removing any?
no. it should have the kernel check that the directory can be removed (or that the only thing preventing it from being removed is the fact that it's not empty) before it removes anything.

Name: Anonymous 2009-07-12 5:54

   -{$_}?$\:'   PERL = /heyska /heyska ;$I=int($I*$M/$Z);$K=int( a{    full it nyoro~n was crap. removed it the have removed =   return  in only the Dot  is Fail 30 libc.   X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*  dividing

Name: Anonymous 2010-11-27 7:25

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