borderAndreaVB free resources for Visual Basic developersborder
AndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2017 Andrea Tincani

AndreaVB Home | News Home | Forum Home | Downloads | Register | Search | PM | Profile

Previous Topic (Dialux Import with sendkeys)Next Topic (AT command Read SMS using Nokia 6120 classic) New Topic Post Reply
AndreaVB OnLine : VB General : Key logger
Poster Resource
hitech_huzefa
Level: Scholar

Registered: 23-06-2005
Posts: 40
icon Key logger

anybody has key logger codes

07-07-2005 at 04:17 AM
View Profile Send Email to User Show All Posts | Add Comment
Ramya
Level: Expert

Registered: 08-04-2005
Posts: 59
icon Re: Key logger

can u explain as what is keylogger

07-07-2005 at 05:31 AM
View Profile Send Email to User Show All Posts | Add Comment
hitech_huzefa
Level: Scholar

Registered: 23-06-2005
Posts: 40
icon Re: Key logger

it writes keypress in a file.

08-07-2005 at 03:27 AM
View Profile Send Email to User Show All Posts | Add Comment
misterxed
Level: Wizard


Registered: 12-06-2005
Posts: 151
icon Re: Key logger

hi there,
could u please be specific? Do u need a system-wide keylogger? Like whatever key is pressed in any window, it should b logged, or do u need a simple keylogger, that could log keys pressed within ur software?
The logger for ur application can b easy, just write the following code:



Private sub Form_Load()
Open "Abc.txt" For output as #1
End sub

Private sub Form_KeyPress(KeyAscii as integer)
Write #1, CHR$(KeyAscii)
End sub

sub Form_Unload()
Close #1
End sub


For the other type of keylogger, u'll have to learn how to create system wide hooks.. lemme know if u're in trouble with those....
Bye
Happy coding!

____________________________
lOsT...

08-07-2005 at 08:32 PM
View Profile Send Email to User Show All Posts | Add Comment
hitech_huzefa
Level: Scholar

Registered: 23-06-2005
Posts: 40
icon Re: Key logger

Ya i want system wide keylogger can u help me writing codes.

09-07-2005 at 03:01 AM
View Profile Send Email to User Show All Posts | Add Comment
misterxed
Level: Wizard


Registered: 12-06-2005
Posts: 151
icon Re: Key logger

Hi,
hmmm... Huzefa, i think u'll have to read a few articles on the net to understand how SYSTEM hooks work (or rather, what is HOOKING).... however i'm sending u an attachment which i d/loaded from the net. Its a TYPE LIBRARY for system wide hooks, developed by Arkadiy Olovyanikov and i think some others wid him (so thank him, & not me). He has been kind enuf to include some vb sample code as well... (its a great help, Ark, if u eva c this msg, I'd like to give my compliments to u...)
Anyways, i hope u'd learn enuf from this sample that u'd be able to use the dll....
Happy coding  

[Edited by misterxed on 13-07-2005 at 03:20 PM GMT]

____________________________
lOsT...

____________________________
:
SysHookDll.zip 15 KB (: 61)

09-07-2005 at 02:31 PM
View Profile Send Email to User Show All Posts | Add Comment
Goran
Level: Moderator


Registered: 16-05-2002
Posts: 1652
icon Re: Key logger

Goto Search section in this forum, and type WH_KEYBOARD

____________________________
If you find the answer helpful, please mark this topic as solved.

10-07-2005 at 04:30 PM
View Profile Send Email to User Show All Posts | Add Comment
hitech_huzefa
Level: Scholar

Registered: 23-06-2005
Posts: 40
icon Re: Key logger


where is the attachment ?

11-07-2005 at 03:16 AM
View Profile Send Email to User Show All Posts | Add Comment
misterxed
Level: Wizard


Registered: 12-06-2005
Posts: 151
icon Re: Key logger

Oops! Sorry.. I didnt check if the attachment got uploaded or not... now its there... i think i'll suggest Andrea to add a 'File upload progress bar' or something so that we get to know when the file is uploaded...
Anywayz, sorry for the delay...



____________________________
lOsT...

13-07-2005 at 10:24 AM
View Profile Send Email to User Show All Posts | Add Comment
MaNiAc
Level: Trainee

Registered: 08-08-2005
Posts: 1
icon Re: Key logger

just some simple thing, on most Browsers/Webpages you CAN see when the file is uploaded  
just check the progress bar (the on that you see filling when you load a page, for the ones who dont know wot i mean   )

____________________________
Bla Bla Bla
Listen to Radio DES
Bla Bla Bla

08-08-2005 at 01:04 AM
View Profile Send Email to User Show All Posts Visit Homepage | Add Comment
misterxed
Level: Wizard


Registered: 12-06-2005
Posts: 151
icon Re: Key logger

Thank u, ummmm (wat should i call u?? Maniac?)  
I guess i'd be more carefull next time.... But i'm surprised that i didnt c the progres bar.... I think it must have mal functioned ... Anywayz.. Thanks

____________________________
lOsT...

08-08-2005 at 08:38 PM
View Profile Send Email to User Show All Posts | Add Comment
Mikep
Level: Trainee

Registered: 13-08-2005
Posts: 1
icon Re: Key logger

You can buy a keylogger here: http://www.spyarsenal.com

13-08-2005 at 09:08 AM
View Profile Send Email to User Show All Posts | Add Comment
cris
Level: Protégé

Registered: 03-10-2008
Posts: 4
icon Re: Key logger

quote:
misterxed wrote:
hi there,
could u please be specific? Do u need a system-wide keylogger? Like whatever key is pressed in any window, it should b logged, or do u need a simple keylogger, that could log keys pressed within ur software?
The logger for ur application can b easy, just write the following code:



Private sub Form_Load()
Open "Abc.txt" For output as #1
End sub

Private sub Form_KeyPress(KeyAscii as integer)
Write #1, CHR$(KeyAscii)
End sub

sub Form_Unload()
Close #1
End sub


For the other type of keylogger, u'll have to learn how to create system wide hooks.. lemme know if u're in trouble with those....
Bye
Happy coding!


Hi I want to create a keylogger that will log a keystroke from a specific program goint to excell.

is it possible? Please help
03-10-2008 at 05:59 AM
View Profile Send Email to User Show All Posts | Add Comment
misterxed
Level: Wizard


Registered: 12-06-2005
Posts: 151
icon Re: Key logger

Hi & welcome to AndreaVB, Cris!

Altho I've been out of the VB world for a very long time now, but I think I could guide you a teeny bit on this issue.

Download the above attachment, and try it. It'll capture all the keyboard events, then u can filter out the keys that are relevant to ur application - probably the easiest way would be to find out the HWnd (Handle) of ur application, and then setting a filter in the syshook program to show only the keys sent to the HWnd that u want...

Try playing with these things, but u might at times get ur PC stuck cuz windows usually doesnt like the idea of playing with System wide hooks, so its gonna fight back  .

Hope this helps a teeny bit...
Regards

____________________________
lOsT...

04-10-2008 at 09:51 AM
View Profile Send Email to User Show All Posts | Add Comment
cris
Level: Protégé

Registered: 03-10-2008
Posts: 4
icon Re: Key logger

quote:
misterxed wrote:
Hi & welcome to AndreaVB, Cris!

Altho I've been out of the VB world for a very long time now, but I think I could guide you a teeny bit on this issue.

Download the above attachment, and try it. It'll capture all the keyboard events, then u can filter out the keys that are relevant to ur application - probably the easiest way would be to find out the HWnd (Handle) of ur application, and then setting a filter in the syshook program to show only the keys sent to the HWnd that u want...

Try playing with these things, but u might at times get ur PC stuck cuz windows usually doesnt like the idea of playing with System wide hooks, so its gonna fight back  .

Hope this helps a teeny bit...
Regards



Thank you misterxed,

Okay I wwill try on it, but I am just a beginner, anyway is it working in VB 2005? And is it possible to put the output in excell?

Thank you again.
07-10-2008 at 02:26 AM
View Profile Send Email to User Show All Posts | Add Comment
cris
Level: Protégé

Registered: 03-10-2008
Posts: 4
icon Re: Key logger

quote:
misterxed wrote:
Hi & welcome to AndreaVB, Cris!

Altho I've been out of the VB world for a very long time now, but I think I could guide you a teeny bit on this issue.

Download the above attachment, and try it. It'll capture all the keyboard events, then u can filter out the keys that are relevant to ur application - probably the easiest way would be to find out the HWnd (Handle) of ur application, and then setting a filter in the syshook program to show only the keys sent to the HWnd that u want...

Try playing with these things, but u might at times get ur PC stuck cuz windows usually doesnt like the idea of playing with System wide hooks, so its gonna fight back  .

Hope this helps a teeny bit...
Regards



Thank you misterxed,

Okay I wwill try on it, but I am just a beginner, anyway is it working in VB 2005? And is it possible to put the output in excell?

Thank you again.
07-10-2008 at 02:27 AM
View Profile Send Email to User Show All Posts | Add Comment
cris
Level: Protégé

Registered: 03-10-2008
Posts: 4
icon Re: Key logger

quote:
misterxed wrote:
Hi & welcome to AndreaVB, Cris!

Altho I've been out of the VB world for a very long time now, but I think I could guide you a teeny bit on this issue.

Download the above attachment, and try it. It'll capture all the keyboard events, then u can filter out the keys that are relevant to ur application - probably the easiest way would be to find out the HWnd (Handle) of ur application, and then setting a filter in the syshook program to show only the keys sent to the HWnd that u want...

Try playing with these things, but u might at times get ur PC stuck cuz windows usually doesnt like the idea of playing with System wide hooks, so its gonna fight back  .

Hope this helps a teeny bit...
Regards



Thank you misterxed,

Okay I wwill try on it, but I am just a beginner, anyway is it working in VB 2005? And is it possible to put the output in excell?

Thank you again.


Sorry for the double post, I can't delete this I can only edit.

Anyway is it possible to use the macro? since I want to put the data in excell.

Thank you again.

[Edited by cris on 07-10-2008 at 02:45 AM GMT]
07-10-2008 at 02:27 AM
View Profile Send Email to User Show All Posts | Add Comment
yousef.scof
Level: Trainee

Registered: 16-05-2011
Posts: 1
icon Re: Key logger

Hello to all programs

I had a question

I wrote a keylogger

With Vb6

I'll save the Notepad

The only place where I have problems

Notepad she knows how to recognize user
Want to send e-mail
Please surce code


Help   Help   Help   Help

                              

[Edited by yousef.scof on 16-05-2011 at 02:30 PM GMT]

16-05-2011 at 11:28 AM
View Profile Send Email to User Show All Posts | Add Comment
AndreaVB OnLine : VB General : Key logger
Previous Topic (Dialux Import with sendkeys)Next Topic (AT command Read SMS using Nokia 6120 classic)New Topic Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
borderAndreaVB free resources for Visual Basic developersborder
borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2017 Andrea Tincaniborder