Skip to content

Instantly share code, notes, and snippets.

@coseos
Created January 6, 2022 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coseos/d5cf1a56f56f7b0e8404c6ac76ee4989 to your computer and use it in GitHub Desktop.
Save coseos/d5cf1a56f56f7b0e8404c6ac76ee4989 to your computer and use it in GitHub Desktop.
#!/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