summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9988b65f4c86b445d35457d348e2463b6337e858 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: GI_Jack <GI_Jack@hackermail.com>

pkgname=cobaltstrike_brute-git
_pkgname=cobaltstrike_brute
pkgver=r8.f26eeea
pkgrel=2
pkgdesc="Cobalt Strike Team Server Password Brute Forcer"
arch=('any')
url="https://github.com/isafe/cobaltstrike_brute"
license=('Apache')
depends=('python')
makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion'
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}::git+https://github.com/isafe/cobaltstrike_brute.git")
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/${_pkgname}"	
  # Git, no tags available
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "$srcdir/${_pkgname}"
  install -Dm755 cs_brute.py "${pkgdir}/usr/bin/cs_brute.py"
}