You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
358 B

  1. __author__ = 'Sebastian Rieger'
  2. import os;
  3. ncat_path = "C:\\Users\\Sebastian\\Downloads\\ncat"
  4. wireshark_path = "\"C:\\Program Files\\Wireshark\\Wireshark.exe\""
  5. virl_host = "192.168.0.150"
  6. pcap_port = input("Please enter the port of the live capture: ")
  7. os.system(ncat_path + " " + virl_host + " " + str(pcap_port) + " | " + wireshark_path + " -k -i -")