Quote:
Originally Posted by CircuitX View Post
This is a very short tutorial describing how to make a very simple batch virus which consists of only 6 characters.

This virus will delete every file with any file extension.

Here's the code:


3 Easy Steps to Turn It Into a Virus
1)Type that into notepad.
2)Save the file as a ".bat".
3)Send it.

As the unsuspecting victim opens the file, his whole hard-drive will be erased.

PLEASE DO NOT ACTUALLY DO THIS. THIS IS FOR EDUCATION ONLY.

DISCLAIMER: I will not be held responsible for the actions of people who read this tutorial. This tutorial is for educational purposes ONLY. And does not in anyway encourage illegal activity.
Nice. Although depending on how he runs it, it might only clean out the current directory. Also adding force and quiet flags as well as @echo off might make him a bit less suspicious... most users wouldn't answer affirmative to a prompt like "C:\Users\<their user>\*.*, Are you sure (Y/N)?". Of course, for a few extra characters, you can just format c.
Good post, though. It demonstrates just how easy it is to write a virus for windows.

As a side note... it's funny how a disclaimer can take up more space than its code. lol

Last edited by fourthdimension; 4Feb2009 at 12:15..