(self)
return self.victim[0]
initialize a poison
initialize a poison
initialize a poison
def initialize(self):
        """ initialize a poison
        """
        util.Msg('Initializing ICMP poison...')
        self.victim = (self.config['victim_ip'].value, 
                getmacbyip(self.config['victim_ip'].value))
        self.target = (self.config['target_ip'].value,
                getmacbyip(self.config['target_ip'].value))

        self.running = True
        thread = Thread(target=self.inject)
        thread.start()
        return self.victim[0]
def initialize ( self ) : util . Msg ( 'Initializing ICMP poison...' ) self . victim = ( self . config [ 'victim_ip' ] . value , getmacbyip ( self . config [ 'victim_ip' ] . value ) ) self . target = ( self . config [ 'target_ip' ] . value , getmacbyip ( self . config [ 'target_ip' ] . value ) ) self . running = True thread = Thread ( target = self . inject ) thread . start ( ) return self . victim [ 0 ]