Releases: Gallopsled/pwntools
Releases · Gallopsled/pwntools
3.5.1
3.5.0
3.5.0
- b584ca3 Fixed an issue running
setup.pyon ARM - #822 Enabled relative leaks with
MemLeak- This should be useful for e.g. heap-relative leaks
- #832 Changed all internal imports to use absolute imports (no functional changes)
- a12d0b6 Move
STDOUT,PIPE,PTYconstants to globalsprocess(..., stdin=process.PTY)-->process(..., stdin=PTY)
- #828 Use
PR_SET_PTRACERfor allprocess()andssh.process()instances- This simplifies debugging on systems with YAMA ptrace enabled
- Various documentation enhancements
- #833 Performance enhancements for
adbmodule - d0267f3
packing.fit()now treats large offsets as cyclic patterns (e.g.0x61616161behaves the same as"aaaa") - #835 Added
ssh.checksec- Reports the kernel version and other relevant information on connection
- #857 Slightly shortened
execveshellcode - 300f8e0 Slightly speed up processing of large ELF files
- #861 Adds support for extracting
IKCONFIGconfigs from Linux kernel images, and extendschecksecto report on any insecure configurations discovered - #871 Moves all of the basic syscall templates to
shellcraft/commonand exposes them via symlinks. Closed #685- Should not have any visible effects from any documented APIs
shellcraft.arch.os.syscall_function()still works the same- We now have the ability to differentiate between the
connectsyscall, and a TCPconnecthelper
- #887
sh_stringnow returns a quoted empty string''rather than just an empty string - #839 Exposes a huge amount of functionality via corefiles which was not previously availble. See the docs for examples.
process().corefilewill automatically instantiate a Corefile for the process- QEMU-emulated processes are supported
- Native processes are supported, including extraction of coredumps from
apportcrash logs - Native processes can be dumped while running, in a manner similar to
GDB'sgcorescript
- #875 Added documentation (and tests) for AArch64 shellcode
- #882 The
ROPclass now respectscontext.bytesinstead of using the hard-coded value of4(fixed #879) - #869 Added several fields to the
processclass (uid,gid,suid,sgid) which are recorded at execution time, based on the file permissions - #868 Changed the way that
ssh.process()works internally, and it now returns a more specialized class,ssh_process.- Added
ssh_process.corefilefor fetching remote corefiles - Added
ssh_process.ELFfor getting an ELF of the remote executable - The
uid,gid, andsuid, andsgidwhich are recorded at execution time, based on the file permissions
- Added
- #865 Fixes
ELF.readto support contiguous memory reads across non-contiguous file-backed segments - #862 Adds a
symlink=argument tossh.set_working_directory, which will automatically symlink all of the files in the "old" working directory into the "new" working directory
3.4.1
3.4.0
3.4.0
- #800 Add
shell=option tossh.process() - #806 Add
context.buffer_sizefor fine-tuningtubeperformance- Also adds
buffer_fill_size=argument for all tubes
- Also adds
- b83a6c7 Fix undocumented
process.leakfunction - 546061e Modify
coredump_filterof all spawned processes, so that core dumps are more complete - #809 Add several functions to
adb(unlink,mkdir,makedirs,isdir,exists) - #817 Make disconnection detection more robust
3.3.4
3.3.3
3.3.2
3.3.1
3.3.0
3.3.0
- b198ec8 Added
tube.stream()function, which is liketube.interact()without a prompt or keyboard input.- Effectively, this is similar to
cat fileand just prints data as fast as it is received.
- Effectively, this is similar to
- aec3fa6 Disable update checks against GitHub
- These checks frequently broke due to GitHub query limits
- #757 Fixed
adb.wait_for_device()re-use of the same connection - f9133b1 Add a
STDERRmagic argument to make logging go tostderrinstead ofstdout- Usage is e.g.
python foo.py STDERRorPWNLIB_STDERR=1 python foo.py - Also adds
context.log_consoleto log to any file or terminal
- Usage is e.g.
- 67e11a9 Add faster error checking to
cyclic()when provided very large values - 5fda658 Expose BitPolynom in
globals() - #765 Added
-doption for hex-escaped output forshellcraftcommand-line tool - #772 Fixed bash completion regressions
- 30c34b7 Fix
ROP.call()withFunctionobjects fromELF.functions - fa402ce Add
adb.uptimeandadb.boot_time - 82312ba Add
cyclic_metasploitandcyclic_metasploit_find
3.2.1
3.2.1
Multiple bug fixes.
- #783 Fix
adb.uninstalltypo - #787 Added error handling for
ssh.processargumentpreexec_fn - #793 Fixed progress message in
remote()when connections failed - #802 Fixed partition listing in
adb.partitions, which accidentally shelled out to theadbbinary - #804 Fix error message for 32-bit distributions
- #805 Fix exception in
Core.segmentswhen a segment has no name - #811 Fixes and performance improvements for
adb.wait_for_device() - #813 Fixed a release script
- #814 Fixed exceptions thrown if the
$HOMEdirectory is not writable - #815 Properly handle
NoneinMemLeak