We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e391cb8 commit 15c8c9dCopy full SHA for 15c8c9d
1 file changed
spoof_check.py
@@ -479,15 +479,13 @@ def scheck_it(file_path):
479
try:
480
pe = pefile.PE(name=file_path)
481
except pefile.PEFormatError:
482
- if args.verbose:
483
- print("{}\n\tUnable to parse: PE header".format(file_name))
+ print("{}\n\tUnable to parse: PE header".format(file_name))
484
return -1
485
486
# Attempt to parse Rich header:
487
rich_header = pe.parse_rich_header()
488
if rich_header is None:
489
490
- print("{}\n\tUnable to parse: Rich header".format(file_name))
+ print("{}\n\tUnable to parse: Rich header".format(file_name))
491
492
493
# Perform tests
0 commit comments