svn commit: r527637 - in head/security: . py-ropper
Mateusz Piotrowski
0mp at FreeBSD.org
Mon Mar 2 14:37:41 UTC 2020
Author: 0mp
Date: Mon Mar 2 14:37:39 2020
New Revision: 527637
URL: https://svnweb.freebsd.org/changeset/ports/527637
Log:
New port: security/py-ropper
You can use ropper to look at information about files in different
file formats and you can find ROP and JOP gadgets to build chains for
different architectures. Ropper supports ELF, MachO and the PE file
format. Other files can be opened in RAW format. The following
architectures are supported:
- x86 / x86_64
- Mips / Mips64
- ARM (also Thumb Mode)/ ARM64
- PowerPC / PowerPC64
Ropper is inspired by ROPgadget, but should be more than a gadgets
finder. So it is possible to show information about a binary like
header, segments, sections etc. Furthermore it is possible to edit the
binaries and edit the header fields, but currently this is not fully
implemented and in a experimental state. For disassembly ropper uses
the awesome Capstone Framework.
Now you can generate rop chain automatically (auto-roper) for execve
and mprotect syscall.
WWW: https://scoding.de/ropper/
Added:
head/security/py-ropper/
head/security/py-ropper/Makefile (contents, props changed)
head/security/py-ropper/distinfo (contents, props changed)
head/security/py-ropper/pkg-descr (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Mon Mar 2 14:30:42 2020 (r527636)
+++ head/security/Makefile Mon Mar 2 14:37:39 2020 (r527637)
@@ -969,6 +969,7 @@
SUBDIR += py-rekall_lib
SUBDIR += py-requests-credssp
SUBDIR += py-requests-kerberos
+ SUBDIR += py-ropper
SUBDIR += py-rsa
SUBDIR += py-safe
SUBDIR += py-scp
Added: head/security/py-ropper/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-ropper/Makefile Mon Mar 2 14:37:39 2020 (r527637)
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= ropper
+DISTVERSION= 1.13.3
+CATEGORIES= security python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= 0mp at FreeBSD.org
+COMMENT= Find gadgets to build rop chains for different architectures
+
+LICENSE= BSD3CLAUSE
+# LICENSE_FILE is not distributed with the Python package.
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}capstone>=4.0.1:devel/py-capstone@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}filebytes>=0.10.0:devel/py-filebytes@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}keystone-engine>=0.9.1.3:devel/py-keystone-engine@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/security/py-ropper/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-ropper/distinfo Mon Mar 2 14:37:39 2020 (r527637)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1582056034
+SHA256 (ropper-1.13.3.tar.gz) = dfc87477c0f53d3d2836a384c106373d761cc435eafc477f299523e5404dda43
+SIZE (ropper-1.13.3.tar.gz) = 68927
Added: head/security/py-ropper/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-ropper/pkg-descr Mon Mar 2 14:37:39 2020 (r527637)
@@ -0,0 +1,22 @@
+You can use ropper to look at information about files in different
+file formats and you can find ROP and JOP gadgets to build chains for
+different architectures. Ropper supports ELF, MachO and the PE file
+format. Other files can be opened in RAW format. The following
+architectures are supported:
+
+- x86 / x86_64
+- Mips / Mips64
+- ARM (also Thumb Mode)/ ARM64
+- PowerPC / PowerPC64
+
+Ropper is inspired by ROPgadget, but should be more than a gadgets
+finder. So it is possible to show information about a binary like
+header, segments, sections etc. Furthermore it is possible to edit the
+binaries and edit the header fields, but currently this is not fully
+implemented and in a experimental state. For disassembly ropper uses
+the awesome Capstone Framework.
+
+Now you can generate rop chain automatically (auto-roper) for execve
+and mprotect syscall.
+
+WWW: https://scoding.de/ropper/
More information about the svn-ports-all
mailing list