2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Web sunucu zafiyet tarayıcı aracı
|
2017-06-30 21:11:17 +02:00
|
|
|
|
# URL: https://cirt.net/Nikto2
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: yakar (aydin@komutan.org)
|
|
|
|
|
# Gerekler:
|
2017-06-30 21:11:17 +02:00
|
|
|
|
|
|
|
|
|
name=nikto
|
|
|
|
|
version=2.1.5
|
|
|
|
|
release=1
|
|
|
|
|
source=(https://cirt.net/$name/$name-$version.tar.bz2)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-06-30 21:11:17 +02:00
|
|
|
|
cd $SRC/$name-$version
|
|
|
|
|
|
|
|
|
|
install -d "$PKG/usr/share/nikto"
|
|
|
|
|
cp -a * "$PKG/usr/share/nikto"
|
|
|
|
|
|
|
|
|
|
#install -Dm 755 "$SRC/nikto.sh" "$PKG/usr/bin/nikto"
|
|
|
|
|
#install -Dm 644 program/nikto.conf "$PKG/etc/nikto.conf"
|
|
|
|
|
#install -Dm 644 documentation/nikto.1 "$PKG/usr/share/man/man1/nikto.1"
|
|
|
|
|
#install -Dm 644 program/docs/nikto_manual.html "$PKG/usr/share/doc/$name/manual.html"
|
|
|
|
|
#install -Dm 644 README.md "$PKG/usr/share/doc/$name/README"
|
|
|
|
|
|
|
|
|
|
mkdir -p $PKG/usr/bin
|
|
|
|
|
cat > $PKG/usr/bin/nikto << EOF
|
|
|
|
|
#!/bin/sh
|
|
|
|
|
cd /usr/share/nikto
|
|
|
|
|
exec /usr/bin/perl nikto.pl "$@"
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
chmod +x $PKG/usr/bin/nikto
|
|
|
|
|
}
|