|
Bug in Packet.sprintf(): msg#00018security.scapy.general
Hi, According to Packet.sprintf(), the following should work: >>> IP(dst='127.0.0.1').sprintf('%dst%') Traceback (most recent call last): File "<console>", line 1, in ? File "scapy-1.0.0.47.py", line 4148, in sprintf raise Exception("Bad format string [%%%s%s]" % (fmt[:25], fmt [25:] and "...")) Exception: Bad format string [%dst%] The attached *patch*
>>> IP(dst='127.0.0.1').sprintf('%dst%') '127.0.0.1' Guillaume --------------------------------------------------------------------- Desinscription: envoyez un message a: scapy.ml-unsubscribe@xxxxxxxxxx Pour obtenir de l'aide, ecrivez a: scapy.ml-help@xxxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: TLV based protocols: 00018, Guillaume Valadon |
|---|---|
| Next by Date: | Scapy Gumstix: 00018, Andrew Evans |
| Previous by Thread: | TLV based protocolsi: 00018, Payton, Zack |
| Next by Thread: | Scapy Gumstix: 00018, Andrew Evans |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |