Repository navigation
This a maintenance release hosting a lot of bug fixes and bringing pwntools to the latest Python versions. It contains a long overdue relaxation of the Unicorn Engine version dependency to allow easy installation on Python 3.14+. Many fixes targetted the latest development branch originally and were only backported to the 4.15.* release later to include them in a patch release earlier. Thank you to everyone helping with this release!
What's Changed
- Allow running with Unicorn 2.1.[34] but throw when emulating MIPS by @peace-maker in #2721
- Support paginated libc.rip API requests by @peace-maker in #2767
- Support
context.timeoutin ~/.pwn.conf by @Feyorsh in #2592 - fix: pad bytes fields to correct field size in FileStructure by @nightcityblade in #2694
- Fix _build_date() crash on non-standard locale date strings by @coder999999999 in #2701
- fix: apply force_to_bytes to readline result in non-term_mode path by @danstam in #2707
- ROP: fix
ROP(ELF(exe)).leaveisNonein some ELF by @RocketMaDev in #2506 - checksec: more forgiving when passed directory arguments by @tesuji in #2530
- Raise EOFError during process.recv when stdout closes on Windows by @peace-maker in #2524
- Fix a bug that incorrectly reports GNU_STACK missing when its not. by @devx00 in #2493
- Fix aarch64 ABI by @k4lizen in #2598
- Fix
log.progressignoringcontext.log_consoleby @peace-maker in #2610 - GitHub Actions: Test on Python 3.14 by @cclauss in #2627
- safeeval: allow LIST_APPEND and SET_ADD opcodes (Python 3.14) by @ChrisJr404 in #2722
- Add aarch64_be qemu mapping by @OBarronCS in #2653
- Remove "pip" as explicit dependency by @peace-maker in #2642
- fix(libcdb-cli): return early if no matched libc found by @the-soloist in #2646
- asm: try native binutils before fallback architectures by @peace-maker in #2669
- Fix
ttyandrawarguments in ssh.process by @peace-maker in #2699 - Close SSH client connection when authentication failed by @peace-maker in #2688
- refactor: replace unsafe eval with ast.literal_eval in ROP cache loading by @RinZ27 in #2677
- fix(dirent): allow bytes with trailing 0 when parsing dirents by @RocketMaDev in #2803
- fix(elf): prevent elf.libc returning the executable when its name starts with libc[.-] by @h4kk4p4kk4 in #2781
- ssh: Discard stderr of
lsb_releasefor Distro lookup by @peace-maker in #2704 - fix(packing): dd() raises TypeError on a bytearray destination by @MaxFreedomPollard in #2772
- gdb.corefile: Run gdb directly to prevent detach race by @peace-maker in #2787
- fix(srop): correct amd64 SigreturnFrame uc_sigmask offset by @tarann26 in #2762
- fix pwnlib.shellcraft submodule imports on python 3.12+ by @clmoon2 in #2739
- fix(regsort): drop self-assignments through register aliases by @rahul05ranjan in #2795
- Backport bugfixes from 5.0 to stable by @peace-maker in #2796
- Disable debuginfod doctests in libcdb.unstrip_libc on stable by @MaxFreedomPollard in #2773
- fix: delay upstream DNS resolution to prevent nginx startup failures by @ZackaryShen in #2718
- CI: Pin to Ubuntu 24.04 by @peace-maker in #2810
New Contributors
- @devx00 made their first contribution in #2493
- @RinZ27 made their first contribution in #2677
- @nightcityblade made their first contribution in #2694
- @coder999999999 made their first contribution in #2701
- @danstam made their first contribution in #2707
- @ZackaryShen made their first contribution in #2718
- @clmoon2 made their first contribution in #2739
- @tarann26 made their first contribution in #2762
- @MaxFreedomPollard made their first contribution in #2773
- @h4kk4p4kk4 made their first contribution in #2781
- @rahul05ranjan made their first contribution in #2795
Full Changelog: 4.15.0...4.15.1