Skip to content

Commit

Permalink
devel/py-donut-shellcode: New port: donut shellcode Python C extension
Browse files Browse the repository at this point in the history
Donut is a position-independent code that enables in-memory execution of
VBScript, JScript, EXE, DLL files and dotNET assemblies. A module created by
Donut can either be staged from a HTTP server or embedded directly in the
loader itself. The module is optionally encrypted using the Chaskey block
cipher and a 128-bit randomly generated key. After the file is loaded and
executed in memory, the original reference is erased to deter memory scanners.
  • Loading branch information
alonsobsd committed Apr 19, 2023
1 parent c91f75f commit c0d6d40
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -4539,6 +4539,7 @@
SUBDIR += py-dodgy
SUBDIR += py-dogpile.cache
SUBDIR += py-doit
SUBDIR += py-donut-shellcode
SUBDIR += py-dotted
SUBDIR += py-dotty-dict
SUBDIR += py-dpcontracts
Expand Down
16 changes: 16 additions & 0 deletions devel/py-donut-shellcode/Makefile
@@ -0,0 +1,16 @@
PORTNAME= donut-shellcode
DISTVERSION= 1.0.2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= acm@FreeBSD.org
COMMENT= donut shellcode Python C extension
WWW= https://github.com/TheWover/donut

LICENSE= BSD3CLAUSE

USES= python:3.6+
USE_PYTHON= distutils autoplist

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/py-donut-shellcode/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1681934732
SHA256 (donut-shellcode-1.0.2.tar.gz) = 66fd1b5d4b7af2ec6ddd554d7e0ab93810f6c8172ab0c12f1f776e108e331121
SIZE (donut-shellcode-1.0.2.tar.gz) = 293032
6 changes: 6 additions & 0 deletions devel/py-donut-shellcode/pkg-descr
@@ -0,0 +1,6 @@
Donut is a position-independent code that enables in-memory execution of
VBScript, JScript, EXE, DLL files and dotNET assemblies. A module created by
Donut can either be staged from a HTTP server or embedded directly in the
loader itself. The module is optionally encrypted using the Chaskey block
cipher and a 128-bit randomly generated key. After the file is loaded and
executed in memory, the original reference is erased to deter memory scanners.

0 comments on commit c0d6d40

Please sign in to comment.