C# Class InterceptKeys

Afficher le fichier Open project: htll/KeyStealer Class Usage Examples

Méthodes publiques

Méthode Description
Main ( ) : void
checkInternet ( ) : bool
createShortcut ( string shortcutName, string shortcutPath, string targetFileLocation ) : void

This method creates a shortcut

Private Methods

Méthode Description
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

Method Details

Main() public static méthode

public static Main ( ) : void
Résultat void

checkInternet() public static méthode

public static checkInternet ( ) : bool
Résultat bool

createShortcut() public static méthode

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
Résultat void