Category : networking

I want that every time a same packet arrives then it update count and print import time from collections import Counter capture = pyshark.LiveCapture(interface=’wlo2′, bpf_filter=’arp’) capture.sniff(timeout=3) keys = {} e_mac = ’00:00:00:00:00:00′ for packet in capture: keys[‘ip’] = packet.arp.dst_proto_ipv4 keys[‘mac’] = packet.arp.dst_hw_mac if keys[‘mac’] != e_mac: count = Counter([keys[‘mac’], keys[‘ip’]]) print(time.strftime(‘%b %d %H:%M:%S ‘), count) ..

Read more

I want to print only when i got actual mac address else wait import time capture = pyshark.LiveCapture(interface=’wlo2′, bpf_filter=’arp’) capture.sniff(timeout=3) keys = {} e_mac = ‘00.00.00.00.00.00’ for packet in capture: keys[‘ip’] = packet.arp.dst_proto_ipv4 keys[‘mac’] = packet.arp.dst_hw_mac if keys[‘mac’] != e_mac: print(time.strftime(‘%b %d %H:%M:%S ‘), keys[‘mac’], keys[‘ip’]) output: Dec 06 12:57:08 00:00:00:00:00:00 192.168.1.40 Dec 06 12:59:53 ..

Read more

So the thing is i basically send a request via clicking button using selenium then it makes a order-create request and api simply return that network busy error. When i search for this i found something like this: "Network busy" means your device can’t secure a channel due to network congestion. It’s also possible there ..

Read more