C# 클래스 InterceptKeys

파일 보기 프로젝트 열기: htll/KeyStealer 1 사용 예제들

공개 메소드들

메소드 설명
Main ( ) : void
checkInternet ( ) : bool
createShortcut ( string shortcutName, string shortcutPath, string targetFileLocation ) : void

This method creates a shortcut

비공개 메소드들

메소드 설명
CallNextHookEx ( IntPtr hhk, int nCode, IntPtr wParam, IntPtr lParam ) : IntPtr
GetConsoleWindow ( ) : IntPtr
GetModuleHandle ( string lpModuleName ) : IntPtr
HookCallback ( int nCode, IntPtr wParam, IntPtr lParam ) : IntPtr
SetHook ( LowLevelKeyboardProc proc ) : IntPtr
SetWindowsHookEx ( int idHook, LowLevelKeyboardProc lpfn, IntPtr hMod, uint dwThreadId ) : IntPtr
ShowWindow ( IntPtr hWnd, int nCmdShow ) : bool
UnhookWindowsHookEx ( IntPtr hhk ) : bool
init ( ) : void

Method used to copy the executable to user's appdata and make it launch at startup

sendMail ( string logs, string sender, string receiver, string password, string filename ) : void

Method used to send logs via mail

writeLetter ( Keys, key ) : void

Method used to write the key received to the log file

메소드 상세

Main() 공개 정적인 메소드

public static Main ( ) : void
리턴 void

checkInternet() 공개 정적인 메소드

public static checkInternet ( ) : bool
리턴 bool

createShortcut() 공개 정적인 메소드

This method creates a shortcut
public static createShortcut ( string shortcutName, string shortcutPath, string targetFileLocation ) : void
shortcutName string The name of the shortcut
shortcutPath string The location of the shortcut
targetFileLocation string What should be linked
리턴 void