Try building the xml by hand and using --xml. On Mar 12, 2013 2:49 PM, "Alexander Rau" <[email protected]> wrote:
> Hi all and thanks for your responses > > So I am reading the docs as man pages and I am able to pull the configs: > > #omp -h 10.0.0.119 -p 9390 --username root -w ******* --get-configs > daba56c8-73ec-11df-a475-002264764cea Full and fast > 698f691e-7489-11df-9d8c-002264764cea Full and fast ultimate > 708f25c4-7489-11df-8094-002264764cea Full and very deep > 74db13d6-7489-11df-91b9-002264764cea Full and very deep ultimate > > However when I am trying to create a task like this: > > # omp -h 10.0.0.119 -p 9390 --username root -w ********* > --config-file=daba56c8-73ec-11df-a475-002264764cea -c "New Task comment" > -C --name "New Task name" -t 10.0.0.37 > > I get this error: > > "Failed to create task." > > The log file shows: > > event auth:MESSAGE:2013-03-12 19h45.15 utc:3956: Authentication success > for user root (3e25b72d-3f14-48e3-b454-a0420839b828) > event task:MESSAGE:2013-03-12 19h45.15 UTC:3956: Status of task > (a71de2f5-acea-401f-819f-392498d27fb9) has changed to New > > Also, the tasks is not created: > > #omp -h 10.0.0.119 -p 9390 --username root -w ******* --get-tasks > > output is empty > > Any ideas? Thanks a bunch > > Alex > > > On Mon, Mar 11, 2013 at 3:50 AM, Michael Meyer < > [email protected]> wrote: > >> *** Alexander Rau wrote: >> >> > I would like to script scanning of a host from bash similar to the >> "Quick >> > start: Immediately scan an IP address" feature in the new Greenbone >> > Security Assistant web interface. >> > >> > I tried to find the proper syntax in the omp man pages but am still in >> the >> > dark as to how exactly to do this. >> > >> > Could someone point me to a how to or documentation on how to properly >> > craft scan queries with omp from command line or how does the syntax on >> the >> > web interface work, behind the scenes, for the Qick Start routine? >> >> http://openvas.org/protocol-doc.html >> >> Micha >> >> -- >> Michael Meyer OpenPGP Key: 52A6EFA6 >> http://www.greenbone.net/ >> Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG >> Osnabrück, HR B 202460 >> Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner >> _______________________________________________ >> Openvas-discuss mailing list >> [email protected] >> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss >> > > > _______________________________________________ > Openvas-discuss mailing list > [email protected] > https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss >
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
