Language summit lightning talks
Language summit lightning talks
Posted Jun 9, 2017 15:38 UTC (Fri) by hkario (subscriber, #94864)In reply to: Language summit lightning talks by mjg59
Parent article: Language summit lightning talks
Do you know that regular bash can do TCP connections?
https://www.linuxjournal.com/content/more-using-bashs-built-devtcp-file-tcpip
from there:
exec 3<>/dev/tcp/www.google.com/80 echo -e "GET / HTTP/1.1\r\nhost: http://www.google.com\r\nConnection: close\r\n\r\n" >&3 cat >&3