SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 629 | Next

Shon Harris, Allen Harper, Chris Eagle, and Jonathan Ness

"Gray Hat Hacking, Second Edition"


??? int s_binary_block_size_byte(char *blockname) Inserts a 1-byte
block size placeholder.
??? int s_blocksize_string(char *blockname, int n) Inserts an n
character block size placeholder. The block length will be formatted as an ASCII
decimal integer.
??? int s_blocksize_asciihex(char *blockname) Inserts an 8-character
block size placeholder. The block length will be formatted as an ASCII hex
integer.
SPIKE Fuzzing Variable Declaration
The last function required for developing a SPIKE-based fuzzer provides for declaring
fuzzing variables. A fuzzing variable is a string that SPIKE will manipulate in some way
between successive transmissions of a spike.
??? void s_string_variable(unsigned char *variable) Insert an
ASCII string that SPIKE will change each time a new spike is sent.
When a spike contains more than one fuzzing variable, an iteration process is usually
used to modify each variable in succession until every possible combination of the variables
has been generated and sent.
SPIKE Script Parsing
SPIKE offers a limited scripting capability. SPIKE statements can be placed in a text file
and executed from within another SPIKE-based program. All of the work for executing
scripts is accomplished by a single function.


Pages:
617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641