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.
OpenVas - Host from xml file
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: OpenVas - Host from xml file
Have you tried a file with one network or IP per line?
Re: OpenVas - Host from xml file
Hi
Yes i have, can you give me a example of what you mean, to confirm i tried it correctly.
Thank you
Yes i have, can you give me a example of what you mean, to confirm i tried it correctly.
Thank you
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: OpenVas - Host from xml file
Sure, I made this file that looked like this:
10.10.10.0/24
10.10.11.1
10.10.11.5
and created a new target, with a "From File" option
10.10.10.0/24
10.10.11.1
10.10.11.5
and created a new target, with a "From File" option