# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=dns2geoip pkgver=0.1 pkgrel=5 groups=('blackarch' 'blackarch-scanner' 'blackarch-recon') pkgdesc='A simple python script that brute forces DNS and subsequently geolocates the found subdomains.' arch=('any') url='http://packetstormsecurity.com/files/118036/DNS-2-GeoIP.html' license=('unknown') depends=('python2' 'python2-dnspython' 'python2-geoip' 'python2-simplekml') source=("$pkgname::http://dl.packetstormsecurity.net/UNIX/penetration/dns2geoip.py.txt") sha512sums=('c3042feb250880e165a3e580e28118009b466caced2aa9ec1614f00129912633f82c278e91b8e0420c3f0c9253bc8e091df3bff5ce96e128198a4696dde30676') prepare() { sed -i 's|/usr/bin/env python|/usr/bin/env python2|' $pkgname } package() { install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname" }