- Mar 30, 2017
-
-
Guillaume Valadon authored
-
- Mar 28, 2017
-
-
Pierre Lorinquer authored
The default values of the "value_size" field is None. This can trigger an issue when computing the "len" field. Test: str(EAP_MD5()) In order to fix this issue, the default value of the "value_size" field has been set to 0. Tests have been added in "regression.uts". Added regression tests for EAP_TLS and EAP_FAST. Use XStrLenField in EAP_MD5, EAP_TLS and EAP_FAST packets instead of StrLenField. Delete blank lines before the class description (EAPOL, EAP, EAP_MD5, EAP_TLS and EAP_FAST packet classes). "registered_options" dictionary was renamed "registered_methods" (EAP-MD5, EAP-TLS etc are not options, but authentication methods). EAP getlayer() and haslayer() methods have been overloaded in order to allow access to a given "EAP layer" (such as EAP_TLS, for instance) by providing the parent class name ("EAP"). For example, this is now possible: >>> eap_tls = EAP_TLS() >>> EAP_TLS in eap_tls True >>> EAP in eap_tls True >>> eap_tls[EAP_TLS] <EAP_TLS |> >>> eap_tls[EAP] <EAP_TLS |> Regression tests have been added.
-
- Mar 23, 2017
-
-
Guillaume Valadon authored
-
- Mar 22, 2017
-
-
Pierre LALET authored
-
- Mar 21, 2017
-
-
gpotter2 authored
-
- Mar 15, 2017
-
-
Guillaume Valadon authored
-
gpotter2 authored
-
gpotter2 authored
-
- Mar 11, 2017
-
-
gpotter2 authored
-
- Mar 10, 2017
-
-
Guillaume Valadon authored
-
- Mar 09, 2017
-
-
Pierre LALET authored
-
- Mar 06, 2017
-
-
gpotter2 authored
-
Pierre LALET authored
-
- Mar 05, 2017
-
-
gpotter2 authored
-
- Feb 22, 2017
-
-
Pierre LALET authored
This should avoid random unrelated crashes.
-
- Feb 16, 2017
-
-
Pierre Lorinquer authored
NTPControl: rename field 'error' in 'err' in order to have the same name for the error field in NTP Control messages and NTP Private messages. Use the XStrFixedLenField class which is now defined in scapy/fields.py + Fix typo.
-
- Feb 14, 2017
-
-
gpotter2 authored
-
- Feb 10, 2017
-
-
Guillaume Valadon authored
-
- Feb 08, 2017
-
-
gpotter2 authored
* Improved main.py tests * Small fixes
-
- Feb 07, 2017
-
-
Florian Maury authored
-
- Feb 01, 2017
-
-
Guillaume Valadon authored
-
- Jan 31, 2017
-
-
Guillaume Valadon authored
-
- Jan 29, 2017
-
-
Pierre LALET authored
-
- Jan 26, 2017
-
-
Aravindhan Dhanasekaran authored
-
- Jan 25, 2017
-
-
Pierre LALET authored
-
Pierre LALET authored
-
- Jan 24, 2017
-
-
Pierre LALET authored
-
plorinquer authored
-
Guillaume Valadon authored
-
Guillaume Valadon authored
-
ngkokkee authored
* Fix IA_PD length error I tested this and noticed wireshark wasn't parsing the message correctly. Turns out the length is wrong. * Update regression.uts Fix test for DHCP6OptIA_PD * Update length of DHCP6OptIA_PD in test.
-
Pierre LALET authored
This PR makes it possible to check if several flags are all set, by writting, for example, `if pkt[TCP].flags.SA:`. It only works for single letter flags (e.g., will work for TCP().flags but not for IP().flags), and only when getting a value. Thanks @guedou for suggesting that.
-
Pierre LALET authored
-
Pierre LALET authored
-
Pierre LALET authored
It is now possible to write `pkt[TCP].flags.S = True`.
-
Pierre LALET authored
This makes it possible to write `if pkt[TCP].flags.S: [...]`.
-
- Jan 21, 2017
-
-
Guillaume Valadon authored
-
Guillaume Valadon authored
-
Guillaume Valadon authored
-
Guillaume Valadon authored
-