Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Nessus: plugins

NASL Hashes

 

 

Nessus plugins RSS feed   Index | Next | Previous | View Threaded


nessusd at nemesis316

Jan 12, 2007, 11:26 PM

Post #1 of 2 (1153 views)
Permalink
NASL Hashes

Hello All,



If I make a hash using the following command:



myhash = make_array('va_4',"did this work");



How would I push addition information into hash (myhash) while retaining the original information??



Thanks,

Paul


mikhail at nessus

Jan 13, 2007, 12:26 AM

Post #2 of 2 (1050 views)
Permalink
Re: NASL Hashes [In reply to]

On Sat, 13 Jan 2007 01:26:31 -0600
"Paul Bellefeuille" <nessusd [at] nemesis316> wrote:

> If I make a hash using the following command:
> myhash = make_array('va_4',"did this work");

If this is so simple, you can just write:
myhash['va_4'] = "did this work";

> How would I push addition information into hash (myhash) while
> retaining the original information??

myhash['answer'] = 42;

Now myhash contains two elements.
_______________________________________________
Plugins-writers mailing list
Plugins-writers [at] list
http://mail.nessus.org/mailman/listinfo/plugins-writers

Nessus plugins RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.