diff options
author | 2016-03-21 16:03:47 +0200 | |
---|---|---|
committer | 2016-03-21 16:03:47 +0200 | |
commit | b89efa188810bf95a9d245e69e2961b5721c3b0f (patch) | |
tree | 454273ac6c4ae972ebb8a2c86b893296970b4fa9 /scripts/external_libs/scapy-python3-0.18/scapy/asn1packet.py | |
parent | f72c6df9d2e9998ae1f3529d729ab7930b35785a (diff) |
scapy python 2/3
Diffstat (limited to 'scripts/external_libs/scapy-python3-0.18/scapy/asn1packet.py')
-rw-r--r-- | scripts/external_libs/scapy-python3-0.18/scapy/asn1packet.py | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/scripts/external_libs/scapy-python3-0.18/scapy/asn1packet.py b/scripts/external_libs/scapy-python3-0.18/scapy/asn1packet.py deleted file mode 100644 index 049e2b75..00000000 --- a/scripts/external_libs/scapy-python3-0.18/scapy/asn1packet.py +++ /dev/null @@ -1,26 +0,0 @@ -## This file is part of Scapy -## See http://www.secdev.org/projects/scapy for more informations -## Copyright (C) Philippe Biondi <phil@secdev.org> -## This program is published under a GPLv2 license - -""" -Packet holding data in Abstract Syntax Notation (ASN.1). -""" - -from scapy.packet import * - -class ASN1_Packet(Packet): - ASN1_root = None - ASN1_codec = None - def init_fields(self): - flist = self.ASN1_root.get_fields_list() - self.do_init_fields(flist) - self.fields_desc = flist - def self_build(self): - if self.raw_packet_cache is not None: - return self.raw_packet_cache - return self.ASN1_root.build(self) - def do_dissect(self, x): - return self.ASN1_root.dissect(self, x) - - |