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
|
2018-11-06 05:56:48 +01:00
|
|
|
|
# Paketçi: yakar
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Gerekler: openjdk
|
2018-08-17 11:29:09 +02:00
|
|
|
|
# Grup: ağ
|
2017-06-23 00:57:24 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=dirbuster
|
|
|
|
|
surum=0.12
|
2018-11-06 05:56:48 +01:00
|
|
|
|
devir=2
|
2017-10-28 14:10:23 +02:00
|
|
|
|
kaynak=(http://downloads.sourceforge.net/dirbuster/DirBuster-$surum.tar.bz2)
|
2017-06-23 00:57:24 +02:00
|
|
|
|
|
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"
|
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cp --no-preserve=ownership -a DirBuster-$surum/* \
|
2017-06-23 00:57:24 +02:00
|
|
|
|
"$PKG/usr/share/dirbuster"
|
|
|
|
|
|
|
|
|
|
cat > "$PKG/usr/bin/dirbuster" <<EOF
|
|
|
|
|
#!/bin/sh
|
2017-10-28 14:10:23 +02:00
|
|
|
|
exec /opt/jdk/bin/java -jar /usr/share/dirbuster/DirBuster-$surum.jar "\$@"
|
2017-06-23 00:57:24 +02:00
|
|
|
|
EOF
|
|
|
|
|
chmod +x "$PKG/usr/bin/dirbuster"
|
2018-11-06 05:56:48 +01:00
|
|
|
|
|
|
|
|
|
# desktop
|
|
|
|
|
mkdir -p "$PKG/usr/share/applications/"
|
|
|
|
|
cat > $PKG/usr/share/applications/$isim.desktop << BASLA
|
|
|
|
|
[Desktop Entry]
|
|
|
|
|
Name=Dirbuster
|
|
|
|
|
Exec=dirbuster
|
|
|
|
|
Terminal=false
|
|
|
|
|
Icon=dirbuster
|
|
|
|
|
Type=Application
|
|
|
|
|
Categories=Network;X-Komutan;
|
|
|
|
|
Version=1.0
|
|
|
|
|
BASLA
|
2017-06-23 00:57:24 +02:00
|
|
|
|
}
|