# Lets start to interact with workbench, please note there is NO specific client to workbench, # Just use the ZeroRPC Python, Node.js, or CLI interfaces. import zerorpc c = zerorpc.Client(timeout=120) c.connect("tcp://127.0.0.1:4242") # Load in the PCAP file with open('../data/pcap/gold_xxx.pcap','rb') as f: pcap_md5 = c.store_sample(f.read(), 'gold_xxx', 'pcap') # Now give us a HTTP graph of all the activities within that PCAP. # Workbench also has DNS and CONN graphs, but for now we're just interested in HTTP. c.work_request('pcap_http_graph', pcap_md5)