(self)
Shutdown DHCP server and any ARP poisons
Shutdown DHCP server and any ARP poisons
Shutdown DHCP server and any ARP poisons
def shutdown(self):
        """ Shutdown DHCP server and any ARP poisons
        """
        self.running = False

        # shutdown arp poisons if we have any running
        if len(self.spoofed_hosts.keys()) > 0:
            for key in self.spoofed_hosts:
                self.spoofed_hosts[key].shutdown()
        util.Msg('DHCP server shutdown.')
def shutdown ( self ) : self . running = False # shutdown arp poisons if we have any running if len ( self . spoofed_hosts . keys ( ) ) > 0 : for key in self . spoofed_hosts : self . spoofed_hosts [ key ] . shutdown ( ) util . Msg ( 'DHCP server shutdown.' )