KeyLogger (version 1.0.0)
index
KeyLogger.html

This file implements a keylogger.
 
~# python3 KeyLogger.py keySpy.conf
 
>>> from os import environ
>>> environ['keySpy.conf'] = 'keySpy.conf'
>>> from SpyWare.KeyLogger import keySpy
>>> keySpy()                  # (using env) OR
>>> keySpy('keySpy.conf')     # (using config file name) OR
>>> keySpy(argv=["KeyLogger.py", "keySpy.conf"]) # (using argv)

 
Classes
       
builtins.object
KeyLogger

 
Daemon = class KeyLogger(builtins.object)
    This class implements a keylogger.
 
  Methods defined here:
__init__(self)
Initialize self.  See help(type(self)) for accurate signature.
get_code(self, event: Union[pynput.keyboard._win32.Key, pynput.keyboard._win32.KeyCode]) -> int
This function return the code of Key or KeyCode.
get_event_char(self, event: pynput.keyboard._win32.Key) -> str
This function get event.char if exist.
get_event_press(self, event: pynput.keyboard._win32.Key) -> None
This method add a key press event.
get_event_release(self, event: pynput.keyboard._win32.Key) -> None
This method add a key release event.
run_for_ever(self) -> None
This function starts the keylogger.
save(self, key: str) -> None
This method save pressed keys in file and clean the events list.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class KeyLogger(builtins.object)
    This class implements a keylogger.
 
  Methods defined here:
__init__(self)
Initialize self.  See help(type(self)) for accurate signature.
get_code(self, event: Union[pynput.keyboard._win32.Key, pynput.keyboard._win32.KeyCode]) -> int
This function return the code of Key or KeyCode.
get_event_char(self, event: pynput.keyboard._win32.Key) -> str
This function get event.char if exist.
get_event_press(self, event: pynput.keyboard._win32.Key) -> None
This method add a key press event.
get_event_release(self, event: pynput.keyboard._win32.Key) -> None
This method add a key release event.
run_for_ever(self) -> None
This function starts the keylogger.
save(self, key: str) -> None
This method save pressed keys in file and clean the events list.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
config_load(filename: str = None, argv: List[str] = ['C:\\Program Files\\Python\\lib\\pydoc.py', '-w', 'KeyLogger']) -> int
This function loads the configuration using a the configuration file.
main(config_filename: str = None, argv: List[str] = ['C:\\Program Files\\Python\\lib\\pydoc.py', '-w', 'KeyLogger']) -> int
This function executes this script from the command line.

 
Data
        __all__ = ['Daemon', 'KeyLogger', 'main', 'config_load']
__author_email__ = 'mauricelambert434@gmail.com'
__copyright__ = '\nSpyWare Copyright (C) 2021, 2022 Maurice Lamb...ome to redistribute it\nunder certain conditions.\n'
__description__ = '\nThis file implements a complete spyware.\n'
__license__ = 'GPL-3.0 License'
__maintainer__ = 'Maurice Lambert'
__maintainer_email__ = 'mauricelambert434@gmail.com'
__url__ = 'https://github.com/mauricelambert/SpyWare'

 
Author
        Maurice Lambert