scapy
Kaitai Struct
scapy | Kaitai Struct | |
---|---|---|
26 | 44 | |
10,061 | 3,839 | |
0.9% | 1.1% | |
9.3 | 7.5 | |
6 days ago | 19 days ago | |
Python | Shell | |
GNU General Public License v3.0 only | GPL-3.0-or-later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
scapy
-
Seven Python Projects to Elevate Your Coding Skills
Example Network Scanner Scapy
-
Python Networking: TCP and UDP
In the last installment we looked at IP headers. One thing you might have seen missing is the port numbers. That's pretty important for making an internet connection. Well it turns out that IP tends to encapsulate other protocols (which is why it has protocol as part of the header). In this article we'll be looking at two popular protocols for internet traffic: TCP and UDP. Before we begin though install scapy which we'll be using to make things easier, and dnslib that will be used during the UDP section:
-
🛜 What is ARP Spoofing?
I've coded my small ARP spoofer in Go because I love the language, though it can very well be coded in other languages, for example Python with Scapy.
- What are the most underrated python libraries?
-
Is it possible to send raw data over an IP network, not encapsulated in TCP or UDP?
Scapy: https://github.com/secdev/scapy
- packet-rs - A Scapy like rust packet interface
-
tshark live statistics (-z) display?
Tshark can't do that. The Wireshark app does update its Conversations window pretty frequently when doing a live capture, so that might be a reasonable alternative. Otherwise you could probably also cobble something together yourself with a tool like scapy or some other Python library, but that would clearly be more work.
- Is there a script/program to find similarities among multiple pcap files?
- Scapy - Packet Crafting
-
Extract data from a pcap file
I don't know if you can do it within the gui, I don't see anything but perhaps a bit of Python code would do it. There is a python library called Scapy that may have functions to help you along the way.
Kaitai Struct
- Reverse-engineering an encrypted IoT protocol
-
Parsing an Undocumented File Format
- ImHex [2], which has a pattern language [3] which allows parsing, and it seems more powerful than what Kaitai offers. I stumbled upon some limitations with it but it was still useful.
[1]: https://kaitai.io/
- Kaitai Struct – a declarative language used to describe binary data structures
-
HTTPie Desktop: cross-platform API testing client for humans
Beautiful. Didn't know something like this exists. Reminds me of Katai[0]
[0]. https://kaitai.io/
-
Hacking the LG Monitor's EDID
An EDID override like this would be helpful for macOS as well, where the monitors swapping around after standby is a real annoyance [0] [1]
EDID rewrites are 99% of the time blocked by the monitor firmware: https://notes.alinpanaitiu.com/Decoding-monitor-EDID-on-macO...
By the way, one helpful tool that helped me navigate the EDID dump was Kaitai Struct [2]. It shows a side by side view with the hex view and the EDID structure, and it highlights the hex values in real time as you navigate the structure. Unfortunately [3] it doesn't support the extension blocks that the author needs.
[0] https://notes.alinpanaitiu.com/Weird-monitor-bugs
[1] https://forums.macrumors.com/threads/external-displays-swapp...
[2] https://kaitai.io/
[3] https://github.com/kaitai-io/edid.ksy
- Kaitai Struct: new way to develop parsers for binary structures
-
Fq: Jq for Binary Formats
Kaitai Struct might be a good choice for that: https://kaitai.io/
-
Ingesting, parsing and making sense of device log data
For binary log format, there's the excellent Kaitai Struct frameworks, that make it very easy to generate parsers from a declarative schema
-
What is this tool? More info in comments
kaitai
-
Visual Programming with Elixir: Learning to Write Binary Parsers (2019)
https://kaitai.io/
Worth a look if you are writing binary parsers.
What are some alternatives?
pyshark - Python wrapper for tshark, allowing python packet parsing using wireshark dissectors
Protobuf - Protocol Buffers - Google's data interchange format
pySerial - Python serial port access library
csvkit - A suite of utilities for converting to and working with CSV, the king of tabular file formats.
impacket - Impacket is a collection of Python classes for working with network protocols. [Moved to: https://github.com/SecureAuthCorp/impacket]
Camelot - A Python library to extract tabular data from PDFs
keyboard - Hook and simulate global keyboard events on Windows and Linux.
tablib - Python Module for Tabular Datasets in XLS, CSV, JSON, YAML, &c.
RustScan - 🤖 The Modern Port Scanner 🤖
PDFMiner - Python PDF Parser (Not actively maintained). Check out pdfminer.six.
elmocut - Eye candy ARP spoofer for Windows
PyYAML