OpenVas - Host from xml file help

safejack

Well-Known Member
Joined
Feb 6, 2012
Messages
264
Reaction score
50
Hi

Hope all is well, not sure if this is the correct section to ask this question i recently installed OpenVAS on CentOS
while using the web interface i saw there is a option to import a file where you can add host to, so instead of adding the
IPs one by one, you can put them in a file and run them all together.

My question is this: how do i setup up the xml file with 50+ IPs in the correct format ?
I have tried many ways and google to no avail, one of the ways i have tried is below :

146.232.xxx.xxx, 146.232.xxx.xxx, 146.232.xxx.xxx, 146.232.xxx.xxx, 146.232.xxx.xxx,

i get the following error when i try to create :
---------------------------------------------------------------------
Operation: Create Target
Status code: 400
Status message: Error in host specification
---------------------------------------------------------------------

Thank you in advance for the assistance.
 
Top
Sign up to the MyBroadband newsletter
X