Currently, I have a Python script that creates a pipe and displays the captured packet on Wireshark GUI. However, it works only once and when tried to write more packets to the pipe, I get the "All pipe instances are busy " error. As suggested earlier, I looked up the extcap interface. In the following extcap_example.py is the Python script, but, what is the Python interpreter?
To use this script on Windows, please generate an extcap_example.bat inside
the extcap folder, with the following content:
@echo off <path to="" python="" interpreter=""> <path to="" script="" file=""> %*
- Also, should I build the Wireshark source code after adding the batch file in the folder and make any changes in the makefiles? (as suggested in the last part of this link : https://jelmer.uk/klaus/wireshark/blob/d6da95231ee790fd884ca2a41fe59aa9b05ccde9/doc/README.extcap )