scapy
scapy copied to clipboard
Scapy: the Python-based interactive packet manipulation program & library.
**Checklist:** - [x] If you are new to Scapy: I have checked [CONTRIBUTING.md](https://github.com/secdev/scapy/blob/master/CONTRIBUTING.md) (esp. section submitting-pull-requests) - [x] I squashed commits belonging together - [x] I added unit tests or...
padding alignment used to be 4, now it's 2, but in radiotap.org the alignment is 1 so the ReversePadField is redundant.
This PR adds some checks in the DNS answering machine code that parses the received packets. **Checklist:** - [x] I squashed commits belonging together - [x] I added unit tests...
Disabled in https://github.com/secdev/scapy/pull/4186 ``` ###(014)=[failed] ServiceEnumerator execute >>> from queue import Queue >>> from scapy.supersocket import SuperSocket >>> >>> class MockISOTPSocket(SuperSocket): ... nonblocking_socket = True ... @property ... def closed(self):...
Fixed return value of the srloop and srploop functions. The return value was updated in the comment, but not in the docstring.
### Brief description When performing the `arping` function of a /24 subnet, the returned `ARPingResult` is not complete. When taking a tcpdump in the background, we can see that we...
### Brief description Whenever I try to modify an imported STUN packet or craft a new one using the recent STUN contribution, the operation fails with an AttributeError: tlvlist ###...
### Brief description `bytes(TLS(b)) == b` isn't true for certain TLS packets with invalid extensions data. ### Scapy version 5c6085067079f063a7bc11d592d0a80ff6138cb9 ### Python version 3.10 ### Operating system Ubuntu 22.04 ###...
The servernames packet list field can contain "Raw" instances when server_name extenstions are malformed. The "i2repr" method doesn't expect that and ends up throwing exceptions when it can't find the...
I noticed that scapy seemed to skip packets when parsing tlsv1.2 messages from pcap files. I could not find a relevant issue and investigated it myself. It seems that scapy...