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

Class ByteTagField

scapy/contrib/postgres.py:152–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150
151
152class ByteTagField(ByteField):
153 def __init__(
154 self, default # type: bytes
155 ):
156 super(ByteTagField, self).__init__("tag", ord(default))
157
158 def randval(self):
159 return ord(self.default)
160
161
162class _BasePostgres(Packet, TCPSession):

Callers 15

AuthenticationClass · 0.85
ParameterStatusClass · 0.85
QueryClass · 0.85
CommandCompleteClass · 0.85
BackendKeyDataClass · 0.85
ReadyForQueryClass · 0.85
RowDescriptionClass · 0.85
DataRowClass · 0.85
ErrorResponseClass · 0.85
TerminateClass · 0.85
_TodoClass · 0.85
BindClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…