Skip to content

Instantly share code, notes, and snippets.

@decal
Created May 11, 2016 09:26
Show Gist options
  • Save decal/5a413a6df7f707161abf29afa39e94f9 to your computer and use it in GitHub Desktop.
Save decal/5a413a6df7f707161abf29afa39e94f9 to your computer and use it in GitHub Desktop.
usage: ./fjorge HOST[:PORT] VERB PATH VERS [HHST[:HPRT]] [-s] [-d] [-v] [-H 'NAME: VALU'] [-o OFIL]
HOST numeric IP address or DNS hostname of web server target
PORT TCP port number to connect to at destination server
VERB HTTP protocol method: GET, HEAD, POST, OPTIONS, CONNECT
PATH relative path string or fully qualified URL
VERS protocol version such as: HTTP/1.0, HTTP/2.0
HHST the hostname part of a custom Host header
HPRT the port number part of a custom Host header
NAME newly created HTTP request header field name
VALU string value paired up with the new header name
OFIL path name of output file to write HTTP traffic to
-s enable transport stream security with HTTPS via GnuTLS
-d debug level which may be used more than once
-v verbosity level which may be used more than once
-o output the request and response text to a file
-H create an HTTP request header, duplicates permitted
-h, -? display the command line usage info being shown now
ex. ./fjorge www.google.com:80 GET /apps HTTP/1.1 localhost:80
ex. ./fjorge office365.com:443 HEAD / HTTP/1.0 -s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment