(*args,**kargs)
Sniff packets and print them calling pkt.show(), a bit like text wireshark
Sniff packets and print them calling pkt.show(), a bit like text wireshark
Sniff packets and print them calling pkt . show () a bit like text wireshark
def tshark(*args,**kargs):
    """Sniff packets and print them calling pkt.show(), a bit like text wireshark"""
    sniff(prn=lambda x: x.display(),*args,**kargs)
def tshark ( * args , * * kargs ) : sniff ( prn = lambda x : x . display ( ) , * args , * * kargs )