MCPcopy Create free account
hub / github.com/fortra/impacket / decode

Method decode

impacket/ImpactDecoder.py:922–930  ·  view source on GitHub ↗
(self, buff)

Source from the content-addressed store, hash-verified

920 child_key = lambda s,p: None
921
922 def decode(self, buff):
923 sc = BaseDecoder.decode(self, buff)
924 ary = array.array('B', sc.child().get_packet())
925 sc.unlink_child()
926 tlv = wps.SimpleConfig.build_tlv_container()
927 tlv.from_ary(ary)
928 sc.contains(tlv)
929
930 return sc
931
932class EAPExpandedDecoder(BaseDecoder):
933 child_decoders = {

Callers

nothing calls this directly

Calls 7

unlink_childMethod · 0.80
build_tlv_containerMethod · 0.80
decodeMethod · 0.45
get_packetMethod · 0.45
childMethod · 0.45
from_aryMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected