Exemple #1
0
	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)
Exemple #2
0
    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)
Exemple #3
0
	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)
Exemple #4
0
    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())
Exemple #5
0
	def __init__(self):
		# Print copyright
		print_copyright(CR_HOLDERS)

		# Set up signal handlers
		signal.signal(signal.SIGINT, self.sig_handler)
Exemple #6
0
    def __init__(self):
        print_copyright(CR_HOLDERS)
        self.parse_argv()

        # Set up signal handlers
        signal.signal(signal.SIGINT, self.sig_handler)
Exemple #7
0
	def __init__(self):
		print_copyright(CR_HOLDERS)
		self.parse_argv()

		# Set up signal handlers
		signal.signal(signal.SIGINT, self.sig_handler)