openVAS create new tasks from omp
Hi all!
I am trying to create new task from omp, but the documentations of the commands are not always perfect, so I run into an issue: I am able to create new tasks if I use the command: Code:
# omp -u user -w openvas -C -n New_task -c 74db13d6-7489-11df-91b9-002264764cea -t 5267d906-756d-4ed0-b749-6c34371dec65 I am using omp 1.3, openvas 7. Thanks you very much for any advice! Solved: I figured out there is an option to use xml commands. I thought my omp version is 1.3, but that was the openVas-cli version, and the omp was 5.0 so I checked the older documentation, where the needed xml command didn't exist yet. So finaly the command: Code:
# omp -u user -w openvas -X '<create_task><name>ScanWebserver</name><preferences><preference><scanner_name>source_iface</scanner_name><value>eth0</value></preference></preferences><config id="74db13d6-7489-11df-91b9-002264764cea"/><target id="5267d906-756d-4ed0-b749-6c34371dec65"/></create_task>' |
Quote:
|
I'm trying to create tasks from omp as well and I'm curious where you got these hexadecimal numbers:
-c 74db13d6-7489-11df-91b9-002264764cea -t 5267d906-756d-4ed0-b749-6c34371dec65 When I create tasks in Greenbone SA, it just generates those ID's for me. Are you just randomly making them up? And if so, are there any particular parameters to pay attention to? Thanks. |
All times are GMT -5. The time now is 09:17 AM. |