mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-26 00:31:09 +02:00
crackmapexec: cleanup
This commit is contained in:
parent
4eba104ba4
commit
6744394583
3 changed files with 3 additions and 79 deletions
|
|
@ -1,44 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
#inherit python-single-r1 multilib
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="A swiss army knife for pentesting Windows/Active Directory environments"
|
||||
HOMEPAGE="https://github.com/byt3bl33d3r/CrackMapExec/releases"
|
||||
SRC_URI="https://github.com/byt3bl33d3r/CrackMapExec/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">dev-python/impacket-0.9.14
|
||||
dev-python/gevent
|
||||
dev-python/netaddr
|
||||
dev-python/pycrypto
|
||||
dev-python/pyasn1
|
||||
dev-python/termcolor
|
||||
dev-python/requests
|
||||
dev-python/pyopenssl
|
||||
dev-python/msgpack"
|
||||
|
||||
S="${WORKDIR}/CrackMapExec-${PV}"
|
||||
|
||||
#src_prepare() {
|
||||
# epatch "${FILESDIR}/${P}-leftovers.patch"
|
||||
# cd setup
|
||||
# python2 ./setup_database.py
|
||||
# cd ..
|
||||
#}
|
||||
|
||||
#src_install() {
|
||||
# fperms +x crackmapexec.py
|
||||
# dodir /usr/$(get_libdir)/${PN}
|
||||
# cp -pPR "${S}"/* "${ED}"/usr/$(get_libdir)/"${PN}" || die
|
||||
# dosym /usr/$(get_libdir)/${PN}/${PN}.py /usr/sbin/${PN}
|
||||
#}
|
||||
|
|
@ -1,8 +1,7 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit distutils-r1 eutils
|
||||
|
|
@ -19,7 +18,7 @@ SLOT="0"
|
|||
RDEPEND=">=dev-python/impacket-0.9.15[${PYTHON_USEDEP}]
|
||||
>=dev-python/gevent-1.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||
|| ( dev-python/pycryptodome[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )
|
||||
|| ( dev-python/pycryptodome[${PYTHON_USEDEP}] )
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
dev-python/termcolor[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
|
|
|
|||
|
|
@ -1,31 +0,0 @@
|
|||
From 1e281bd638a27e9da024a31a3cabb87ef9f7202b Mon Sep 17 00:00:00 2001
|
||||
From: byt3bl33d3r <byt3bl33d3r@gmail.com>
|
||||
Date: Sat, 4 Jun 2016 02:18:17 -0600
|
||||
Subject: [PATCH] Got rid of some left over merger cruft
|
||||
|
||||
---
|
||||
cme/cmeserver.py | 8 --------
|
||||
1 file changed, 8 deletions(-)
|
||||
|
||||
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
|
||||
Loading…
Reference in a new issue