-
-
Notifications
You must be signed in to change notification settings - Fork 575
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). | ||
# See COPYING for license details. | ||
|
||
pkgname=adpeas | ||
pkgver=1.3.0.r12.g58462f3 | ||
pkgrel=1 | ||
pkgdesc='winPEAS, but for Active Directory' | ||
arch=('any') | ||
groups=('blackarch' 'blackarch-windows') | ||
url='https://github.com/ajm4n/adpeas' | ||
license=('MIT') | ||
depends=('bloodhound' 'certi' 'certipy' 'impacket' 'netexec' 'python' 'python-ldap3' 'python-regex' 'python-termcolor') | ||
makedepends=('git' 'python-setuptools') | ||
source=("git+$url.git") | ||
sha512sums=('SKIP') | ||
|
||
pkgver() { | ||
cd $pkgname | ||
|
||
( set -o pipefail | ||
git describe --long --tags --abbrev=7 2>/dev/null | | ||
sed 's/\([^-]*-g\)/r\1/;s/-/./g' || | ||
printf "%s.%s" "$(git rev-list --count HEAD)" \ | ||
"$(git rev-parse --short=7 HEAD)" | ||
) | ||
} | ||
|
||
build() { | ||
cd $pkgname | ||
|
||
python setup.py build | ||
} | ||
|
||
package() { | ||
cd $pkgname | ||
|
||
python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build | ||
mv "$pkgdir/usr/bin/adPEAS" "$pkgdir/usr/bin/$pkgname" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). | ||
# See COPYING for license details. | ||
|
||
pkgname=certi | ||
pkgver=6.6cfa656 | ||
pkgrel=1 | ||
pkgdesc='Active Directory Certificate Services (ADCS) abuser. impacket copy of Certify.' | ||
arch=('any') | ||
groups=('blackarch' 'blackarch-windows') | ||
url='https://github.com/zer1t0/certi' | ||
license=(AGPL-3.0-only) | ||
depends=('impacket' 'python' 'python-cryptography') | ||
makedepends=('git' 'python-setuptools') | ||
source=("git+$url.git") | ||
sha512sums=('SKIP') | ||
|
||
pkgver() { | ||
cd $pkgname | ||
|
||
( set -o pipefail | ||
git describe --long --tags --abbrev=7 2>/dev/null | | ||
sed 's/\([^-]*-g\)/r\1/;s/-/./g' || | ||
printf "%s.%s" "$(git rev-list --count HEAD)" \ | ||
"$(git rev-parse --short=7 HEAD)" | ||
) | ||
} | ||
|
||
build() { | ||
cd "$pkgname" | ||
|
||
python setup.py build | ||
} | ||
|
||
package() { | ||
cd "$pkgname" | ||
|
||
python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build | ||
} | ||
|