kamene
kamene copied to clipboard
RandNum & int
fuzz(IP()).show()
[ IP ]
version = 5
ihl = None
tos = 218
len = None
id = 57219
Traceback (most recent call last):
File "
I was able to reproduce the bug fairly easily on Ubuntu 16.0.4 using Python 3.5.2 as shown below.
I then ran a regular IP().show() just for a comparison.
It was here that I observed that the flags field was empty or not being set.
On a whim I tried fuzz(IP()).show() again, though this time I manually set the flags instead of letting them be randomly set by fuzz. The result was that this time the function succeeded in printing the packet as shown below.