<div dir="ltr"><div>Hallo there,</div><div><br></div><div>I'm currently writing a Python program which will send cmd to Suricatasc via the Unix Socket but i cannot get it connect.</div><div>Plz Help me.</div><div><br></div><div>This is the code that i have at the moment:</div><div><i>def RunPcap():</i></div><div><i>        soc = "/var/run/suricata/suricata-command.socket"</i></div><div><i>        sc = suricatasc.SuricataSC(soc)</i></div><div><i>        sc.connect()</i></div><div><i>        sc.send_command("pcap-file /2014-09-24-Fiesta-EK-traffic.pcap test/")</i></div><div><i>        s.close()</i></div><div><i>RunPcap()</i></div></div>