I figured it out.

From: Openvas-discuss [mailto:[email protected]] On 
Behalf Of Turner,Jonas
Sent: Tuesday, May 19, 2015 10:40 AM
To: [email protected]
Subject: [Openvas-discuss] OMP - Using SMB Credentials

I am trying to create a target and assign predefined smb credentials I already 
have.  I have tried several variations, but I still get the following error: 
"Failed to read response"

This is the command I used with several variations.

omp --xml='<create_target><name>Test 
Scan</name><hosts>172.20.111.75</hosts><lsc_credential_id="5e00a29d-e576-472f-89be-88f1f137ddf6"></create_target>'

It works fine if I just use this, but it doesn't have the credentials in it.
omp --xml='<create_target><name>Test 
Scan</name><hosts>172.20.111.75</hosts></create_target>'

Jonas Turner │ Security Analyst II
Ph: 419.254.4890│Fax: 419.252.5557
E-mail:  [email protected]<mailto:[email protected]>


CONFIDENTIALITY NOTICE The information contained in this transmission is 
intended only for the person or entity to which it is addressed and may contain 
confidential and/or privileged material. If you are not the intended recipient 
of this information, do not review, retransmit, disclose, disseminate, use, or 
take any action in reliance upon, this information. If you received this 
transmission in error, please contact the sender, destroy all printed copies, 
and delete the material from all computers.   


_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to