diff options
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/crackmapexec/APKBUILD | 37 | ||||
-rw-r--r-- | unmaintained/crackmapexec/cleanup-residual-patch-in-upstream.patch | 22 |
2 files changed, 59 insertions, 0 deletions
diff --git a/unmaintained/crackmapexec/APKBUILD b/unmaintained/crackmapexec/APKBUILD new file mode 100644 index 0000000000..789083bf9f --- /dev/null +++ b/unmaintained/crackmapexec/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=crackmapexec +_pkgname=CrackMapExec +pkgver=3.1.5 +pkgrel=2 +pkgdesc="A swiss army knife for pentesting Windows/Active Directory environments" +url="https://github.com/byt3bl33d3r/CrackMapExec" +arch="noarch" +license="custom" +depends="python2 py2-asn1 py2-impacket py2-netaddr py2-crypto + py2-openssl py2-msgpack py2-requests py2-termcolor py2-gevent + py2-packaging py2-setuptools py2-chardet py2-urllib3 py2-certifi" +makedepends="python2-dev py-setuptools" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/byt3bl33d3r/$_pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +check() { + cd "$builddir" + python2 setup.py check +} + +build() { + cd "$builddir" + python2 setup.py build +} + +package() { + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" + install -Dm0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + +md5sums="22843a22bea425ce55ba1f189754824f crackmapexec-3.1.5.tar.gz" +sha256sums="dbe067e21e2fb382bfbe1aa2eaa814e48add889dde1bc9015105990c6ea67250 crackmapexec-3.1.5.tar.gz" +sha512sums="c7501afc0f659466eca76863c8afeb262150f3f13ccf9d21412e69b114295c28ba001e979aae014124b31653a0a95a5a4afc5970892d01454f9941a82b6182ec crackmapexec-3.1.5.tar.gz" diff --git a/unmaintained/crackmapexec/cleanup-residual-patch-in-upstream.patch b/unmaintained/crackmapexec/cleanup-residual-patch-in-upstream.patch new file mode 100644 index 0000000000..70682d9f5f --- /dev/null +++ b/unmaintained/crackmapexec/cleanup-residual-patch-in-upstream.patch @@ -0,0 +1,22 @@ +diff --git a/cme/cmeserver.py b/cme/cmeserver.py +index 4549095..5bc336b 100644 +--- a/cme/cmeserver.py ++++ b/cme/cmeserver.py +@@ -1,17 +1,9 @@ + import BaseHTTPServer + import threading + import ssl +-<<<<<<< HEAD:cme/cmeserver.py +-<<<<<<< 23d8a6517fb1a36bac9b09e3923201ee291d00ac:cme/cmeserver.py + import os + import sys + from getpass import getuser +-======= +-import sys +->>>>>>> Added error handling for CME server in case the port is already in use.:core/cmeserver.py +-======= +-import sys +->>>>>>> da4e55380a1d1ad46d3176c513b829bd4a7099f4:core/cmeserver.py + from BaseHTTPServer import BaseHTTPRequestHandler + from logging import getLogger + from gevent import sleep |