milis/talimatname/genel/d/dirbuster/talimat

26 lines
681 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: 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
# Paketçi: yakar (aydin@komutan.org)
# Gerekler: openjdk
isim=dirbuster
surum=0.12
devir=1
kaynak=(http://downloads.sourceforge.net/dirbuster/DirBuster-$surum.tar.bz2)
derle() {
cd "$SRC"
mkdir -p "$PKG/usr/share/dirbuster"
mkdir -p "$PKG/usr/bin"
cp --no-preserve=ownership -a DirBuster-$surum/* \
"$PKG/usr/share/dirbuster"
cat > "$PKG/usr/bin/dirbuster" <<EOF
#!/bin/sh
exec /opt/jdk/bin/java -jar /usr/share/dirbuster/DirBuster-$surum.jar "\$@"
EOF
chmod +x "$PKG/usr/bin/dirbuster"
}