Hello everyone,
While setting up my reverse engineering environment on FreeBSD 14.4, I noticed that Binwalk 2.3.3 no longer starts under Python 3.12 due to the removal of the deprecated imp module.
I prepared a compatibility patch that fixes the issue and also addresses a Python regex warning found during testing.
The patch was validated on:
Validation included:
The repository contains:
If anyone finds it useful, feedback is welcome.
GitHub: https://github.com/Mil3tus/binwalk-python312-freebsd-patch
I am preparing an official FreeBSD Ports contribution to submit this fix for review.
The goal is to provide a proper solution for the security/binwalk port instead of maintaining a local workaround.
While setting up my reverse engineering environment on FreeBSD 14.4, I noticed that Binwalk 2.3.3 no longer starts under Python 3.12 due to the removal of the deprecated imp module.
I prepared a compatibility patch that fixes the issue and also addresses a Python regex warning found during testing.
The patch was validated on:
- FreeBSD 14.4-RELEASE (amd64)
- Python 3.12.13
- Binwalk 2.3.3_1
Validation included:
- Successful startup
- Firmware signature scanning
- Firmware extraction tests
- python3 -m compileall
The repository contains:
- Compatibility patch
- Installation instructions
- Validation procedure
If anyone finds it useful, feedback is welcome.
GitHub: https://github.com/Mil3tus/binwalk-python312-freebsd-patch
I am preparing an official FreeBSD Ports contribution to submit this fix for review.
The goal is to provide a proper solution for the security/binwalk port instead of maintaining a local workaround.