OpenVAS: Create new objects with omp

With omp, different object types can be created, deleted or modified. Here are two examples.

Create new target with omp

omp -h sv-openvas.joed.local -u joed 
--xml "Test-1 
Placeeholder 
127.0.0.1"

The command returns the following output when the create succeeds.


Further information about create_target can be found at http://openvas.org/omp-6-0.html#command_create_target

Delete target with omp

omp -h sv-openvas.joed.local -u joed -w 
1q2w3e4r --xml ""

The command returns the following output when the create succeeds.


		
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s