Program USB pen drive,memory card or hard drive virus remover

Share

HOW TO MAKE A USB PEN DRIVE, MEMORY CARD OR HARD DRIVE VIRUS REMOVER AND CLEANER IN C++

We all know how important USB pen drives and memory cards have become for us in our daily life. But the fact is that these pen drives also become a safe place for viruses and hack tools to grow in. As soon as you open it and start working with it , the virus spreads infected your system.

Some of these are even not detected by antiviruses. So I m giving here a coding to compile in c++ which can render clean only certain types of viruses and Trojan horses. Do not depend on it completely but use it every time you insert a pen drive or memory card in your system. You can also use it to find any file on any drive.

As soon as you insert, a dialogue box appears. Just click on cancel and open this software.

popup

Here’s the coding

#include<iostream.h>

#include<conio.h>

#include<string.h>

#include<dos.h>

int main()

{int ch;

char strf[60],name[30],dr;

char str[30]=”attrib /s g:\\*.* | find /i “;

char stra[50]=”attrib /s g:\\*.* | find /i \”autorun.inf\”";

char strb[50]=”attrib /s g:\\*.* | find /i \”bha.vbs\”";

char strie[50]=”attrib /s g:\\*.* | find /i \”iexplorer.vbs\”";

char stri[50]=”attrib /s g:\\*.* | find /i \”info.exe\”";

char strra[50]=”attrib /s g:\\*.* | find /i \”ravmon.exe\”";

char strr[50]=”attrib /s g:\\*.* | find /i \”rvhost.exe\”";

char strn[50]=”attrib /s g:\\*.* | find /i \”new folder.exe\”";

char strnf[50]=”attrib /s g:\\*.* | find /i \”new_folder.exe\”";

char att[26]=”attrib -r -h -s -a g:\\*.*”;

char dela[50]=”del g:\\autorun.inf”;

char deli[50]=”del g:\\info.exe”;

char delra[50]=”del g:\\ravmon.exe”;

char delr[50]=”del g:\\rvhost.exe”;

char deln[50]=”del g:\\new folder.exe”;

char delnf[50]=”del g:\\new_folder.exe”;

char delb[50]=”del g:\\iexplorer.vbs”;

char delie[50]=”del g:\\bha.vbs”;

cout<<”\t\tEnter your pen drive letter(ex. g)\t:”;

cin>>dr;

system(“cls”);

str[10]=dr;att[19]=dr;stra[10]=dr;strb[10]=dr;strie[10]=dr;strra[10]=dr;strr[10]=dr;strn[10]=dr;strnf[10]=dr;stri[10]=dr;

delra[4]=dr;dela[4]=dr;deli[4]=dr;delr[4]=dr;deln[4]=dr;delnf[4]=dr;delb[4]=dr;delie[4]=dr;

do

{

cout<<”\t\tVIPUL’S ANSBLOG USB AND HARDDRIVE VIRUS REMOVER\n”;

cout<<”\n\t\t1.Scan for main viruses\n”;

cout<<”\n\t\t2.Delete virus\n”;

cout<<”\n\t\t3.Search any file\n”;

cout<<”\n\t\t4.Exit\n”;

cout<<”\n\t\tEnter Choice : “;

cin>>ch;

if(ch==1)

{

cout<<”Please Wait……scanning\n”;

system(stri);

system(stra);

system(strb);

system(strie);

system(strra);

system(strr);

system(strn);

system(strnf);

cout<<”Press any key to return to menu…”;

getch();

system(“cls”);}

else if(ch==2)

{system(att);

system(delra);

system(deli);

system(dela);

system(delb);

system(delie);

system(delr);

system(deln);

system(delnf);

cout<<”\nPress any key to clear screen and return to menu…”;

getch();

system(“cls”);}

else if(ch==3)

{cout<<”\nEnter string to be searched in double quotes(\” \”) : “;

cin>>name;

strcpy(strf,str);

strcat(strf,name);

system(strf);

cout<<”\nPress any key to clear screen and return to menu…”;

getch();

system(“cls”);

}

else

{cout<<”\n\t\tWrong Choice\n”;system(“cls”);}

}while(ch!=4);

return 0;

}

If you need the compiled working software get it from here

http://turboshare.com/files/43731/USB.exe.html

Use this software for free and you have your own antivirus for free!!!


Other Interesting Articles

Filed Under: Programming


About the Author

Hi ,I am Vipul Bhatia. I am 18 years old and I m doing computer science engg. I have computers and internet as my field of interest as you will make out from my articles. My hobbies are watching movies, listening to music and blogging. I hope you enjoy my articles.

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.

Most Popular Stories