pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-pwntools: Update to 4.13.1
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Fri Oct 11 16:44:30 2024 +0200
Changeset: 17bbc29a6065e4def471a93f4361ceb4f8adaa9f
Modified Files:
py-pwntools/Makefile
py-pwntools/PLIST
py-pwntools/distinfo
Log Message:
py-pwntools: Update to 4.13.1
Changes:
- GDB 15+ rpyc detection
- Bug fixes
- Term module revamp: activating special handling of terminal only when
necessary
- Add x86 CET status to checksec output
- Allow to add to the existing environment in `process` instead of replacing it
- Detect challenge binary and libc in `pwn template`
- Fix WinExec shellcraft to make sure it's 16 byte aligned
- Make `pwn template` always set context.binary
- Add support to start a process on Windows
- Add lookup optimizations in DynELF
- Speed up disasm commandline tool with colored output
- Lookup using $PATHEXT file extensions in `which` on Windows
- Explicitly define p64/u64 functions for IDE support
- Retry failed lookups after one week in libcdb
- Match against local system libc first in libcdb
- Add `ELF.stripped` and `ELF.debuginfo` properties
- Add basic support for darwin shellcraft/asm/disasm/run_shellcode/run_assembly
- Launch GDB correctly in iTerm on Mac
- Add a `flatten` argument to `ssh.libs`
- Bug fixes
- Add -p (--prefix) and -s (--separator) arguments to `hex` command
- Add shellcraft.sleep template wrapping SYS_nanosleep
- Add `--libc libc.so` argument to `pwn template` command
- Allow creation of custom templates for `pwn template` command
- Allow empty argv in ssh.process()
- Bug fixes
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=17bbc29a6065e4def471a93f4361ceb4f8adaa9f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-pwntools/Makefile | 10 +++++-----
py-pwntools/PLIST | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++
py-pwntools/distinfo | 6 +++---
3 files changed, 63 insertions(+), 8 deletions(-)
diffs:
diff --git a/py-pwntools/Makefile b/py-pwntools/Makefile
index 5a680bea6f..ae9192ca3e 100644
--- a/py-pwntools/Makefile
+++ b/py-pwntools/Makefile
@@ -1,6 +1,6 @@
# $NetBSD$
-DISTNAME= pwntools-4.11.1
+DISTNAME= pwntools-4.13.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pwntools/}
@@ -22,7 +22,7 @@ DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
DEPENDS+= ${PYPKGPREFIX}-paramiko>=1.15.2:../../security/py-paramiko
DEPENDS+= ${PYPKGPREFIX}-pip>=6.0.8:../../devel/py-pip
DEPENDS+= ${PYPKGPREFIX}-psutil>=3.3.0:../../sysutils/py-psutil
-DEPENDS+= ${PYPKGPREFIX}-pyelftools>=0.24:../../devel/py-pyelftools
+DEPENDS+= ${PYPKGPREFIX}-pyelftools>=0.29:../../devel/py-pyelftools
DEPENDS+= ${PYPKGPREFIX}-pygments>=2.0:../../textproc/py-pygments
DEPENDS+= ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-ropgadget>=5.3:../../wip/py-ropgadget
@@ -30,9 +30,9 @@ DEPENDS+= ${PYPKGPREFIX}-rpyc-[0-9]*:../../net/py-rpyc
DEPENDS+= ${PYPKGPREFIX}-serial>=2.7:../../comms/py-serial
DEPENDS+= ${PYPKGPREFIX}-six>=1.12.0:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-sortedcontainers-[0-9]*:../../devel/py-sortedcontainers
-DEPENDS+= ${PYPKGPREFIX}-unicorn>=1.0.2:../../emulators/py-unicorn
-
-PYTHON_VERSIONS_INCOMPATIBLE= 27
+DEPENDS+= ${PYPKGPREFIX}-unicorn>=2.0.1:../../emulators/py-unicorn
+DEPENDS+= ${PYPKGPREFIX}-unix-ar-[0-9]*:../../wip/py-unix-ar
+DEPENDS+= ${PYPKGPREFIX}-zstandard-[0-9]*:../../archivers/py-zstandard
post-install:
.for f in asm checksec common constgrep cyclic debug disablenx disasm elfdiff \
diff --git a/py-pwntools/PLIST b/py-pwntools/PLIST
index 141c2c9b4a..35506a7323 100644
--- a/py-pwntools/PLIST
+++ b/py-pwntools/PLIST
@@ -207,6 +207,15 @@ ${PYSITELIB}/pwnlib/constants/cgc/thumb.pyo
${PYSITELIB}/pwnlib/constants/constant.py
${PYSITELIB}/pwnlib/constants/constant.pyc
${PYSITELIB}/pwnlib/constants/constant.pyo
+${PYSITELIB}/pwnlib/constants/darwin/__init__.py
+${PYSITELIB}/pwnlib/constants/darwin/__init__.pyc
+${PYSITELIB}/pwnlib/constants/darwin/__init__.pyo
+${PYSITELIB}/pwnlib/constants/darwin/aarch64.py
+${PYSITELIB}/pwnlib/constants/darwin/aarch64.pyc
+${PYSITELIB}/pwnlib/constants/darwin/aarch64.pyo
+${PYSITELIB}/pwnlib/constants/darwin/amd64.py
+${PYSITELIB}/pwnlib/constants/darwin/amd64.pyc
+${PYSITELIB}/pwnlib/constants/darwin/amd64.pyo
${PYSITELIB}/pwnlib/constants/freebsd.py
${PYSITELIB}/pwnlib/constants/freebsd.pyc
${PYSITELIB}/pwnlib/constants/freebsd.pyo
@@ -302,6 +311,8 @@ ${PYSITELIB}/pwnlib/data/includes/cgc/s390x.h
${PYSITELIB}/pwnlib/data/includes/cgc/sparc.h
${PYSITELIB}/pwnlib/data/includes/cgc/sparc64.h
${PYSITELIB}/pwnlib/data/includes/cgc/thumb.h
+${PYSITELIB}/pwnlib/data/includes/darwin/aarch64.h
+${PYSITELIB}/pwnlib/data/includes/darwin/amd64.h
${PYSITELIB}/pwnlib/data/includes/freebsd.h
${PYSITELIB}/pwnlib/data/includes/freebsd/aarch64.h
${PYSITELIB}/pwnlib/data/includes/freebsd/alpha.h
@@ -474,6 +485,9 @@ ${PYSITELIB}/pwnlib/protocols/__init__.pyo
${PYSITELIB}/pwnlib/protocols/adb/__init__.py
${PYSITELIB}/pwnlib/protocols/adb/__init__.pyc
${PYSITELIB}/pwnlib/protocols/adb/__init__.pyo
+${PYSITELIB}/pwnlib/py2compat.py
+${PYSITELIB}/pwnlib/py2compat.pyc
+${PYSITELIB}/pwnlib/py2compat.pyo
${PYSITELIB}/pwnlib/qemu.py
${PYSITELIB}/pwnlib/qemu.pyc
${PYSITELIB}/pwnlib/qemu.pyo
@@ -534,6 +548,7 @@ ${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/android/open.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/android/readn.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/android/setresuid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/android/sh.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/android/sleep.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/android/socket.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/android/stage.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/android/syscall.asm
@@ -1013,6 +1028,19 @@ ${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/android/syscalls/write.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/android/syscalls/writev.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/breakpoint.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/crash.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/darwin/__doc__
+${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/darwin/cat.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/darwin/cat2.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/darwin/open.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/darwin/syscall.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/darwin/syscalls/__doc__
+${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/darwin/syscalls/execve.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/darwin/syscalls/exit.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/darwin/syscalls/getdirentries64.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/darwin/syscalls/getxattr.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/darwin/syscalls/lseek.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/darwin/syscalls/read.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/darwin/syscalls/write.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/freebsd/__doc__
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/freebsd/syscall.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/infloop.asm
@@ -1032,6 +1060,7 @@ ${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/linux/open.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/linux/readn.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/linux/setresuid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/linux/sh.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/linux/sleep.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/linux/socket.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/linux/stage.asm
${PYSITELIB}/pwnlib/shellcraft/templates/aarch64/linux/syscall.asm
@@ -1555,6 +1584,7 @@ ${PYSITELIB}/pwnlib/shellcraft/templates/amd64/android/setregid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/android/setresuid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/android/setreuid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/android/sh.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/amd64/android/sleep.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/android/socket.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/android/stage.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/android/stager.asm
@@ -2036,7 +2066,21 @@ ${PYSITELIB}/pwnlib/shellcraft/templates/amd64/android/syscalls/write.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/android/syscalls/writev.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/android/writeloop.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/crash.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/amd64/darwin/__doc__
+${PYSITELIB}/pwnlib/shellcraft/templates/amd64/darwin/cat.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/amd64/darwin/cat2.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/amd64/darwin/open.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/amd64/darwin/syscall.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/amd64/darwin/syscalls/__doc__
+${PYSITELIB}/pwnlib/shellcraft/templates/amd64/darwin/syscalls/execve.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/amd64/darwin/syscalls/exit.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/amd64/darwin/syscalls/getdirentries64.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/amd64/darwin/syscalls/getxattr.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/amd64/darwin/syscalls/lseek.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/amd64/darwin/syscalls/read.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/amd64/darwin/syscalls/write.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/freebsd/__doc__
+${PYSITELIB}/pwnlib/shellcraft/templates/amd64/freebsd/amd64_to_i386.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/freebsd/syscall.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/infloop.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/itoa.asm
@@ -2077,6 +2121,7 @@ ${PYSITELIB}/pwnlib/shellcraft/templates/amd64/linux/setregid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/linux/setresuid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/linux/setreuid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/linux/sh.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/amd64/linux/sleep.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/linux/socket.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/linux/stage.asm
${PYSITELIB}/pwnlib/shellcraft/templates/amd64/linux/stager.asm
@@ -2598,6 +2643,7 @@ ${PYSITELIB}/pwnlib/shellcraft/templates/arm/android/killparent.asm
${PYSITELIB}/pwnlib/shellcraft/templates/arm/android/open_file.asm
${PYSITELIB}/pwnlib/shellcraft/templates/arm/android/setresuid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/arm/android/sh.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/arm/android/sleep.asm
${PYSITELIB}/pwnlib/shellcraft/templates/arm/android/syscall.asm
${PYSITELIB}/pwnlib/shellcraft/templates/arm/android/syscalls/__doc__
${PYSITELIB}/pwnlib/shellcraft/templates/arm/android/syscalls/_llseek.asm
@@ -3095,6 +3141,7 @@ ${PYSITELIB}/pwnlib/shellcraft/templates/arm/linux/killparent.asm
${PYSITELIB}/pwnlib/shellcraft/templates/arm/linux/open_file.asm
${PYSITELIB}/pwnlib/shellcraft/templates/arm/linux/setresuid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/arm/linux/sh.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/arm/linux/sleep.asm
${PYSITELIB}/pwnlib/shellcraft/templates/arm/linux/syscall.asm
${PYSITELIB}/pwnlib/shellcraft/templates/arm/linux/syscalls/__doc__
${PYSITELIB}/pwnlib/shellcraft/templates/arm/linux/syscalls/_llseek.asm
@@ -3587,6 +3634,7 @@ ${PYSITELIB}/pwnlib/shellcraft/templates/common/freebsd/__doc__
${PYSITELIB}/pwnlib/shellcraft/templates/common/label.asm
${PYSITELIB}/pwnlib/shellcraft/templates/common/linux/__doc__
${PYSITELIB}/pwnlib/shellcraft/templates/common/linux/kill.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/common/linux/sleep.asm
${PYSITELIB}/pwnlib/shellcraft/templates/common/linux/syscalls/__doc__
${PYSITELIB}/pwnlib/shellcraft/templates/common/linux/syscalls/_llseek.asm
${PYSITELIB}/pwnlib/shellcraft/templates/common/linux/syscalls/_newselect.asm
@@ -4092,6 +4140,7 @@ ${PYSITELIB}/pwnlib/shellcraft/templates/i386/android/setregid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/android/setresuid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/android/setreuid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/android/sh.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/i386/android/sleep.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/android/socket.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/android/socketcall.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/android/stage.asm
@@ -4624,6 +4673,7 @@ ${PYSITELIB}/pwnlib/shellcraft/templates/i386/linux/setregid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/linux/setresuid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/linux/setreuid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/linux/sh.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/i386/linux/sleep.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/linux/socket.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/linux/socketcall.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/linux/stage.asm
@@ -5114,6 +5164,7 @@ ${PYSITELIB}/pwnlib/shellcraft/templates/i386/ret.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/setregs.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/stackarg.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/stackhunter.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/i386/stackhunter_helper.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/strcpy.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/strlen.asm
${PYSITELIB}/pwnlib/shellcraft/templates/i386/trap.asm
@@ -5137,6 +5188,7 @@ ${PYSITELIB}/pwnlib/shellcraft/templates/mips/android/listen.asm
${PYSITELIB}/pwnlib/shellcraft/templates/mips/android/readfile.asm
${PYSITELIB}/pwnlib/shellcraft/templates/mips/android/setresuid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/mips/android/sh.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/mips/android/sleep.asm
${PYSITELIB}/pwnlib/shellcraft/templates/mips/android/stager.asm
${PYSITELIB}/pwnlib/shellcraft/templates/mips/android/syscall.asm
${PYSITELIB}/pwnlib/shellcraft/templates/mips/android/syscalls/__doc__
@@ -5633,6 +5685,7 @@ ${PYSITELIB}/pwnlib/shellcraft/templates/mips/linux/listen.asm
${PYSITELIB}/pwnlib/shellcraft/templates/mips/linux/readfile.asm
${PYSITELIB}/pwnlib/shellcraft/templates/mips/linux/setresuid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/mips/linux/sh.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/mips/linux/sleep.asm
${PYSITELIB}/pwnlib/shellcraft/templates/mips/linux/stager.asm
${PYSITELIB}/pwnlib/shellcraft/templates/mips/linux/syscall.asm
${PYSITELIB}/pwnlib/shellcraft/templates/mips/linux/syscalls/__doc__
@@ -7092,6 +7145,7 @@ ${PYSITELIB}/pwnlib/shellcraft/templates/thumb/android/readn.asm
${PYSITELIB}/pwnlib/shellcraft/templates/thumb/android/recvsize.asm
${PYSITELIB}/pwnlib/shellcraft/templates/thumb/android/setresuid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/thumb/android/sh.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/thumb/android/sleep.asm
${PYSITELIB}/pwnlib/shellcraft/templates/thumb/android/stage.asm
${PYSITELIB}/pwnlib/shellcraft/templates/thumb/android/stager.asm
${PYSITELIB}/pwnlib/shellcraft/templates/thumb/android/syscall.asm
@@ -7598,6 +7652,7 @@ ${PYSITELIB}/pwnlib/shellcraft/templates/thumb/linux/readn.asm
${PYSITELIB}/pwnlib/shellcraft/templates/thumb/linux/recvsize.asm
${PYSITELIB}/pwnlib/shellcraft/templates/thumb/linux/setresuid.asm
${PYSITELIB}/pwnlib/shellcraft/templates/thumb/linux/sh.asm
+${PYSITELIB}/pwnlib/shellcraft/templates/thumb/linux/sleep.asm
${PYSITELIB}/pwnlib/shellcraft/templates/thumb/linux/stage.asm
${PYSITELIB}/pwnlib/shellcraft/templates/thumb/linux/stager.asm
${PYSITELIB}/pwnlib/shellcraft/templates/thumb/linux/syscall.asm
diff --git a/py-pwntools/distinfo b/py-pwntools/distinfo
index 722d0afabc..eb714fbbb5 100644
--- a/py-pwntools/distinfo
+++ b/py-pwntools/distinfo
@@ -1,5 +1,5 @@
$NetBSD$
-BLAKE2s (pwntools-4.11.1.tar.gz) = 670c93d8b84321ee0696c58bb3402235300549629caac619106ef5f042400473
-SHA512 (pwntools-4.11.1.tar.gz) = 2330214a64740a55ed15f1b25dc4e56020b5c7065c3cc0b0067e44b8f5657a34f0dfe9094497849655d7748463ccb4719eed7f02412fe08dc00ccb92fb0772be
-Size (pwntools-4.11.1.tar.gz) = 5297392 bytes
+BLAKE2s (pwntools-4.13.1.tar.gz) = 5f8183b17b825c518f5ee8adadce91f11a16efba6a1d696311d97941d2ca8b16
+SHA512 (pwntools-4.13.1.tar.gz) = cd4c9e13c27ab5343f0b1c26b03bf0e59dc755ede1ee0d1d2dc4f7a895c5474cefb0d03f581a6ad1b5f573ddd54134d0a9db63a7db6c8a44f2d229fb80f1fe9f
+Size (pwntools-4.13.1.tar.gz) = 5476226 bytes
Home |
Main Index |
Thread Index |
Old Index