# Command line to test target

**URL:** <https://forum.greenbone.net/t/command-line-to-test-target/21812>\
**Category:** Building from Source and Advanced Topics\
**Created:** [September 24, 2025, 1:20pm UTC](https://forum.greenbone.net/t/command-line-to-test-target/21812 "2025-09-24T13:20:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Divesh](https://forum.greenbone.net/letter_avatar/divesh/32/6_449c533f586939b6e5f246632a46421f.png) [@Divesh](https://forum.greenbone.net/u/Divesh)\
**Post date:** [September 24, 2025, 1:20pm UTC](https://forum.greenbone.net/t/command-line-to-test-target/21812/1 "2025-09-24T13:20:47Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![cfi](https://forum.greenbone.net/letter_avatar/cfi/32/6_449c533f586939b6e5f246632a46421f.png) [@cfi](https://forum.greenbone.net/u/cfi)\
**Post date:** [September 24, 2025, 4:05pm UTC](https://forum.greenbone.net/t/command-line-to-test-target/21812/2 "2025-09-24T16:05:36Z")

</div>

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

- [How to run nvts without ospd-openvas?](https://forum.greenbone.net/t/how-to-run-nvts-without-ospd-openvas/15564)
- [How to test a single .nasl via the command line](https://forum.greenbone.net/t/how-to-test-a-single-nasl-via-the-command-line/8131)
- [Understanding testing of nasl scripts](https://forum.greenbone.net/t/understanding-testing-of-nasl-scripts/393)
- [Run an individual nasl script on a target](https://forum.greenbone.net/t/run-an-individual-nasl-script-on-a-target/2438) (This is just linking to a previously linked thread and only included here as a reference)

---

<div class="post-metadata">

**Author:** ![cfi](https://forum.greenbone.net/letter_avatar/cfi/32/6_449c533f586939b6e5f246632a46421f.png) [@cfi](https://forum.greenbone.net/u/cfi)\
**Post date:** [September 26, 2025, 8:44am UTC](https://forum.greenbone.net/t/command-line-to-test-target/21812/3 "2025-09-26T08:44:11Z")

</div>

Split this topic on September 26, 2025, 8:44am UTC

5 posts were split to a new topic: [Question on authenticated Apache HTTP Server detection](https://forum.greenbone.net/t/question-on-authenticated-apache-http-server-detection/21816)

---

<div class="post-metadata">

**Author:** ![system](https://forum.greenbone.net/uploads/default/original/2X/4/4660e797edfaea797a8c9965246072ea26732804.png) [@system](https://forum.greenbone.net/u/system)\
**Post date:** [December 23, 2025, 1:21pm UTC](https://forum.greenbone.net/t/command-line-to-test-target/21812/4 "2025-12-23T13:21:23Z")

</div>

Closed on December 23, 2025, 1:21pm UTC

This topic was automatically closed after 90 days. New replies are no longer allowed.
