# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=lfi-image-helper pkgver=0.8 pkgrel=8 groups=('blackarch' 'blackarch-webapp' 'blackarch-backdoor') pkgdesc='A simple script to infect images with PHP Backdoors for local file inclusion attacks.' arch=('any') url='http://packetstormsecurity.com/files/129871/LFI-Image-Helper-0.8.html' license=('custom:unknown') depends=('perl' 'perl-image-exiftool' 'perl-color-output') source=('https://dl.packetstormsecurity.net/UNIX/penetration/LFI_Image_Helper.zip') sha512sums=('d8df5430e9451aa8e083d33046aefc51f5a9b0bf1b5f52d825f402b016303c0682e9a896298cc25e4927999d41497da574e8b9d5aaed3e4c271dd5a7e391bc3d') prepare() { sed -i 's|#!usr/bin/perl|#!/usr/bin/perl|' image.pl sed -i 's/.$//' image.pl } package() { install -Dm 755 image.pl "$pkgdir/usr/bin/$pkgname" }