NSE scripts are listed in a file named script.db
. Having your NSE scripts included in this database allows you to call them directly by name (without the .nse
extension). To add new scripts to your script.db
database, you simply need to copy your .nse
files to the scripts
directory, which is usually <NMAP install>/scripts
, and run the following command:
#nmap --script-updatedb