Skip to content

Commit 7e4a445

Browse files
authored
add krbjack (#4157)
1 parent cd015e7 commit 7e4a445

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

packages/krbjack/PKGBUILD

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
2+
# See COPYING for license details.
3+
4+
pkgname=krbjack
5+
pkgver=1.2.0
6+
pkgrel=1
7+
pkgdesc='DNS dynamic update abuse in ADIDNS and MitM attack using Kerberos AP-REQ hijacking.'
8+
arch=('any')
9+
groups=('blackarch' 'blackarch-networking' 'blackarch-exploitation')
10+
url='https://github.com/almandin/krbjack'
11+
license=('custom:THE BEER-WARE LICENSE')
12+
depends=('python' 'python-scapy' 'impacket-ba' 'python-dnspython' 'python-colorama')
13+
makedepends=('python-build' 'python-pip')
14+
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
15+
sha512sums=('d8937395c0e5ac57b44ec30fac34a233b570f373aaf3b9a759e58beece676aead1ae64b471c43fbc62cfa5ee7994f9e11b3e982ac22687cb1b04c25e65929168')
16+
17+
build() {
18+
cd "$pkgname-$pkgver"
19+
20+
python -m build --wheel --outdir="$startdir/dist"
21+
}
22+
23+
package() {
24+
cd "$pkgname-$pkgver"
25+
26+
pip install \
27+
--verbose \
28+
--disable-pip-version-check \
29+
--no-warn-script-location \
30+
--ignore-installed \
31+
--no-compile \
32+
--no-deps \
33+
--root="$pkgdir" \
34+
--prefix=/usr \
35+
--no-index \
36+
--find-links="file://$startdir/dist" \
37+
$pkgname
38+
}
39+

0 commit comments

Comments
 (0)