On 10/17/2012 5:21 PM, Ryan Schulze wrote:
On 10/16/2012 12:20 AM, Jan-Oliver Wagner wrote:
On Thursday 11 October 2012 08:53:55 Schulte, Klaus (NSN - DE/Ulm) wrote:
when creating a new target with gsad the target will not be
stored/listed in targets list
if the target has ssh credentials not empty.
I really can not reproduce this behaviour.
It is a pretty standard operation often used.

Are you sure you did not run into some race condition?

Best

Jan

Oh, I though this was a known problem with GSA and never looked into it much since I can set up my scans via OMP.

The problem presents itself like this: as soon as a target has SSH credentials associated to it, the GSA won't save it. The SSH credentials I use were created with the "Autogenerate credential" option in GSA.


Found it, but I noticed it's been fixed in trunk revision 13211 so it will make it's way into a release eventually.

For anyone who wants to fix their 5.0.3, the problem was around line 4132 in src/gsad_omp.c. Since strcmp(target_credential, "--") is true the later ELSE don't get checked (most importantly the last one with "create_target").

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

Reply via email to