def run(self):
     """Run the attack"""
     # Run sniffer to receive ack
     m_filter = "tcp and src host %s and ip6" % (str(self.__TARGET))
     m_timeout = 2 if self.__TOTAL_PORTS * 0.5 < 2 else self.__TOTAL_PORTS * 0.5
     sniff(filter=m_filter,
           prn=self.count_ack,
           store=0,
           var_stop=self.__DONE,
           timeout=m_timeout)  # wait 200ms per port
	def run(self):
		"""Run the attack"""
		m_filter     = "src host %s and dst host %s and ip6" % (str(self.__IDLEHOST),str(self.__ATTACKER))
		m_timeout    = 9 if self.__TOTAL_PORTS < 4 else self.__TOTAL_PORTS * 4
		sniff(filter = m_filter, prn = self.store_ipid, store=0, var_stop=self.__DONE, timeout = m_timeout) # esperar 3 segundos por puerto(1s + 1s + 1s )
	def run(self):
		"""Run the attack"""
		m_filter     = "src host %s and dst host %s and ip6" % (str(self.__IDLEHOST),str(self.__ATTACKER))
		sniff(filter = m_filter, prn = self.store_ipid, store=0, var_stop=self.__DONE, timeout = 6) 
Exemple #4
0
	def run(self):
		"""Run the attack"""
		# Run sniffer to receive ack
		m_filter     = "tcp and src host %s and ip6" % (str(self.__TARGET))
		m_timeout    = 2 if self.__TOTAL_PORTS * 0.5 < 2 else self.__TOTAL_PORTS * 0.5
		sniff(filter = m_filter, prn = self.count_ack, store=0, var_stop=self.__DONE, timeout =  m_timeout) # wait 200ms per port