When attempting to load signatures for the packer detection:
>>> import peutils
>>> signatures = peutils.SignatureDatabase('signatures.txt')
I came across the following issue:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\user\Downloads\pefile-py3k-master\peutils.py", line 74, in __ init__
self.__load(filename=filename, data=data)
File "C:\Users\user\Downloads\pefile-py3k-master\peutils.py", line 405, in __load
sig_f = file( filename, 'rt' )
NameError: name 'file' is not defined
System:
- 32-bit Windows 7 SP1
- Python version 3.5.1
Image below:
