Browse Source

added capture-from-socket.py

master
Sebastian Rieger 9 years ago
parent
commit
cfbcb3e353
  1. 10
      capture-from-socket.py

10
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 -")
Loading…
Cancel
Save