def _action()

in hexforge_modules/search_modules.py [0:0]


    def _action(self) -> None:

        data = helper.get_selected_bytes()
        try:
            hex_data = binascii.hexlify(data).decode('utf-8')
            formatted_url = f"https://www.virustotal.com/gui/search/content%253A%2520%257B{hex_data}%257D"
            ida_kernwin.open_url(formatted_url)
            
        except (binascii.Error, UnicodeDecodeError) as e:
            print(e)
            return None