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

Method do_dissect_payload

scapy/layers/tls/record_sslv2.py:169–180  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

167 return s
168
169 def do_dissect_payload(self, s):
170 if s:
171 try:
172 p = SSLv2(s, _internal=1, _underlayer=self,
173 tls_session=self.tls_session)
174 except KeyboardInterrupt:
175 raise
176 except Exception:
177 if conf.debug_dissector:
178 raise
179 p = conf.raw_layer(s, _internal=1, _underlayer=self)
180 self.add_payload(p)
181
182 # Building methods
183

Callers

nothing calls this directly

Calls 2

SSLv2Class · 0.85
add_payloadMethod · 0.45

Tested by

no test coverage detected