簡易網站
while true; do echo -e "HTTP/1.1 200 OK\n\n $(date)" | nc -l -p 1500 -q 1; done
gunzip http.sh.gz
chmod +x http.sh
socat TCP4-LISTEN:8081,fork EXEC:/home/user/http.sh
Last updated
Was this helpful?
while true; do echo -e "HTTP/1.1 200 OK\n\n $(date)" | nc -l -p 1500 -q 1; done
gunzip http.sh.gz
chmod +x http.sh
socat TCP4-LISTEN:8081,fork EXEC:/home/user/http.sh
Last updated
Was this helpful?