Skip to content
Snippets Groups Projects
Commit cfbcb3e3 authored by Sebastian Rieger's avatar Sebastian Rieger
Browse files

added capture-from-socket.py

parent d4a3542a
No related branches found
No related tags found
No related merge requests found
__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 -")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment