Ask Your Question
0

How to view Packet bytes as decimal?

asked 2022-12-29 21:27:19 +0000

pcpro178 gravatar image

In the Packet window I am able to view packet bytes as hex or binary. Is (or may) there be an option for viewing packet bytes decoded as decimal?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2022-12-30 17:02:46 +0000

André gravatar image

There is no option other than hexadecimal or binary.

You can raise a feature request at https://gitlab.com/wireshark/wireshar... .

For now you can convert it using an other tool. For example copy as 'Printable Text' and pipe it through this Perl oneliner:
perl -e 'undef $/; $l = <>; $l =~ s/(.)/sprintf("%4d", ord($1))/egs; print $l;'

edit flag offensive delete link more

Comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2022-12-29 21:27:19 +0000

Seen: 1,405 times

Last updated: Dec 30 '22