Vulnerability Discovery and Analysis
A tester must run Nikto against a web server at 10.10.5.20 that serves HTTPS on TCP 8443. Which command is correct?
Show the answer
Correct answerB. nikto -h 10.10.5.20 -p 8443 -ssl
AWhy not this: -Tuning chooses which test categories run; it does not set the port.
BWhy this is right: -h names the host, -p the port 8443 and -ssl forces TLS, matching the HTTPS service.
CWhy not this: -nossl disables TLS, so the plain-HTTP request would fail against an HTTPS-only port.
DWhy not this: Port 443 is the wrong port; the service listens on 8443.
In Nikto, -h sets the target host, -p sets the port and -ssl forces TLS. Using -nossl would disable TLS and break the scan of an HTTPS service, and -Tuning selects test categories rather than a port.