Pwntools

Latest version: v4.14.1

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 21

5.0.0500dev

5.0.0

- [2551][2551] Detect when kitty is being used as terminal
- [2519][2519] Drop Python 2.7 support / Require Python 3.10
- [2507][2507] Add `+LINUX` and `+WINDOWS` doctest options and start proper testing on Windows
- [2522][2522] Support starting a kitty debugging window with the 'kitten' command
- [2524][2524] Raise EOFError during `process.recv` when stdout closes on Windows
- [2526][2526] Properly make use of extra arguments in `packing` utilities. `sign` parameter requires keyword syntax to specify it.
- [2517][2517] Allow to passthru kwargs on `ssh.__getattr__` convenience function to fix SSH motd problems
- [2527][2527] Allow setting debugger path via `context.gdb_binary`
- [2530][2530] Do NOT error when passing directory arguments in `checksec` commandline tool.
- [2529][2529] Add LoongArch64 support
- [2506][2506] ROP: fix `ROP(ELF(exe)).leave` is `None` in some ELF
- [2504][2504] doc: add example case for `tuple` (host, port pair) in `gdb.attach`
- [2546][2546] ssh: Allow passing disabled_algorithms keyword argument from ssh to paramiko

[2551]: https://github.com/Gallopsled/pwntools/pull/2551
[2519]: https://github.com/Gallopsled/pwntools/pull/2519
[2507]: https://github.com/Gallopsled/pwntools/pull/2507
[2522]: https://github.com/Gallopsled/pwntools/pull/2522
[2524]: https://github.com/Gallopsled/pwntools/pull/2524
[2526]: https://github.com/Gallopsled/pwntools/pull/2526
[2517]: https://github.com/Gallopsled/pwntools/pull/2517
[2527]: https://github.com/Gallopsled/pwntools/pull/2527
[2530]: https://github.com/Gallopsled/pwntools/pull/2530
[2529]: https://github.com/Gallopsled/pwntools/pull/2529
[2506]: https://github.com/Gallopsled/pwntools/pull/2506
[2504]: https://github.com/Gallopsled/pwntools/pull/2504
[2546]: https://github.com/Gallopsled/pwntools/pull/2546

4.15.04150beta

| [4.14.0](4141-stable) | `stable` | Mar 24, 2025

4.15.0

- [2508][2508] Ignore a warning when compiling with asm on nix
- [2471][2471] Properly close spawned kitty window
- [2358][2358] Cache output of `asm()`
- [2457][2457] Catch exception of non-ELF files in checksec.
- [2444][2444] Add `ELF.close()` to release resources
- [2413][2413] libcdb: improve the search speed of `search_by_symbol_offsets` in local libc-database
- [2470][2470] Fix waiting for gdb under WSL2
- [2479][2479] Support extracting libraries from Docker image in `pwn template`
- [2483][2483] Only print `checksec` output of `ELF.libc` when it was printed for the `ELF` already
- [2482][2482] Throw error when using `sni` and setting `server_hostname` manually in `remote`
- [2478][2478] libcdb-cli: add `--offline-only`, refactor unstrip and add fetch parser for download libc-database
- [2484][2484] Allow to disable caching
- [2291][2291] Fix attaching to a gdbserver with tuple `gdb.attach(('0.0.0.0',12345))`
- [2410][2410] Add `tube.upload_manually` to upload files in chunks
- [2502][2502] Fix loading ELF files without valid .dynamic section
- [2476][2476] Deprecate 'keepends' argument in favor of 'drop' in `tube.recvline*`
- [2364][2364] Deprecate direct commandline scripts invocation and exclude nonsense ones

[2508]: https://github.com/Gallopsled/pwntools/pull/2508
[2471]: https://github.com/Gallopsled/pwntools/pull/2471
[2358]: https://github.com/Gallopsled/pwntools/pull/2358
[2457]: https://github.com/Gallopsled/pwntools/pull/2457
[2444]: https://github.com/Gallopsled/pwntools/pull/2444
[2413]: https://github.com/Gallopsled/pwntools/pull/2413
[2470]: https://github.com/Gallopsled/pwntools/pull/2470
[2479]: https://github.com/Gallopsled/pwntools/pull/2479
[2483]: https://github.com/Gallopsled/pwntools/pull/2483
[2482]: https://github.com/Gallopsled/pwntools/pull/2482
[2478]: https://github.com/Gallopsled/pwntools/pull/2478
[2484]: https://github.com/Gallopsled/pwntools/pull/2484
[2291]: https://github.com/Gallopsled/pwntools/pull/2291
[2410]: https://github.com/Gallopsled/pwntools/pull/2410
[2502]: https://github.com/Gallopsled/pwntools/pull/2502
[2476]: https://github.com/Gallopsled/pwntools/pull/2476
[2364]: https://github.com/Gallopsled/pwntools/pull/2364

4.14.04140

4.14.1

- [2451][2451] Show symbols defined to value 0 (start of file)
- [2533][2533] Fix installation on Python 3.5 and lower
- [2518][2518] fix: update apport coredump path handling for CorefileFinder
- [2552][2552] Fix memcpy shellcraft template off-by-one
- [2559][2559] Fix parsing corefile with missing auxv
- [2562][2562] Fix syntax highlighting of multiline comments in ASM
- [2565][2565] Exclude broken Unicorn

[2451]: https://github.com/Gallopsled/pwntools/pull/2451
[2533]: https://github.com/Gallopsled/pwntools/pull/2533
[2518]: https://github.com/Gallopsled/pwntools/pull/2518
[2552]: https://github.com/Gallopsled/pwntools/pull/2552
[2559]: https://github.com/Gallopsled/pwntools/pull/2559
[2562]: https://github.com/Gallopsled/pwntools/pull/2562
[2565]: https://github.com/Gallopsled/pwntools/pull/2565

Page 1 of 21

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.