__init__(self,
block_name,
request,
min_reps=0,
max_reps=None,
step=1,
variable=None,
fuzzable=True,
name=None)
(Constructor)
Repeat the rendered contents of the specified block cycling from
min_reps to max_reps counting by step. By default renders to nothing.
This block modifier is useful for fuzzing overflows in table entries.
This block modifier MUST come after the block it is being applied
to.
-
- Parameters:
block_name -
Name of block to apply sizer to
(type=String)
request -
Request this block belongs to
(type=s_request)
min_reps -
(Optional, def=0) Minimum number of block repetitions
(type=Integer)
max_reps -
(Optional, def=None) Maximum number of block repetitions
(type=Integer)
step -
(Optional, def=1) Step count between min and max reps
(type=Integer)
variable -
(Optional, def=None) Repititions will be derived from this
variable, disables fuzzing
(type=Sulley Integer Primitive)
fuzzable -
(Optional, def=True) Enable/disable fuzzing of this
primitive
(type=Boolean)
name -
(Optional, def=None) Specifying a name gives you direct access
to a primitive
(type=String)
|