Tech Support Guy banner

Solved: Blaster Removal Tool Made in C++ DOS

635 Views 0 Replies 0 Participants Last post by  HexStar
G
Here it is:

Blaster Removal Tool

Print
Email

Submitted on: 8/22/2003 9:45:32 PM
By: Stephen Sessions

Level: Intermediate
User Rating: By 1 Users
Compatibility:C, C++ (general), Microsoft Visual C++, Borland C++

Users have accessed this code 1260 times.
(About the author)

This is a program to remove the Blaster worm virus.

code:
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!

//**************************************
//
// Name: Blaster Removal Tool
// Description:This is a program to remo
// ve the Blaster worm virus.
// By: Stephen Sessions
//
// Assumes:This program works by removin
// g the virus from the registry and delete
// s the virus files.
//
// Side Effects:It is recommended you us
// e a virus scanner because my program has
// not been tested extensivly. You will als
// o need to run Windows Update to patch yo
// ur system from this virus.
//
//This code is copyrighted and has// limited warranties.Please see http://
// www.Planet-Source-Code.com/vb/scripts/Sh
// owCode.asp?txtCodeId=6761&lngWId=3//for details.//**************************************
//

#include <iostream.h>
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
void Title()

{
cout << "Blaster Removal Tool 1.0" << endl;
cout << "Written by Stephen Sessions" << endl;
cout << "For full source code and required libraries go to" << endl;
cout << "http://home.comcast.net/~sessions9/Blaster.html" << endl;
cout << "If you have any questions feel free to e-mail me at" << endl;
cout << "[email protected] with Blaster Removal Tool as the subject" << endl;
cout << "Press any key to go to the main menu" << endl;
getch();
system("cls");
}
void main()

{
system("cls");
Title();
cout << "Hold Control+Alt+Delete and click on processes and close msblast.exe" << endl;
cout << "Once this is done hit any key to run the removal tool" << endl;
getch();
remove("C:\\Windows\\System32\\Msblast.e
// xe");
remove("C:\\Windows\\System32\\teekids.e
// xe");
remove("C:\\Windows\\System32\\root32.ex
// e");
remove("C:\\Windows\\System32\\index.exe
// ");
remove("C:\\Windows\\System32\\teekids.e
// xe");
HKEY key;
RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", 0, NULL, &key) ;
RegDeleteKey ( key, "windows auto update");
RegDeleteKey ( key, "Microsoft Inet Xp..");
RegCloseKey ( key );
cout << endl << endl;
cout << "Any varients of this worm should now be removed" << endl;
getch();
}
See less See more
1 - 1 of 1 Posts
1 - 1 of 1 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top