dirbuster 0.12 paketlendi

This commit is contained in:
Aydın Yakar 2017-06-23 01:57:24 +03:00 committed by GitHub
parent 318ac361c1
commit dda4320dbb
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# Description: Web/uygulama sunucularındaki klasör ve dosyaları deneme yanılma yolu ile tespit eder
# URL: http://www.owasp.org/index.php/Category:OWASP_DirBuster_Project
# Packager: yakar (aydin@komutan.org)
# Depends on: openjdk
name=dirbuster
version=0.12
release=1
source=(http://downloads.sourceforge.net/dirbuster/DirBuster-$version.tar.bz2)
build() {
cd "$SRC"
mkdir -p "$PKG/usr/share/dirbuster"
mkdir -p "$PKG/usr/bin"
cp --no-preserve=ownership -a DirBuster-$version/* \
"$PKG/usr/share/dirbuster"
cat > "$PKG/usr/bin/dirbuster" <<EOF
#!/bin/sh
exec /opt/jdk/bin/java -jar /usr/share/dirbuster/DirBuster-$version.jar "\$@"
EOF
chmod +x "$PKG/usr/bin/dirbuster"
}