nmap_run_nse_script
Run a custom NSE script against a validated target to perform specialized vulnerability scanning, with options for additional Nmap arguments and parsed XML output.
Instructions
Purpose: Run a previously written custom NSE script against a validated target. Constraints: Requires target and script_name. extra_args can pass -p, -sV, --script-args, --script-trace, -d, or -v. XML output is parsed when possible, preserving script output fields. Example: nmap_run_nse_script(target='host', script_name='http-custom-check', extra_args='-p80 --script-trace')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| extra_args | No | ||
| script_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||