milis/talimatname/genel/d/dirbuster/talimat

26 lines
691 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Web/uygulama sunucularındaki klasör ve dosyaları deneme yanılma yolu ile tespit eder
2017-06-23 00:57:24 +02:00
# URL: http://www.owasp.org/index.php/Category:OWASP_DirBuster_Project
2017-10-27 20:46:27 +02:00
# Paketçi: yakar (aydin@komutan.org)
# Gerekler: openjdk
2017-06-23 00:57:24 +02:00
name=dirbuster
version=0.12
release=1
source=(http://downloads.sourceforge.net/dirbuster/DirBuster-$version.tar.bz2)
2017-10-27 23:59:41 +02:00
derle() {
2017-06-23 00:57:24 +02:00
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"
}