def __init__(self, network_interface, src_ip, target_ip): Observable.__init__(self) Executable.__init__(self, self.ping_executable) self.network_interface = network_interface self.src_ip = src_ip self.target_ip = target_ip print "# Setting up loop for pinging " + target_ip + " (with " + src_ip + " on " + network_interface + ") "
def __init__(self, network_interface, src_ip, target_ip): Executable.__init__(self, self.arp_executable) self.network_interface = network_interface self.src_ip = src_ip self.target_ip = target_ip print "# Setting up loop for arp spoofing " + target_ip + " (with " + src_ip + " on " + network_interface + ") "
def __init__(self, network_interface, src_ip, target_ip, mac_address): Executable.__init__(self, self.arp_executable) self.network_interface = network_interface self.src_ip = src_ip self.target_ip = target_ip self.mac_address = mac_address