Skip to content

Instantly share code, notes, and snippets.

@sarimarton
sarimarton / socat_server.sh
Created August 6, 2021 22:03 — forked from CMCDragonkai/socat_server.sh
Socat Simple HTTP Server #cli #network
socat \
-v -d -d \
TCP-LISTEN:1234,crlf,reuseaddr,fork \
SYSTEM:"
echo HTTP/1.1 200 OK;
echo Content-Type\: text/plain;
echo;
echo \"Server: \$SOCAT_SOCKADDR:\$SOCAT_SOCKPORT\";
echo \"Client: \$SOCAT_PEERADDR:\$SOCAT_PEERPORT\";
"
@sarimarton
sarimarton / crossover-howtocompile.md
Last active December 31, 2024 04:46 — forked from Alex4386/crossover-howtocompile.md
CodeWeavers CrossOver - How to compile from source! for macOS