Skip to Main Content
Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals
book

Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals

by James C Foster
April 2005
Intermediate to advanced content levelIntermediate to advanced
700 pages
20h 39m
English
Syngress
Content preview from Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals
Arrays
NASL provides support for two types of array structures: standard and string. Standard
arrays are indexed by integers, with the first element of the array at index 0. String-
indexed arrays, also known as hashes or associative arrays, allow you to associate a value
with a particular key string; however, they do not preserve the order of the elements
contained in them. Both types of arrays are indexed using the [] operator.
It is important to note that if you want to index a large integer, NASL has to allo-
cate storage for all of the indices up to that number, which may use a considerable
amount of memory.To avoid wasting memory, convert the index value to a string and
use a hash instead.
NULL
NULL is the default value of an unassigned variable ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

32/64-Bit 80x86 Assembly Language Architecture

32/64-Bit 80x86 Assembly Language Architecture

James Leiterman

Publisher Resources

ISBN: 9781597490054