I'm reading a pcap file using the rdpcap
function:
s = rdpcap(pcap)
I'd like to know how to reverse s
: it should be a list, but I tried with:
rev_s = s.reverse()
and it doesn't work: it gives me the SyntaxError: invalid syntax
error.
Can anyone help me, please?