Nikto in Termux – Installation and Usage Commands

Nikto is a tool that helps you check if a website is safe or not. It can find small problems in a website, like old software or weak security. Many beginners use Nikto because it is very easy to use and shows results quickly. You can install and use nikto in termux to learn how website security works in a simple way.

Installation Commands

Update and upgrade all Termux packages:

pkg update && pkg upgrade -y

Install required packages:

pkg install git perl -y

Clone Nikto from GitHub:

git clone https://github.com/sullo/nikto.git

Go to the Nikto directory:

cd nikto

Install required Perl modules (fix common errors):

pkg install perl
cpan install JSON
cpan install XML::Writer

Go to program folder:

cd program

Check if Nikto is working:

perl nikto.pl -H

Usage Commands

Scan a website for vulnerabilities:

perl nikto.pl -h example.com

Scan a website with full output:

perl nikto.pl -h example.com -Display V

Scan a specific port:

perl nikto.pl -h example.com -p 8080

Save scan results to a file:

perl nikto.pl -h example.com -o result.txt

Scan with SSL (HTTPS):

perl nikto.pl -h https://example.com

READ ALSO  Sqlmap in Termux – Installation & Usage Commands

Leave a Comment