blob: b724f4ab60ed6594f4eec91b1105f83cac4a8c10 (
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
28
|
# Maintainer: GI_Jack <GI_Jack@hackermail.com>
pkgname=nmap-grab-beacon-config-git
_pkgname=nmap-grab-beacon-config
pkgver=r9.b9b56bb
pkgrel=1
pkgdesc="NMAP script for probing Cobalt Strike Beacon config"
arch=('any')
url="https://github.com/whickey-r7/grab_beacon_config"
license=('UNKNOWN')
depends=('nmap')
makedepends=('git')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}::git+https://github.com/whickey-r7/grab_beacon_config.git")
noextract=()
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 -Dm644 grab_beacon_config.nse "${pkgdir}/usr/share/nmap/scripts/grab_beacon_config.nse"
}
|