[Openvas-plugins] import file text - Configuration -> Targets - New Target (Name, Host and Port Range)

Matthew Mundell matthew.mundell at greenbone.net
Mon Jun 13 09:25:12 CEST 2011


>  How do I import this text file?

This question really belongs on openvas-discuss.

We will probably add importing the file directly in the future, like for
OpenVAS 5.

For now you can use the "omp" command to create the target(s) with a
script.  The script could read the text file and create the target(s).

	http://www.greenbone.net/learningcenter/remote_controlled.html
	http://openvas.org/protocol-doc.html

Here's an example

	  # omp -u openvas-admin --xml="
	   <create_target>
		 <name>new target</name>
		 <hosts>new_target.example.com</hosts>
	   </create_target>
	  "

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner


More information about the Openvas-plugins mailing list