pyamsi package¶
Submodules¶
pyamsi.Amsi module¶
Name: py-amsi (v1.11) Description: Scan strings and files using the windows antimalware interface Author: Olorunfemi-Ojo Tomiwa URL: https://github.com/Tomiwa-Ot/py-amsi License: MIT Copyright (c) @Tomiwa-Ot 2022
- pyamsi.Amsi.scan_file(path, debug=False)¶
Scans a buffer-full content for malware
- Arguments
path (str): path of the file to be scanned debug (bool): show debug messages (default=False, optional)
- Returns
- dictionary
Sample Size = String size Risk Level = Risk level stated by the AMSI provider Message = AMSI response
- pyamsi.Amsi.scan_string(text, name, debug=False)¶
Scans a string for malware
- Arguments
text (str): string to be scanned name (str): a name for the string debug (bool): show debug messages (default=False, optional)
- Returns
- dictionary
Sample Size = String size Risk Level = Risk level stated by the AMSI provider Message = AMSI response