# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=cms-few pkgver=0.1 pkgrel=5 groups=('blackarch' 'blackarch-webapp' 'blackarch-scanner') pkgdesc='Joomla, Mambo, PHP-Nuke, and XOOPS CMS SQL injection vulnerability scanning tool written in Python.' arch=('any') url='http://packetstormsecurity.com/files/64722/cms_few.py.txt.html' license=('custom:unknown') depends=('python2') source=("$pkgname::http://dl.packetstormsecurity.net/UNIX/scanners/cms_few.py.txt") sha512sums=('dfc47b704e8789fad97cde9a645033b1a9956eb46651ae272af13089b8b8daaf2180727c1e8cd3f8f6fc37ccee20500360c15c12a934724bc90dce6f52506b7f') prepare() { sed -i '1i\#!/usr/bin/env python2' $pkgname } package() { install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname" }