(self)
Overriden view for dumping gateway/hosts
            before going into dump data mode
Overriden view for dumping gateway/hosts
            before going into dump data mode
Overriden view for dumping gateway / hosts before going into dump data mode
def view(self):
        """ Overriden view for dumping gateway/hosts
            before going into dump data mode
        """
        print '\033[33m[!] Spoofed gateway: \033[32m%s\033[0m' % \
                                             self.config['gateway'].value
        print '\033[33m[!] Currently Spoofing:\033[0m'
        for key in self.spoofed_hosts:
            print '\t\033[32m[+] %s\033[0m' % str(self.spoofed_hosts[key].victim)

        try:
            self.dump_data = True
            raw_input()
            self.dump_data = False
        except KeyboardInterrupt:
            self.dump_data = False
            return
def view ( self ) : print '\033[33m[!] Spoofed gateway: \033[32m%s\033[0m' % self . config [ 'gateway' ] . value print '\033[33m[!] Currently Spoofing:\033[0m' for key in self . spoofed_hosts : print '\t\033[32m[+] %s\033[0m' % str ( self . spoofed_hosts [ key ] . victim ) try : self . dump_data = True raw_input ( ) self . dump_data = False except KeyboardInterrupt : self . dump_data = False return