matiasb / python-unrar

A ctypes wrapper for UnRAR library, plus a rarfile module on top of it.
http://python-unrar.readthedocs.org/en/latest/
GNU General Public License v3.0
74 stars 30 forks source link

Provide code escape for partial volumes. #23

Open kingaling opened 4 years ago

kingaling commented 4 years ago

rarfile.py hangs inside `def _process_current()' when the rar is a partial archive. ex: test.part1.rar

kingaling commented 4 years ago

This is just a quick fix that works for me because I am running email attachments through an analysis framework and sometimes I get rar attachments where all the parts are not in the same email. In those cases, I just abort analysis.The odds of said rar being malicious in that instance is highly unlikely.