MCPcopy Create free account
hub / github.com/secdev/scapy / Query

Class Query

scapy/contrib/postgres.py:227–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225
226
227class Query(_ZeroPadding):
228 name = "Simple Query"
229 fields_desc = [
230 ByteTagField(b"Q"),
231 FieldLenField(
232 "len", None, length_of="query", fmt="I", adjust=lambda pkt, x: x + 5
233 ),
234 StrNullField("query", None),
235 ]
236
237
238class CommandComplete(_ZeroPadding):

Callers

nothing calls this directly

Calls 3

FieldLenFieldClass · 0.90
StrNullFieldClass · 0.90
ByteTagFieldClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…