Command line to test target

Is there a command (cli) to test a nasl file directly on a target machine. The reason is that one of the CVE is not getting detected even when the vuln is already present.

There are a few existing threads available and linked below which should give some pointers to start: