Using tcpdump, how do I see as plainly as possible an unencrypted SMTP conversation?
10,379
Solution 1
You can always have tcpdump write out to a file using "-w dump.txt -s 0" as extra arguments, and then load the output file into WireShark locally.
Solution 2
tcpdump -A
(instead of -X
) will print packet contents in ASCII.
Author by
Ken Kinder
Stack Faves: Python Vue.js /w Quasar Heroku Preferences: Tacos or Hamburgers: Tacos MySQL or Postgres: Postgres VueJS or Angular: VueJS Editor or IDE: IDE Chrome or Firefox: Firefox Linux or Mac: Linux, currently Flask or Django: Yes
Updated on June 29, 2022Comments
-
Ken Kinder almost 2 years
I'm trying to debug an application and it isn't a place that's convenient to run WireShark.
I've been using "tcpdump -nn -x -X port 25" but the output isn't really in the most convenient format. Thoughts?