Re: [Plugins-writers] nasl hash question

From: Michel Arboi (mikhail@private)
Date: Sat Mar 13 2004 - 11:47:05 PST

  • Next message: Renaud Deraison: "Re: [Plugins-writers] nasl hash question"

    dave@private writes:
    
    > I would like to display the value of the hash and not the index. How
    > would I go about this?  
    
    value = hash[index]
    
    > for(i=0;myarray[i];i=i+1) {
    > foreach index (keys(myhash))  {
    > if ( ereg(string:myarray[i],pattern:index))  {
    > display(index,"\n"); #prints the hash index
    
    display(myhash[index], "\n");    # prints the hash value
    
    _______________________________________________
    Plugins-writers mailing list
    Plugins-writers@private
    http://mail.nessus.org/mailman/listinfo/plugins-writers
    



    This archive was generated by hypermail 2b30 : Sat Mar 13 2004 - 11:48:16 PST