How do i generate pcap files for protocols such as SMTP, POP3 and IMAP. I need to send a email with attachments and capture the same as pcap file. I dont know how to generate pcap file for above mentioned protocols. Please help me out. asked 27 Jun '15, 15:56 kruthi |
One Answer:
Not sure whether I understand the question correctly. With "generate pcap files" you mean capturing traffic? answered 27 Jun '15, 21:56 mrEEde Actually, if you can obtain the SSL secrets, Wireshark is able to decrypt those captures. See https://wiki.wireshark.org/SampleCaptures#SSL_with_decryption_keys for some examples. (29 Jun '15, 10:03) Lekensteyn |
How do you do that? Well, by sending an e-mail from A to B via SMTP and by capturing that traffic between A and B. Same for POP3, IMAP for the e-mail download.
This sounds a bit like a homework assignment, and you are trying to take the easy route by crafting a pcap file instead of doing the whole E-Mail part ;-)) Am I right with my assumption?
I am not woking on any assignment, actually i am working on xplico and different protocols it can support so in order to check what all protocols it supports i need pcap files to run against xplico with different scenarios. I found some pcap files but without file attachments so wanted to know how to generate pcap file with file attachments.