# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=darkbing pkgver=0.1 pkgrel=5 groups=('blackarch' 'blackarch-scanner' 'blackarch-fuzzer' 'blackarch-webapp') pkgdesc='A tool written in python that leverages bing for mining data on systems that may be susceptible to SQL injection.' arch=('any') url='http://packetstormsecurity.com/files/111510/darkBing-SQL-Scanner-0.1.html' license=('custom:unknown') depends=('python2' 'python2-lxml') source=("$pkgname::http://dl.packetstormsecurity.net/UNIX/scanners/darkBing-v.$pkgver.py.txt") sha512sums=('c47a3e02405629d0606aec1b564366bf1e015deadd1ce6bae14b4d8cf3efa421d5972351f9b7f7b9f303b78cf36bcf4f74de6150ac9ded3ad1a81df50ad538aa') prepare() { sed -i 's|/usr/bin/python|/usr/bin/python2|' $pkgname } package() { install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname" }