Skip to content

Instantly share code, notes, and snippets.

@Marshall-Hallenbeck
Created April 8, 2021 02:22
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 Marshall-Hallenbeck/59ad3bbb76dadf07fe5abcd570812237 to your computer and use it in GitHub Desktop.
Save Marshall-Hallenbeck/59ad3bbb76dadf07fe5abcd570812237 to your computer and use it in GitHub Desktop.
Capture HTTP Request to file
#!/bin/bash
curl -m 0.1 -s -I localhost:1337 & nc -l -p 1337 > /tmp/http_request.txt && cat /tmp/http_request.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment