| |
- builtins.object
-
- RansomWare
class RansomWare(builtins.object) |
|
RansomWare(key: bytes, function_encrypt: Callable = <function crypt at 0x000001D0BCBC9A60>, function_IV: Callable = <function get_sha512 at 0x000001D0BCC03A60>, directory: str = 'RansomWare\\RansomWare', timeBetweenCrypt: float = 0, regexs_filename_to_encrypt: list = [], regexs_filename_dont_encrypt: list = [])
This class can encrypt files. |
|
Methods defined here:
- __init__(self, key: bytes, function_encrypt: Callable = <function crypt at 0x000001D0BCBC9A60>, function_IV: Callable = <function get_sha512 at 0x000001D0BCC03A60>, directory: str = 'RansomWare', timeBetweenCrypt: float = 0, regexs_filename_to_encrypt: list = [], regexs_filename_dont_encrypt: list = [])
- Initialize self. See help(type(self)) for accurate signature.
- encrypt_file(self, filename: str, key: bytes) -> None
- This function encrypt one file.
- encrypt_files(self, directory: str) -> None
- This function get recursive filenames and crypt files.
- launch(self) -> None
- This function launch the CryptoLocker.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |