Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bloodhound.py changes + CE version #4439

Merged
merged 4 commits into from
Jan 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions packages/bloodhound-python-ce/PKGBUILD
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=bloodhound-ce-python
_pkgname=BloodHound.py
pkgver=v1.0.1.r182.g3def775
pkgrel=1
pkgdesc='Python data collector for Bloodhound community edition (v5)'
arch=('any')
groups=('blackarch' 'blackarch-recon' 'blackarch-windows')
url='https://github.com/dirkjanm/BloodHound.py'
license=('MIT')
depends=('python' 'python-dnspython' 'impacket' 'python-ldap3' 'python-pyasn1'
'python-pycryptodome')
makedepends=('python-setuptools' 'git')
source=("git+https://github.com/dirkjanm/$_pkgname.git#branch=bloodhound-ce")
sha512sums=('SKIP')

pkgver() {
cd $_pkgname

git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
cd "$_pkgname"

python setup.py build
}

package() {
cd "$_pkgname"

python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build

install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

12 changes: 6 additions & 6 deletions packages/bloodhound-python/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@

pkgname=bloodhound-python
_pkgname=BloodHound.py
pkgver=v1.0.1.r151.ge8b0b7a
pkgrel=4
pkgdesc='Bloodhound python data collector'
pkgver=v1.0.1.r163.g44bd5c2
pkgrel=1
pkgdesc='Python data collector for Bloodhound legcacy (v4)'
arch=('any')
groups=('blackarch' 'blackarch-recon' 'blackarch-windows')
url='https://github.com/fox-it/BloodHound.py'
url='https://github.com/dirkjanm/BloodHound.py'
license=('MIT')
depends=('python' 'python-dnspython' 'impacket' 'python-ldap3' 'python-pyasn1'
'python-future' 'ldapdomaindump')
'python-pycryptodome')
makedepends=('python-setuptools' 'git')
source=("git+https://github.com/fox-it/$_pkgname.git")
source=("git+https://github.com/dirkjanm/$_pkgname.git")
sha512sums=('SKIP')

pkgver() {
Expand Down
Loading