Changes

Jump to: navigation, search

Socat

813 bytes added, 02:40, 4 January 2019
no edit summary
<!-- The rest of this page uses Socat is a template from the Uniluug project; please see httpscommandline network tool akin to [[w://uniluugnetcat|netcat]]. It supports SSL, IPv6 and several more protocols.org/wiki/Template:Socat if you wish It can come in handy when attempting to sniff traffic that has to speak SSL because setting up a cleartext to edit itSSL proxy is relatively straightforward. -->{{raw:u:Socat}}
=TCP to STDIN=To create a classic TCP listening daemon, similar to <code>netcat -l</code>, use a variation of the following command.<pre>$ socat TCP-LISTEN:8080 stdout</pre> =Cleartext to SSL Tunnel for DyKnow=One can create a plaintext to SSL proxy with socat, useful for performing a man-in-the-middle attack to study network traffic when there is an SSL-only server, but the client application has a vanilla TCP mode available. To do so, use a variant of the following command, originally used to look at [[DyKnow]]'s traffic to [[gp:Virginia Tech|Virginia Tech]] servers.<pre>$ socat tcp4-listen:1337,fork openssl:dyknow.lt.vt.edu:443,cafile=/etc/ssl/certs/GlobalSign_Root_CA.pem</pre> [[Category:Software]][[Category:Move from UniluugHowtos]]

Navigation menu