Discussion:
Scanning with Credential (Using OMP)
luciano fain
2014-07-30 03:26:47 UTC
Permalink
Dear all, i'm trying to add a target by omp including a existing credential, but it is imposible for me. I don't have any problem using GSA but i need to use the omp interface.
***@openvas:/var/www# omp -u admin -w admin --xml="<create_target><name>Test</name><hosts>10.10.10.1</hosts><smb_lsc_credential>436ae45b-6b97-42b7-87b0-ca98a80fbdba</smb_lsc_credential><port_list>0d8591ac-c091-4a72-a08c-1a5021b0382e</port_list></create_target>"
<create_target_response status="201" id="666008a0-9673-4d9b-b256-f25956ba4581" status_text="OK, resource created"></create_target_response>
The target is created, but without the credential. I allready check the uuid, it is correct.Any information will be appreciated.RegardsLuciano
Matthew Mundell
2014-07-30 08:29:10 UTC
Permalink
Post by luciano fain
Dear all, i'm trying to add a target by omp including a existing credential, but it is imposible for me. I don't have any problem using GSA but i need to use the omp interface.
The SMB_LSC_CREDENTIAL id must be in an attribute called "id".

http://openvas.org/protocol-doc.html

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner

Loading...