Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (29 sloc) 919 Bytes
# Maintainer: ArchStrike <team @ archstrike.org>
buildarch=1
pkgname=sublist3r-git
pkgver=20200105.r134
pkgrel=1
arch=('any')
groups=('archstrike' 'archstrike-dns' 'archstrike-scanners')
pkgdesc="A Fast subdomains enumeration tool for penetration testers"
license=('GPL2')
depends=('python-argparse' 'python-dnspython' 'python-requests')
makedepends=('git')
source=("$pkgname::git+https://github.com/aboul3la/Sublist3r.git")
sha512sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "%s.r%s" "$(git show -s --format=%ci master | sed 's/\ .*//g;s/-//g')" "$(git rev-list --count HEAD)"
}
package() {
cd "$pkgname"
install -dm755 "$pkgdir/usr/bin"
install -dm755 "$pkgdir/usr/share/$pkgname"
cp -a --no-preserve=ownership * $pkgdir/usr/share/$pkgname/
cat > "$pkgdir"/usr/bin/sublist3r <<EOF
#!/usr/bin/env bash
cd /usr/share/$pkgname
python ./sublist3r.py "\$@"
EOF
chmod 755 "$pkgdir"/usr/bin/sublist3r
}
You can’t perform that action at this time.