NVT tests to make sure other tests are executed

Hello, Is there any way to have a vulnerability test that can make sure a couple of other tests are executed?

The most straightforward way to do it is to set_kb_item() on a unique key in the others tests, then verify the value in the verification VT (this VT should have those tests in its script_dependencies() so that it runs after them.)

1 Like

Thank you again for your reply. Can we use category ACT_END to make sure it runs at the end?

Sure, if you want it to run at the end of the scan. But there is no assurance that it will run before/after other ACT_END VTs.