With tcp packets I process with pyshark, I can get the payload simply enough.
payload.append(p.tcp.payload) # assuming p is a packet
How can I access the udp payload? There is no "payload" field accessible for the udp layer. This is probably simple for those that do it often but it is not for me. Any help/guidance appreciated. Already looked at stackoverflow, pyshark github site, google, and dir(p), dir(p.udp), and everything else I can think of.