Basic file object class with all useful utilities.
|
__init__(self,
file_path)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
|
|
get_chunks(self)
Read file contents in chunks (generator). |
source code
|
|
|
calc_hashes(self)
Calculate all possible hashes for this file. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get_exported_functions(self)
Get the exported function names of this PE file. |
source code
|
|
|
get_imported_functions(self)
Get the imported functions of this PE file. |
source code
|
|
|
|
|
|
|
_yara_matches_177(self,
matches)
Extract matches from the Yara output for version 1.7.7. |
source code
|
|
|
|
|
get_urls(self)
Extract all URLs embedded in this file through a simple regex. |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|