Last active
March 19, 2026 17:20
-
-
Save eruffaldi/b04c3489e2400ba105b5ddfc8e739771 to your computer and use it in GitHub Desktop.
bash web
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| exec 3<>/dev/tcp/example.org/80 | |
| echo -ne "GET / HTTP/1.1\r\nHost: example.org\r\n\r\n" >&3 | |
| cat <&3 | |
| exec 3<&- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| coproc OPENSSL { openssl s_client -connect www.google.com:443 -quiet 2>/dev/null; } | |
| echo -ne "GET / HTTP/1.1\r\nHost: example.org\r\n\r\n" >&"${OPENSSL[1]}" | |
| cat <&"${OPENSSL[0]}" | |
| exec {OPENSSL[1]}>&- | |
| exec {OPENSSL[0]}>&- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment