Skip to content
Snippets Groups Projects
Commit 20feccbc authored by Phil's avatar Phil
Browse files

Moved core asn1 logic to asn1 subpackage

--HG--
rename : scapy/asn1.py => scapy/asn1/asn1.py
rename : scapy/ber.py => scapy/asn1/ber.py
rename : scapy/mib.py => scapy/asn1/mib.py
parent dfb4b1c4
No related branches found
No related tags found
No related merge requests found
# We do not import mib.py because it is more bound to scapy and
# less prone to be used in a standalone fashion
__all__ = ["asn1","ber"]
import random
from error import Scapy_Exception
from volatile import RandField
from utils import Enum_metaclass, EnumElement
from scapy.error import Scapy_Exception
from scapy.volatile import RandField
from scapy.utils import Enum_metaclass, EnumElement
class RandASN1Object(RandField):
def __init__(self, objlist=None):
......
File moved
import re
from glob import glob
from dadict import DADict
from config import conf
from scapy.dadict import DADict
from scapy.config import conf
#################
## MIB parsing ##
......
from asn1 import *
from ber import *
from asn1.asn1 import *
from asn1.ber import *
from volatile import *
#####################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment