1 | initial version |
You would have to make the entire Wireshark dissector engine a plugin for Burp, use the "Wireshark server" ("sharkd") and make a plugin that uses that, or run TShark capturing from a pipe and write your packet in pcap or pcapng form to that pipe. Wireshark plugin dissectors depend on the dissector engine core, so you can't omit it from the plugin.
The ways to do the first two of those are not documented and are subject to change, so that won't be easy.