Colin L Rice
2011-12-19 00:57:55 UTC
I'm getting this traceback
File "packet_fuzz.py", line 24, in <module>
for x in packet_generate():
File "packet_fuzz.py", line 20, in packet_generate
packet = fuzz(layer())
File "/usr/local/lib/python2.7/dist-packages/scapy/packet.py", line
1240, in fuzz
rnd = f.randval()
File "/usr/local/lib/python2.7/dist-packages/scapy/asn1fields.py",
line 278, in randval
return fuzz(self.asn1pkt())
NameError: global name 'fuzz' is not defined
It appears to be in both the ubuntu package and the latest version.
File "packet_fuzz.py", line 24, in <module>
for x in packet_generate():
File "packet_fuzz.py", line 20, in packet_generate
packet = fuzz(layer())
File "/usr/local/lib/python2.7/dist-packages/scapy/packet.py", line
1240, in fuzz
rnd = f.randval()
File "/usr/local/lib/python2.7/dist-packages/scapy/asn1fields.py",
line 278, in randval
return fuzz(self.asn1pkt())
NameError: global name 'fuzz' is not defined
It appears to be in both the ubuntu package and the latest version.