https://github.com/stone/qhttp
Query http server headers
https://github.com/stone/qhttp
Last synced: about 1 year ago
JSON representation
Query http server headers
- Host: GitHub
- URL: https://github.com/stone/qhttp
- Owner: stone
- Created: 2012-01-23T12:20:54.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2013-09-02T12:22:18.000Z (almost 13 years ago)
- Last Synced: 2023-03-12T09:07:30.498Z (over 3 years ago)
- Language: Go
- Homepage:
- Size: 105 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#qhttp - query remote http server headers
[](https://drone.io/github.com/stone/qhttp/latest)
Query servers in "paralell" (using goroutines) for http headers.
Usage:
usage: qhttp [flags] url [url...]
-H="Server": Which header(s) to show (Default Server)
-f="": read urls from file
-get=false: Use GET instad of HEAD
-n=4: number of CPU cores to use
-v=false: verbose
-w="": Write to csv file
Example:
$ ./qhttp -H="Server Expires" www.reddit.com www.lwn.net
[0] http://www.reddit.com : 200 OK : ['; DROP TABLE servertypes; --] time=507.421ms
[1] http://www.lwn.net : 200 OK : [Apache -1] time=1.101533s
Note 1: You need the [go][] runtime, (weekly)
Note 2: this is just a toy project in my adventures in the go language, it probably works
but not the cleanest code around ;)
[go]:http://golang.org/ "The Go Programming language"