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

Mailing List Archive: Nessus: devel

NASL2 - last evolutions



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

arboi at noos

Jan 31, 2003, 9:31 AM

Post #1 of 1 (296 views)
NASL2 - last evolutions

+ Arrays should work fine now
+ Numerical indexes are not shuffled any more
+ Functions can return arrays
+ foreach operator
+ keys, max_index and make_list functions
+ Two new operators: =~ and !~
(s =~ "RE") is equivalent to ereg(string: s, pattern: "RE", icase: 1)
but the regex is compiled only once.
TBD: implement a different syntax (e.g. Perl like) so that we can
choose options (currently, insensitive case is compulsary)
+ Text functions:
+ match (which matches a shell like pattern)
+ regmatch, matches a regex and returns an array
v[0], v[1], v[2]... are equivalent to $0, $1, $2 in Perl
+ split splits a string into an array of lines (by default)
+ Chomp remove the trailing end of line
+ Hashes
+ Renaud added support for cryptographic hashes

I planned to implement a C-like break, if this is not too dirty, and
I may also add pointers to variables and functions (HD, do you
*really* need this??)

What else should we need?

mailto:arboi [at] alussinan
GPG Public keys: http://michel.arboi.free.fr/pubkey.txt
http://michel.arboi.free.fr/ http://arboi.da.ru/
FAQNOPI de fr.comp.securite : http://faqnopi.da.ru/

Nessus devel 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.