@@ -470,32 +470,32 @@ func ParseOptions() *Options {
470
470
flag .StringVar (& options .Output , "o" , "" , "File to write output to (optional)" )
471
471
flag .BoolVar (& options .VHost , "vhost" , false , "Check for VHOSTs" )
472
472
flag .BoolVar (& options .ExtractTitle , "title" , false , "Extracts title" )
473
- flag .BoolVar (& options .StatusCode , "status-code" , false , "Extracts Status Code " )
473
+ flag .BoolVar (& options .StatusCode , "status-code" , false , "Extracts status code " )
474
474
flag .Var (& options .CustomHeaders , "H" , "Custom Header" )
475
475
flag .Var (& options .CustomPorts , "ports" , "ports range (nmap syntax: eg 1,2-10,11)" )
476
- flag .BoolVar (& options .ContentLength , "content-length" , false , "Content Length " )
477
- flag .BoolVar (& options .StoreResponse , "sr" , false , "Store Response as domain.txt " )
478
- flag .StringVar (& options .StoreResponseDir , "srd" , "output" , "Store Response Directory (default 'output directory) " )
476
+ flag .BoolVar (& options .ContentLength , "content-length" , false , "Extracts content length " )
477
+ flag .BoolVar (& options .StoreResponse , "sr" , false , "Save response to file (default 'output') " )
478
+ flag .StringVar (& options .StoreResponseDir , "srd" , "output" , "Save response directory" )
479
479
flag .BoolVar (& options .FollowRedirects , "follow-redirects" , false , "Follow Redirects" )
480
480
flag .BoolVar (& options .FollowHostRedirects , "follow-host-redirects" , false , "Only follow redirects on the same host" )
481
- flag .StringVar (& options .HttpProxy , "http-proxy" , "" , "Http Proxy, eg http://127.0.0.1:8080" )
481
+ flag .StringVar (& options .HttpProxy , "http-proxy" , "" , "HTTP Proxy, eg http://127.0.0.1:8080" )
482
482
flag .BoolVar (& options .JSONOutput , "json" , false , "JSON Output" )
483
483
flag .StringVar (& options .InputFile , "l" , "" , "File containing domains" )
484
484
flag .StringVar (& options .Method , "x" , "GET" , "Request Method" )
485
485
flag .BoolVar (& options .Silent , "silent" , false , "Silent mode" )
486
486
flag .BoolVar (& options .Version , "version" , false , "Show version of httpx" )
487
487
flag .BoolVar (& options .Verbose , "verbose" , false , "Verbose Mode" )
488
488
flag .BoolVar (& options .NoColor , "no-color" , false , "No Color" )
489
- flag .BoolVar (& options .OutputServerHeader , "web-server" , false , "Prints out the Server header content " )
489
+ flag .BoolVar (& options .OutputServerHeader , "web-server" , false , "Extracts server header" )
490
490
flag .BoolVar (& options .OutputWebSocket , "websocket" , false , "Prints out if the server exposes a websocket" )
491
491
flag .BoolVar (& options .responseInStdout , "response-in-json" , false , "Server response directly in the tool output (-json only)" )
492
492
flag .BoolVar (& options .TLSProbe , "tls-probe" , false , "Send HTTP probes on the extracted TLS domains" )
493
- flag .StringVar (& options .RequestURI , "path" , "" , "Request Path " )
494
- flag .BoolVar (& options .OutputContentType , "content-type" , false , "Prints out the Content-Type header value " )
495
- flag .StringVar (& options .OutputMatchStatusCode , "mc" , "" , "match status code" )
496
- flag .StringVar (& options .OutputMatchStatusCode , "ml" , "" , "match content length" )
497
- flag .StringVar (& options .OutputFilterStatusCode , "fc" , "" , "filter status code" )
498
- flag .StringVar (& options .OutputFilterContentLength , "fl" , "" , "filter content length" )
493
+ flag .StringVar (& options .RequestURI , "path" , "" , "Request path/file (example '/api') " )
494
+ flag .BoolVar (& options .OutputContentType , "content-type" , false , "Extracts content-type " )
495
+ flag .StringVar (& options .OutputMatchStatusCode , "mc" , "" , "Match status code" )
496
+ flag .StringVar (& options .OutputMatchStatusCode , "ml" , "" , "Match content length" )
497
+ flag .StringVar (& options .OutputFilterStatusCode , "fc" , "" , "Filter status code" )
498
+ flag .StringVar (& options .OutputFilterContentLength , "fl" , "" , "Filter content length" )
499
499
flag .Parse ()
500
500
501
501
// Read the inputs and configure the logging
0 commit comments