# Path: modules/python/dionaea/smb/smb.py
# STATE_START = 0
# STATE_SESSIONSETUP = 1
# STATE_TREECONNECT = 2
# STATE_NTCREATE = 3
# STATE_NTWRITE = 4
# STATE_NTREAD = 5
# def register_rpc_service(service):
#     def __init__ (self, proto="tcp", config=None):
#     def apply_config(self, config=None):
#     def handle_established(self):
#     def handle_io_in(self,data):
#     def process(self, p):
#     def process_dcerpc_packet(self, buf):
#     def handle_timeout_idle(self):
#     def handle_disconnect(self):
#     def __init__ (self):
#     def handle_io_in(self,data):
# class smbd(connection):
# class epmapper(smbd):


from . import rpcservices
from .smb import smblog
            "C$" : {
                "comment" : "Default Share",
                "path": "C:\\",
                "type": ["disktree", "special"]
            },
            "IPC$" : {
                "comment" : "Remote IPC",
                "path": "",
                "type": "ipc",
            },
            "Printer" : {
                "comment" : "Microsoft XPS Document Writer",
                "path": "",
                "type": "printq",
            }
        }

        value_names = [
            "native_lan_manager",
            "native_os",
            "oem_domain_name",
            "os_type",
            "primary_domain",
            "server_name",
            "port"
        ]
        for name in value_names:
            value = config.get(name)
            if value is None:
                continue

# Path: modules/python/dionaea/smb/smb.py
# STATE_START = 0
# STATE_SESSIONSETUP = 1
# STATE_TREECONNECT = 2
# STATE_NTCREATE = 3
# STATE_NTWRITE = 4
# STATE_NTREAD = 5
# def register_rpc_service(service):
#     def __init__ (self, proto="tcp", config=None):
#     def apply_config(self, config=None):
#     def handle_established(self):
#     def handle_io_in(self,data):
#     def process(self, p):
#     def process_dcerpc_packet(self, buf):
#     def handle_timeout_idle(self):
#     def handle_disconnect(self):
#     def __init__ (self):
#     def handle_io_in(self,data):
# class smbd(connection):
# class epmapper(smbd):


# Path: modules/python/dionaea/smb/extras.py
from . import rpcservices
from .smb import smblog

            "C$" : {
                "comment" : "Default Share",
                "path": "C:\\",
                "type": ["disktree", "special"]
            },
            "IPC$" : {
                "comment" : "Remote IPC",
                "path": "",
                "type": "ipc",
            },
            "Printer" : {
                "comment" : "Microsoft XPS Document Writer",
                "path": "",
                "type": "printq",
            }
        }

        value_names = [
            "native_lan_manager",
            "native_os",
            "oem_domain_name",
            "os_type",
            "primary_domain",
            "server_name",
            "port"
        ]
        for name in value_names:
            value = config.get(name)
            if value is None:
                continue

            smblog.debug("Set '%s' to '%s'" % (name, value))