INNER CODE UNIT · Python

_show_popup

Teycir/BurpAPISecuritySuite · BurpAPISecuritySuite.py:1052

    def _show_popup(self, event):
        if event.isPopupTrigger():
            endpoint_list = event.getSource()
            index = endpoint_list.locationToIndex(event.getPoint())
            if index >= 0:
                endpoint_list.setSelectedIndex(index)
                endpoint_key = None
                if hasattr(self.extender, "_get_recon_view_key"):
                    endpoint_key = self.extender._get_recon_view_key(index)
                if not endpoint_key:
                    value = str(endpoint_list.getModel().getElementAt(index))
                    if hasattr(self.extender, "_extract_endpoint_key_from_recon_value"):
                        endpoint_key = self.extender._extract_endpoint_key_from_recon_value(
                            value
                        )
                    else:
                        endpoint_key = self._extract_endpoint_key(value)
                if endpoint_key:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…