Nmap Script - customize port rules
Nmap scripts are tuned to check only the specific services they intend.
For example, ssl scripts (ssl-cert.nse, ssl-enum-ciphers.nse, sslv2.nse) are designed to check only for ssl-related services.
Here, if you didn't specify -V service/version detection option and your target service is not in default port, your intended scripts wouldn't run on that port.
In times when you want to send less traffic and save time because you already know about your target info, you can fine-tune ./nselib/shortport.lua to add your own port rules.
For example, ssl scripts (ssl-cert.nse, ssl-enum-ciphers.nse, sslv2.nse) are designed to check only for ssl-related services.
Here, if you didn't specify -V service/version detection option and your target service is not in default port, your intended scripts wouldn't run on that port.
In times when you want to send less traffic and save time because you already know about your target info, you can fine-tune ./nselib/shortport.lua to add your own port rules.
Comments
Post a Comment