1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

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/
This commit is contained in:
Mateusz Piotrowski 2020-03-02 14:37:39 +00:00
parent ebe1190621
commit 3b4fc823d8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527637
4 changed files with 50 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,24 @@
# $FreeBSD$
PORTNAME= ropper
DISTVERSION= 1.13.3
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= 0mp@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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1582056034
SHA256 (ropper-1.13.3.tar.gz) = dfc87477c0f53d3d2836a384c106373d761cc435eafc477f299523e5404dda43
SIZE (ropper-1.13.3.tar.gz) = 68927

View File

@ -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/