diff --git a/capture-from-socket.py b/capture-from-socket.py new file mode 100644 index 0000000..e427169 --- /dev/null +++ b/capture-from-socket.py @@ -0,0 +1,10 @@ +__author__ = 'Sebastian Rieger' + +import os; + +ncat_path = "C:\\Users\\Sebastian\\Downloads\\ncat" +wireshark_path = "\"C:\\Program Files\\Wireshark\\Wireshark.exe\"" +virl_host = "192.168.0.150" +pcap_port = input("Please enter the port of the live capture: ") + +os.system(ncat_path + " " + virl_host + " " + str(pcap_port) + " | " + wireshark_path + " -k -i -")