avast / pe_tools

A cross-platform Python toolkit for parsing/writing PE files.
MIT License
62 stars 13 forks source link

RuntimeError('resource is outside the resource blob') #5

Open wyzzoo opened 4 years ago

wyzzoo commented 4 years ago

When I call parse_resource() on https://www.flash.cn/cdm/latest/flashplayerpp_install_cn.exe, raise RuntimeError('resource is outside the resource blob') in rsrc.py:128 will be executed, seems like some resource data in this file locate out of the .rsrc section. I try replace this line with pass, then parse again, it seems to work for me.