Batch
Files are very powerful programs that can cause unwanted result. There
are many malicious combinations that can harm your computer. They can
range from erasing windows to disabling keyboard via registry etc. Most
famous malicious batch program is "Fork Bomb". It opens a program
repeatedly so your memory filled and eventually your computer get
crashes.
Create your own batch file,
1. Open Notepad.exe by either going to Run and typing "Notepad" without quotes or click Start > All Programs > Accessories > Notepad.
2. Copy and Paste the following code into Notepad:
@echo off
Echo Hello World!
pause
Note: After you paste this code in your notepad just click file > save as and save anything.bat, And choose save type as: All files.
In
my next tutorial I'll explain you about malicious batch program with
example. Use all tricks only for educational purpose. Don't do any
illegal activities, Then it'll cause unwanted result for you.
Create your own batch file,
1. Open Notepad.exe by either going to Run and typing "Notepad" without quotes or click Start > All Programs > Accessories > Notepad.
2. Copy and Paste the following code into Notepad:
@echo off
Echo Hello World!
pause
Note: After you paste this code in your notepad just click file > save as and save anything.bat, And choose save type as: All files.
Then click save. Then click on your batch file.
"Its not an malicious program, What it do is it will open a cmd prompt and it display Hello world! in it. Like in the pic below.
To stop any batch prog, Go to your task manager and click process and search for your file and click end process.
Say Thanks to http://www.geekfloor.com
No comments:
Post a Comment