Created
July 24, 2014 10:56
-
-
Save AndyA/549cb4805b08a3bf173f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| First type | |
| $ cd ~/Desktop | |
| $ sudo tcpdump -D | |
| You'll be asked for your password and then a list of network interfaces will appear. | |
| Password: | |
| 1.en0 | |
| 2.bridge0 | |
| 3.utun0 | |
| 4.en1 | |
| 5.p2p0 | |
| 6.lo0 | |
| Choose the first interface from the list (in this case "en0") and use it in a second tcpdump command: | |
| $ sudo tcpdump -i en0 -w imap.pcap port 143 | |
| That will run until you stop it by pressing Ctrl-C. Leave it running for at least 10 minutes and then stop it. You should then have a file called "imap.pcap" on your desktop. Please send that to me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment