4 pkgdesc="DotDotPwn is a Directory Traversal Fuzzer for web applications"
5 url="http://dotdotpwn.sectester.net/"
8 depends=('perl' 'perl-http-lite' 'perl-switch' 'perl-time-hires' 'perl-libnet' 'perl-tftp' 'perl-io-socket' 'perl-socket')
10 source=("http://dl.packetstormsecurity.net/fuzzer/dotdotpwn-v${pkgver}.tar.gz")
11 md5sums=('376c7c7edc5c0cebeae39d11ef744ef0')
13 mkdir -p $pkgdir/opt/dotdotpwn
14 mkdir -p $pkgdir/usr/bin
15 cp -r $srcdir/dotdotpwn-v${pkgver}/* $pkgdir/opt/dotdotpwn/
16 echo -e "#!/bin/bash\ncd /opt/dotdotpwn\n perl /opt/dotdotpwn/dotdotpwn.pl \$@" > $pkgdir/usr/bin/dotdotpwn
17 chmod a+x $pkgdir/usr/bin/dotdotpwn
18 chmod a+x $pkgdir/opt/dotdotpwn/dotdotpwn.pl