If all the steps runs successfully, we have the following console message:-
NMAP SUCCESSFULLY INSTALLED
Check the nmap version, nmap –version
How to find open ports for given server say (220.127.116.11)
nmap -sV -p 1-65535 18.104.22.168
This command will scan all of your local IP range , and will perform service identification (-sV) and will scan all ports (-p 1-65535).
- Download the latest version from github
- Extract the files
- cd nikto-master/program
- perl nikto.pl
Note:- in our example we used Ubuntu OS, which have perl preinstalled.
How to scan multiple ports using nikto:-
perl nikto.pl -h www.website.com -p 80,443
above we used 2 ports (80,443)
Scanning vulnerabilities in wordpress website.
Clone the code, install the dependencies based on the enviornment (OS)
run it to scan the wordpress websites.
ruby wpscan.rb –url www.example.com