Question: where are nmap scripts stored?
Answer: Nmap scripts are stored in a scripts subdirectory of the Nmap data directory by default (see Chapter 14, Understanding and Customizing Nmap Data Files). For efficiency, scripts are indexed in a database stored in scripts/script. db , which lists the category or categories in which each script belongs.