Nikto2 with LibWhisker Fast Installation Code

Nikto2  ve  LibWhisker kutuphanesini, asagida yazdigim ufak bash scripti ile  hizlica kurabilirsiniz. Shell de ilgili scripti .sh formatinda kaydettikten sonra permission degerini 755 olarak set edip Nikto web security scanner  uygulamanizi hızlıca kurup kullanabilirsiniz.

Not: Scriptin orjinal/duzgun halini buradan gorebilirsiniz.
Centos 5.4 x86-64  isletim sistemlerinde test edilmistir.

#/bin/bash
#GNU|Nikto2 WAS (Web Application Scanner) Fast Installation
# Coded Ugur Engin
#http://ugurengin.com
function start() {
read -p “Are you ready?”
}
start
sleep 1
if [ $UID = 0 ]; then
wget http://cirt.net/nikto/nikto-current.tar.gz;
tar -xf nikto-current.tar.gz;
mv nikto-2.1.0 nikto;
rm -rf nikto-current.tar.gz;
cd nikto;
wget http://www.wiretrip.net/rfp/libwhisker/libwhisker2-current.tar.gz;
tar -xf libwhisker2-current.tar.gz;
rm -rf libwhisker2-current.tar.gz;
cd libwhisker2-2.4;
perl Makefile.pl lib > log.txt
cp LW2.pm ../
cd ..
perl nikto.pl -update > log.txt
echo “Installation completed…”;
exit 0;
else
echo “Please, receive Root Acces!”
su -c $0
exit -1
fi
Share on Facebook

Leave a Reply

Your email address will not be published. Required fields are marked *

*


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>