mirror of
https://github.com/The-Art-of-Hacking/h4cker.git
synced 2024-10-01 01:25:43 -04:00
Update pyshark_example.py
This commit is contained in:
parent
4ac221710b
commit
dfa92be65c
@ -10,5 +10,6 @@
|
||||
|
||||
import pyshark
|
||||
|
||||
capture = pyshark.LiveCapture(interface='eth0')
|
||||
for packet in capture.sniff_continuously(packet_count=5):
|
||||
print ('You just captured a packet:', packet)
|
||||
|
Loading…
Reference in New Issue
Block a user