def __init__(self): print_copyright(CR_HOLDERS) self.parse_argv() # Open requested capture file if self.output_file is not None: self.ddf = DATADumpFile(self.output_file)
def __init__(self): print_copyright(CR_HOLDERS) self.parse_argv() # Set up signal handlers signal.signal(signal.SIGINT, self.sig_handler) # Open requested capture file self.ddf = DATADumpFile(self.capture_file)
def __init__(self): print_copyright(CR_HOLDERS) self.parse_argv() # Set up signal handlers signal.signal(signal.SIGINT, self.sig_handler) # Init UDP connection self.ctrl_link = UDPLink(self.remote_addr, self.base_port + 1, self.bind_addr, self.bind_port) # Debug print print("[i] Init CTRL interface (%s)" \ % self.ctrl_link.desc_link())
def __init__(self): # Print copyright print_copyright(CR_HOLDERS) # Set up signal handlers signal.signal(signal.SIGINT, self.sig_handler)
def __init__(self): print_copyright(CR_HOLDERS) self.parse_argv() # Set up signal handlers signal.signal(signal.SIGINT, self.sig_handler)