milis/talimatname/genel/n/nikto/talimat

39 lines
772 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Web sunucu zafiyet tarayıcı aracı
# URL: https://cirt.net/Nikto2
2018-11-06 05:56:48 +01:00
# Paketçi: yakar
2018-06-09 00:06:58 +02:00
# Gerekler:
2018-08-02 09:12:20 +02:00
# Grup: güvenlik
2018-06-09 00:06:58 +02:00
isim=nikto
2018-11-06 05:56:48 +01:00
surum=2.1.6
2018-06-09 00:06:58 +02:00
devir=1
2018-11-06 05:56:48 +01:00
kaynak=(https://github.com/sullo/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)
2018-06-09 00:06:58 +02:00
derle() {
2018-11-06 05:56:48 +01:00
cd $SRC/$isim-$surum/program/
2018-06-09 00:06:58 +02:00
2018-11-06 05:56:48 +01:00
install -d "$PKG/usr/share/nikto"
cp -a * "$PKG/usr/share/nikto"
2018-06-09 00:06:58 +02:00
2018-11-06 05:56:48 +01:00
mkdir -p $PKG/usr/bin
cat > $PKG/usr/bin/nikto << EOF
2018-06-09 00:06:58 +02:00
#!/bin/sh
cd /usr/share/nikto
exec /usr/bin/perl nikto.pl "$@"
EOF
chmod +x $PKG/usr/bin/nikto
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=Nikto
Exec=sh -c "nikto;${SHELL:-bash}"
Terminal=true
Icon=nikto
Type=Application
Categories=Network;X-Komutan;
Version=1.0
BASLA
2018-06-09 00:06:58 +02:00
}