scapy
scapy copied to clipboard
Scapy: the Python-based interactive packet manipulation program & library.
Scapy handles long netbios hostname queries by trimming the hostname to the maximum of 15 characters before sending the request. When a response is sent back, Scapy fails to match...
### Brief description Hey guys. We have been using the scapy library to parse the result of a tcpdump process in which we perform the `arping` function for quite a...
- fixes https://github.com/secdev/scapy/issues/4411 edit: now also handles https://github.com/secdev/scapy/pull/4414#issuecomment-2180426716
I was getting this error after https://github.com/secdev/scapy/pull/4352 was merged: ``` File "/usr/lib/python3.11/site-packages/scapy/layers/snmp.py", line 20, in from scapy.layers.inet import UDP, IP, ICMP File "/usr/lib/python3.11/site-packages/scapy/layers/inet.py", line 20, in from scapy.ansmachine import AnsweringMachine...
**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...
as discussed in https://github.com/google/oss-fuzz/pull/12050 (It's a draft because I'm not sure if it's OK to make that licence change. I asked it in https://github.com/google/oss-fuzz/pull/12114 just in case)
### Brief description S1G beacon is unsupported currently, this diff adds support + unit test. ### Scapy version 7dcb5fea8f40728969dd373aefc999da1a687040 ### Python version 3.12.2 ### Operating system MacOS Sonoma 14.4 ###...
### Brief description trying to capture "CDP"-Frames (Cisco Discovery Protocol): `sniff(iface="LAN", count=1, timeout=60, filter="ether dst 01:00:0c:cc:cc:cc")` fails ``` >>> sniff(iface="LAN", count=1, timeout=60, filter="ether dst 01:00:0c:cc:cc:cc") >>> a=_ >>> a.nsummary() 0000...
### Brief description When defining an TLSClientKeyExchange object in the exchangekeys field the length byte is included, although its named "exchkeys" ### Scapy version 2.6.0rc1 ### Python version 3.10.12 ###...
I wondered if Scapy supports multiple nameservers provided into the DHCP server class: ```python DHCP_am ``` So far I've tried with supplying the `nameserver` parameter to `DHCP_am` with comma-separated values...