Created
January 6, 2022 18:23
-
-
Save coseos/d5cf1a56f56f7b0e8404c6ac76ee4989 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
HOST=${1} | |
PATH=${2} | |
telnet ${HOST} 80 <<<EOF | |
GET ${PATH} HTTP/1.1 | |
HOST: ${HOST} | |
EOF>>> | |
echo "Done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment