socat icon indicating copy to clipboard operation
socat copied to clipboard

httpd for Windows

Open Arkady23 opened this issue 1 year ago • 2 comments

I have debugged the http-server for netcat. Running in WSH did this: ncat.exe -klp 8080 -e "C:/Windows/SysWOW64/cscript.exe //Nologo httpd.session.wsf" I wanted to try socat instead of netcat and I can't figure out how to run it. I tried this, but I don't get an answer: socat.exe tcp-listen:8080,keepalive exec:"C\:/Windows/SysWOW64/cscript.exe //Nologo httpd.session.wsf" Probably something is missing. httpd.session.wsf script outputs headers and html-document to stdout.

Arkady23 avatar Dec 17 '22 05:12 Arkady23