February 2015
Beginner to intermediate
244 pages
4h 37m
English
When writing our own NSE scripts, we will use the API provided by Nmap to interact with the host and port database. To write a version script, we simply need to do the following:
version.The first step is very straightforward. In your NSE script, add the category field as follows:
category = {"version"}The category field is actually a regular Lua table, so feel free to add more categories to your script if necessary.
The next important thing is to have a portrule matching the desired ...
Read now
Unlock full access