For those who are interested, this is a great source of cool things you can do with netcat.
http://www.felipemartins.info/2013/03/netcat-the-it-swiss-kn...
Hah, and I wondered how come we suddenly started getting MITM connections from several places.
FWIW you can also do it with a single socat invocation, but I'll leave the exact command as an exercise for the reader.
Maybe then run something like:
$ cat /tmp/tlsconvo2|xxd|less
But I'm not into crypto, even that I don't know what it means or if it's the way to go. I liked the initiative though :-)
Re:The Bitcoin Piñata
by gradinafrica on Tuesday February 10, 2015 @01:46PM
(#9029030)
`cat`ed tlsconvo2. That's some quality gibberish :D
Try this:
Then visit http://ownme.ipredator.se:10001 from that same host (curl or firefox or whatever). Now look at /tmp/tlspipe.Disclaimer: I'm completely unfamiliar with named pipes or tls, but I think this is what they mean.
EDIT: This should also work:
EDIT2: Just realized that the above only captures one part of the convo. Try this: Now you have the full back and forth. E.g.: