I have DHCP option 82 value in pcap file ->click here
I am using the below tshark commmand to fetch option 82 value->click here
I want the option 82 output to be printed in ASCII format instead of binary and hexadecimal format.
I have DHCP option 82 value in pcap file ->click here
I am using the below tshark commmand to fetch option 82 value->click here
I want the option 82 output to be printed in ASCII format instead of binary and hexadecimal format.
You could use xxd
to convert tshark's hexadecimal output into ASCII (after extracting the first column using awk
):
$ echo "50:45:45:52 100 00:01" | awk '{print $1}' | xxd -r -p
PEER