[NSE] Added a detection method and the option to execute a payload. Patch by Paul Amar.