Book Image

Mastering the Nmap Scripting Engine

By : Paulino Calderon
Book Image

Mastering the Nmap Scripting Engine

By: Paulino Calderon

Overview of this book

Table of Contents (23 chapters)
Mastering the Nmap Scripting Engine
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Scan Phases
Script Categories
Nmap Options Mind Map
References
Index

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