EvilZone
Programming and Scripting => Other => Topic started by: flowjob on April 11, 2012, 01:37:42 PM
-
Hey guys,
I need help: a friend of mine needs a script that crashes a computer immediately without damaging it,but I don't have the fatest idea how to do that.I only know 1. 'shutdown' but this doesn't crash it, and 2. an overload-vir,but this would take too long till the computer chrashes...
Has anyone a idea how i could do that? (the language is unimportant,'cause makeing such a little
script doesn't need much knowledge...)
-
Crash without damage?
Uhm... try inflicting the BSOD (assuming it's windows you want to crash).
Or you could make a Batch script (again assuming it's windows) that runs this: http://www.nirsoft.net/utils/start_blue_screen.html
-
Yes, you can actually create your own Blue Screen of Death! Microsoft created this possibility as long as you're willing to make a harmless change to the Windows Registry.
Generating a BSOD on purpose might be useful if you'd like to test your Startup and Recovery settings or maybe you'd just like to see one if you never have. Either way, it's kind of fun and it works on Windows 7, Vista, and XP.
Note: Changes to registry keys are made in these steps. Take care in making only the changes described. I recommend that you backup the registry keys you're modifying in these steps as an extra precaution.
Difficulty: Average
Time Required: The registry changes needed to fake a BSOD take less than 15 minutes to complete
Here's How:
Click on Start. In Windows XP, also click on Run.
In the search box (Windows 7 or Vista) or in the text box in the Run window (Windows XP), type regedit and click OK.
This will open the Registry Editor program.
Locate the HKEY_LOCAL_MACHINE folder under My Computer and click on the (+) sign next the folder name to expand the folder.
Continue to expand folders until you reach the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt registry key.
Select the Parameters key under i8042prt.
From the menu, select Edit, then New and finally DWORD Value.
On the right-hand side of the screen, a new value will appear. Name this new value CrashOnCtrlScroll. The value must be named this exactly to function properly.
Double-click on the CrashOnCtrlScroll DWORD value you just created and set the Value data to 1.
Click OK and then close Registry Editor.
Restart your computer and log back in to Windows as you normally do.
To generate the BSOD, press and hold the Ctrl key on the right side of the keyboard while you press the Scroll Lock key twice in quick succession.
Warning: Your system will lock up and need to be restarted after causing the BSOD so make sure any work you are doing is saved and all programs are closed before initiating the keystrokes above.
The BSOD will appear on screen.
Note: If the BSOD appears but the system reboots immediately, you will need to disable the automatic restart on system failure option in Windows.
Source: [size=78%]http://pcsupport.about.com/od/tipstricks/ht/makebsodxp.htm (http://pcsupport.about.com/od/tipstricks/ht/makebsodxp.htm)[/size]
-
Ill try to find where it's located, but a while back i found a program that tests how your computer handles crashes. Part of that program was it had a hot key that made your computer crash... Again, ill try to find it to add to this post later.
-
@Infinityexists
'key thanks,I'll try it when I've time.From the first look it seems to do exactly what I want :)
-
:(){ :|:& };:
XD
-
@echo off
:start
start a.bat
goto start
name it a.bat and run it :P also can put it in the startup so on every startup it will go and then it will run and then startup a BSOD
enjoy!
Its called a fork bomb by the way
-
@echo off
:start
start a.bat
goto start
name it a.bat and run it :P also can put it in the startup so on every startup it will go and then it will run and then startup a BSOD
enjoy!
Its called a fork bomb by the way
I always did mine like this:
@echo off
start lol.bat
Same principal I guess. I do it at walmart and create a shortcut and put a diff icon on it and name it something like facebook. It's funny to watch some idiot kid click it and the parents are freaking out along with the employees lol.
Anyway, I've never seen them cause a BSOD on recent machines. It goes to "low on virtual memory" error and just locks up with no BSOD.
-
Hrm can't say I've done it in a while I do remember testing it out on an xp machine duall core 2gb ram and it definatly bsod. Might be different with 7 or vista will test and let you know what I get on a win7 machine
-
@echo off
:start
start a.bat
goto start
name it a.bat and run it :P also can put it in the startup so on every startup it will go and then it will run and then startup a BSOD
enjoy!
Its called a fork bomb by the way
You won't believe it,
A few friends of mine found that on youtube about half and a year ago,and sent it their friends. I was intrested in that,how we called it, 'virus'. So I started learning a bit more about batch on youtube. After a while I decided to learn something more advanced,but still n00b-friendly, that's how I started programming (in Python).
This little batch-script is the reason I started programming^^