First time here? Check out the FAQ!

Ask Your Question
0

tshark smtp filter decode.

asked Jun 4 '18

Will DB gravatar image

The Wireshark filter smtp.auth.username does great. The Info column shows the readable username. The same filter in tshark does not interpret the base64 packet content. How can I make it do that?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered Jun 4 '18

cmaynard gravatar image

Pass -o smtp.decryption:TRUE to tshark.

Example without the option:

tshark -T fields -e frame.number -e smtp.auth.username -Y smtp.auth.username -r crim.pcap
63      c25lYWt5ZzMza0Bhb2wuY29t
123     c25lYWt5ZzMza0Bhb2wuY29t

Example with the option:

tshark -o smtp.decryption:TRUE -T fields -e frame.number -e smtp.auth.username -Y smtp.auth.username -r crim.pcap
63      sneakyg33k@aol.com
123     sneakyg33k@aol.com
Preview: (hide)
link

Comments

Perfect! Exactly what I needed! Thanks!

Will DB gravatar imageWill DB ( Jun 4 '18 )

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: Jun 4 '18

Seen: 1,444 times

Last updated: Jun 04 '18