[Oisf-users] Suricatasc: Python Unix Socket
Versnel Diemen
versneldiemen at gmail.com
Tue Oct 28 15:04:29 UTC 2014
Hallo there,
I'm currently writing a Python program which will send cmd to Suricatasc
via the Unix Socket but i cannot get it connect.
Plz Help me.
This is the code that i have at the moment:
*def RunPcap():*
* soc = "/var/run/suricata/suricata-command.socket"*
* sc = suricatasc.SuricataSC(soc)*
* sc.connect()*
* sc.send_command("pcap-file /2014-09-24-Fiesta-EK-traffic.pcap
test/")*
* s.close()*
*RunPcap()*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-users/attachments/20141028/16c9fd99/attachment.html>
More information about the Oisf-users
mailing list