From nobody Thu Jul 25 18:22:49 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WVK4T3f54z5R2F0; Thu, 25 Jul 2024 18:22:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVK4T33Qyz55NF; Thu, 25 Jul 2024 18:22:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721931769; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7sJ6H15MIL3KPK4xTdA34NqMW/kX+dwgfR4CT+lX8lY=; b=LiX4UVVPfaP62h/oUmZoBOpffD31M5L4eOfxgQ/9tsaecfIJnkl1q8Qnles4H1ukw8Q5I1 oRP6ipe7QzKeVYMnYJHy9fayXTNXMla53FEooF4S/jxLQv7lI2KgcDae/VCcgEjDywNPp2 rvJz43cYbeN4BtcEwJWLKnBWzm449SL3AA8cZQPZ1NyAFzJgQ1KQ9Dai++kQDscA6XC96I kJPG762jnoBkvjcfa6YKuWJIYY5K0lNmjlUHOT8TZ61wZStNpIuJgvrYCogGSeKQiCdJbo L12IEvDxN5eroXZercfmIAoSMUtkgRIxAcdBOqz7bn1GM2nP+i9MDCpu6b6rtA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721931769; a=rsa-sha256; cv=none; b=ODXB9zy9RKyer2FTxMlEK2St6CSpIgLrDu/7r3OO0buwTX6YMS3/4JehmNedaWHX5vSNc5 EhGV6Kv+1HAizwSx/fwKcByVFBFqPwpBKhM6R2bW+2WIFS4hZABG06m/U8sHujm3/ioGnn Y3WproPTSlH+lBySUb7ZQ+u4fpqlc8zNZVx3noQIr4+fWX9Q0j5VQhjou49rIuhIbiFGHm Dchx2wTYzZ1UV+MIxctlIdGGrf97oPb8JgxH4eCfrrnmRkk5SQEBlCUPR4Ku7NXX3WI2tr cmNBdNSEHGPtbsOedvdH3rOwteVeiEM7sxr4evnF4ut7F/lao+Jy+n+oQA12Hw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721931769; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7sJ6H15MIL3KPK4xTdA34NqMW/kX+dwgfR4CT+lX8lY=; b=W6wCRyDur9ZXA21+upjVnxgWcWjiMUMFT4AoMv5s/gVEzfbkVJtkCNZqnX0xKdpSbsybZg yL254xey2sZfNEtJlO2TcqAHSNQhrZZL4wT2WEMmFsD4psmBczzI/BM6MPRyr2mmlVOBiv 3RMl2Y2TBWZFrrh15Lz0JmzT/dRvEdVZuFk9ZboQzITaAuOfZgqsx9aeq2Gzq/0ooWqggd 65mmsKIOO011+ZQXUrx4tE1ZtrEgVikOAipjBGs88ZsGI5FgiBZfpZUtiWKwTugIDPYsXA dHYYS791BzfIZ+3jE/HNOcB2nRNjNOMOezJ4aYuV6ozFtirewAtJos3cV3Gw3g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WVK4T2ZFdz156m; Thu, 25 Jul 2024 18:22:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46PIMn5w023677; Thu, 25 Jul 2024 18:22:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46PIMnCj023674; Thu, 25 Jul 2024 18:22:49 GMT (envelope-from git) Date: Thu, 25 Jul 2024 18:22:49 GMT Message-Id: <202407251822.46PIMnCj023674@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: 2f3f70a3621c - main - security/exploit-pattern: new port: Python Exploit Pattern Tool List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2f3f70a3621c503f5e521c732205a713640ec5b0 Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=2f3f70a3621c503f5e521c732205a713640ec5b0 commit 2f3f70a3621c503f5e521c732205a713640ec5b0 Author: gatekeeper AuthorDate: 2024-07-25 18:20:51 +0000 Commit: Vladimir Druzenko CommitDate: 2024-07-25 18:20:51 +0000 security/exploit-pattern: new port: Python Exploit Pattern Tool Python implementation of Metasploit's pattern generator and search. Should be python version agnostic, tested and working with Python 2.7.12 up to and including Python 3.11.1 Starts faster and rolls both tools into one. No extra dependencies required, works with vanilla python https://github.com/Svenito/exploit-pattern PR: 280341 --- security/Makefile | 1 + security/exploit-pattern/Makefile | 27 +++++++++++++++++++++++++++ security/exploit-pattern/distinfo | 3 +++ security/exploit-pattern/pkg-descr | 7 +++++++ 4 files changed, 38 insertions(+) diff --git a/security/Makefile b/security/Makefile index 9a7e26c5dbde..4af850de59a2 100644 --- a/security/Makefile +++ b/security/Makefile @@ -150,6 +150,7 @@ SUBDIR += enchive SUBDIR += eschalot SUBDIR += expiretable + SUBDIR += exploit-pattern SUBDIR += fakeident SUBDIR += fakeroot SUBDIR += farmhash diff --git a/security/exploit-pattern/Makefile b/security/exploit-pattern/Makefile new file mode 100644 index 000000000000..a36d3b4311a6 --- /dev/null +++ b/security/exploit-pattern/Makefile @@ -0,0 +1,27 @@ +PORTNAME= exploit-pattern +DISTVERSION= g20230527 +CATEGORIES= security + +MAINTAINER= tiago.gasiba@gmail.com +COMMENT= Generate and search pattern string for exploit development +WWW= https://github.com/${GH_ACCOUNT}/${PORTNAME} + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +USES= python:run shebangfix +USE_GITHUB= yes +GH_ACCOUNT= Svenito +GH_TAGNAME= 59bb0c5 + +SHEBANG_FILES= pattern.py + +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= bin/pattern + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/pattern.py ${STAGEDIR}${PREFIX}/bin/pattern + +.include diff --git a/security/exploit-pattern/distinfo b/security/exploit-pattern/distinfo new file mode 100644 index 000000000000..842816b2eae9 --- /dev/null +++ b/security/exploit-pattern/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1721929279 +SHA256 (Svenito-exploit-pattern-g20230527-59bb0c5_GH0.tar.gz) = 65d0e50a889a542617bb7664913a64a7dce45e7ef38df612329213e1adf7017b +SIZE (Svenito-exploit-pattern-g20230527-59bb0c5_GH0.tar.gz) = 2964 diff --git a/security/exploit-pattern/pkg-descr b/security/exploit-pattern/pkg-descr new file mode 100644 index 000000000000..083544d8c299 --- /dev/null +++ b/security/exploit-pattern/pkg-descr @@ -0,0 +1,7 @@ +Python implementation of Metasploit's pattern generator and search. +Should be python version agnostic, tested and working with Python +2.7.12 up to and including Python 3.11.1 + +Starts faster and rolls both tools into one. + +No extra dependencies required, works with vanilla python