> mstream_agent.nasl:  else if(detect(sport:9325,
> netbios_name_get.nasl:   else if(ord(hole_data[subloc])==0)
> sambar_cgi.nasl:else if(echo) security_hole(echo);
> smb_login.nasl: else if(v[4] || v[6] || v[7])report = report + info;
> smb_login_as_users.nasl:  else if(log_in(login:login, pass:login))
> smb_mssql7.nasl:   else if(ord(value[0]) == 0)return(1);

But of those scripts only smb_login.nasl uses the if-statement in a
manner similar to what I had. Meaning:

if(){}
else if(){}
else{};

And smb_login.nasl doesn't use spacing and bracketing in quite the same
way as my code snippet. I haven't checked to see if the else() clause in
the smblogin causes the same NASL error. 

I have burrowed into the code to the instruction.c:execute_if_branch().
I think that the problem is first triggered there but I can't seem to
get my brain around the harg* functions and the way that NASL parser
works.  

-- 
---
Nathan Valentine - [EMAIL PROTECTED]
Jabber: NRVesKY AIM: NRVesKY ICQ: 39023424

Attachment: msg00092/pgp00000.pgp
Description: PGP signature

Reply via email to