Pb with smb_dom2sid.nasl

From: Georges Dagousset (georges.dagoussetat_private)
Date: Mon Sep 24 2001 - 13:02:57 PDT

  • Next message: Noam Rathaus: "Re: Pb with smb_dom2sid.nasl"

    Hello,
    
    There a problem in smb_dom2sid.nasl:
    We lose the variable s at output of the function long.
    I don't understand why.
    
    so I made a dirty modification:
    
     num = long(s:s, index:index);
     sid = sid + num + "-";
     index = index+4;
     num = long(s:s, index:index);
     sid = sid + num + "-";
     index = index+4;
     num = long(s:s, index:index);
     sid = sid + num+ "-";
     index = index+4;
     num = long(s:s, index:index);
     sid = sid + num;
    
    is now
    
     r = s;
     num = long(s:r, index:index);
     sid = sid + num + "-";
     index = index+4;
     num = long(s:r, index:index);
     sid = sid + num + "-";
     index = index+4;
     num = long(s:r, index:index);
     sid = sid + num+ "-";
     index = index+4;
     num = long(s:r, index:index);
     sid = sid + num;
    
    I'm using Nessus 1.1.4.
    
    Can somebody tell me what is the problem?
    
    Georges Dagousset
    



    This archive was generated by hypermail 2b30 : Mon Sep 24 2001 - 13:05:57 PDT