def show_results(self):
     """
     Show scan output
     """
     if not self.results_opened:
         self.nmap_output = NmapOutputViewer()
         # remove some buttons
         self.nmap_output.hbox_buttons.remove(self.nmap_output.btn_output_properties)
         self.nmap_output.hbox_buttons.remove(self.nmap_output.btn_refresh)
         self.nmap_output.hbox_buttons.pack_start(self.btn_umit)
         self.vbox.pack_end(self.nmap_output)
         self.vbox.show_all()
         self.results_opened = True
Exemple #2
0
 def __create_widgets(self):
     self.nmap_output = NmapOutputViewer()