以Windows安裝環境為例
- 至C:\Program Files (x86)\Nmap\scripts\script.db,將想要預設執行的script其Category改為default
- 原本的:Entry { filename = "resolveall.nse", categories = { "discovery", "safe", } }
- 改後的:Entry { filename = "resolveall.nse", categories = { "default", "safe", } }
- 執行nmap --script-updatedb 來套用更新