Nmap Scripting Engine (NSE)
The Nmap Scripting Engine (NSE) is one of Nmap’s most powerful and flexible features. It allows users to write (and share) simple scripts to automate a wide variety of networking tasks.
Nmap Scripts location
ls -l /usr/share/nmap/scripts
-sC — Runs a default set of scripts dependent on the services that are running on the target
nmap -sC 192.168.1.1
Service Specific Scripts
nmap –script=ssh-hostkey.nse 192.168.1.