Hi Shang

Am Donnerstag 19 Juli 2012 00:28:37 schrieb Shang Wang:
> Dear all:
>
> I'm basically hairless after trying all possible methods to create a config
> template in OpenVAS using OMP commands(some people might have seen my
> previous email). I have no problem exporting xml file as a template from
> OpenVAS, but then I couldn't import it into another scanner. According to
> the descriptions on the
> website<http://www.openvas.org/omp-2-0.html#command_create_config>,
> I can use 2 methods to do the import. The first one is wrapping a
> "<create_config></create_config>" tag around the "<get_config>" response. I
> tried to do this but linux gives me "command list too long" message. I
> tried the advice from Matthew(thx Matthew) using a file to store the whole
> thing and do "cat command_in_file | omp -u username -w password -p port -X
> -", but it doesn't seem to work. I also tried the other approach, which is

What exactly did not work with the "cat ..." approach?
--f

> "<create_config><rcfile></rcfile></create_config>", but I couldn't find any
> resource about the format of the rcfile. If I run the command, it will
> create an empty config with no plugin selected. My questions is that: can
> anybody point me to some resource on how should I write an rcfile? Or I can
> download the rcfile from somewhere? Thanks.

_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel

Reply via email to