O'Reilly logo

Mastering the Nmap Scripting Engine by Paulino Calderón Pale

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Data directory search order

NSE will automatically attempt to retrieve data files from different sources, and the order of this search determines which files will be used when more than one data file source is available.

NSE will attempt to find the data files in the following order:

  • The script argument, --data-dir (if set)
  • The environment variable, NMAPDIR
  • The ~/.nmap directory of the running user (only on non-Windows systems)
  • The installation directory
  • The installation directory with ../share/nmap appended (only on non-Windows systems)
  • The location defined at compile time

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required