[Openvas-discuss] Import List of Targets(1000 hosts) by OMP - OpenVAS 4

firebits at backtrack.com.br firebits at backtrack.com.br
Fri Aug 5 22:24:50 CEST 2011


I have a list of targets (1000 hosts), for example:

# vi list_targets.xml
 Host1
 192.168.1.1
 Host2
 192.168.10.22
 Host3
 192.168.78.33
	Note: ips are not in sequence. I must also do one task at a target, 
it will divide by webservers, databases and other services.

Step 2
# omp -u teste -w teste -v --xml=list_targets.xml

No problem. But...

Step 3
[root at localhost ~]# omp -u teste -w teste -v --xml=targets.xml 

WARNING: Verbose mode may reveal passwords!

Will try to connect to host 127.0.0.1, port 9390...
(omp:3730): lib  serv-DEBUG:    Connected to server.
(omp:3730): lib  serv-DEBUG:    Shook hands with server.
(omp:3730): lib  serv-DEBUG:    send 108 from  testeteste
(omp:3730): lib  serv-DEBUG: => done
lib   xml-Message:    asking for 1048576

lib   xml-Message:  targets.xml
(omp:3730): lib  serv-DEBUG: => done
lib   xml-Message:    asking for 1048576

lib   xml-Message:    Error: Error on line 1 char 1: Document was empty or
contained only whitespace

lib   xml-Message:    End error: Error on line 1 char 1: Document was empty
or contained only whitespace

Failed to read response.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wald.intevation.org/pipermail/openvas-discuss/attachments/20110805/ee99eac9/attachment.html>


More information about the Openvas-discuss mailing list