Philippe Biondi | 10 Jul 2009 23:08

Re: fuzz()/rand_val() usage

Hi,

On Thu, 9 Jul 2009, Jim Comen wrote:

> It seems that each time I access a field which has been fuzzed, I get a
> new value. It looks like there is a pseudo random number generator
> associated with the fuzzed fields.  My question is ? is there a way to
> display the value of a fuzzed field without modifying the field?

>>> a=fuzz(IP())
>>> print a.ttl
9
>>> print a.ttl
230
>>> b=iter(a).next()
>>> print b.ttl
59
>>> print b.ttl
59

---------------------------------------------------------------------
To unsubscribe, send a mail to scapy.ml-unsubscribe <at> secdev.org

Gmane