@@ -262,39 +262,58 @@ Usage:
262
262
gocurl [OPTIONS]
263
263
264
264
Application Options:
265
- --url=<URL> URL the request will be made to. Can be specified without any flags.
265
+ --url=<URL> URL the request will be made to. Can be specified
266
+ without any flags.
266
267
-X, --request=<method> HTTP method. GET by default.
267
- -d, --data=<data> Sends the specified data to the HTTP server using content type application/x-www-form-urlencoded.
268
- -H, --header= Extra header to include in the request. Can be specified multiple times.
269
- -x, --proxy=[protocol://username:password@]host[:port] Use the specified proxy. The proxy string can be specified with a protocol:// prefix.
270
- --connect-to=<HOST1:PORT1:HOST2:PORT2> For a request to the given HOST1:PORT1 pair, connect to HOST2:PORT2 instead. Can be specified
271
- multiple times.
268
+ -d, --data=<data> Sends the specified data to the HTTP server using
269
+ content type application/x-www-form-urlencoded.
270
+ -H, --header= Extra header to include in the request. Can be
271
+ specified multiple times.
272
+ -x, --proxy=[protocol://username:password@]host[:port] Use the specified proxy. The proxy string can be
273
+ specified with a protocol:// prefix.
274
+ --connect-to=<HOST1:PORT1:HOST2:PORT2> For a request to the given HOST1:PORT1 pair, connect
275
+ to HOST2:PORT2 instead. Can be specified multiple
276
+ times.
272
277
-I, --head Fetch the headers only.
273
278
-k, --insecure Disables TLS verification of the connection.
274
279
--tlsv1.3 Forces gocurl to use TLS v1.3 or newer.
275
280
--tlsv1.2 Forces gocurl to use TLS v1.2 or newer.
276
- --tls-max=<VERSION> (TLS) VERSION defines maximum supported TLS version. Can be 1.2 or 1.3. The minimum acceptable
277
- version is set by tlsv1.2 or tlsv1.3.
281
+ --tls-max=<VERSION> (TLS) VERSION defines maximum supported TLS version.
282
+ Can be 1.2 or 1.3. The minimum acceptable version is
283
+ set by tlsv1.2 or tlsv1.3.
278
284
--ciphers=<space-separated list of ciphers> Specifies which ciphers to use in the connection, see
279
- https://go.dev/src/crypto/tls/cipher_suites.go for the full list of available ciphers.
280
- --tls-servername=<HOSTNAME> Specifies the server name that will be sent in TLS ClientHello
285
+ https://go.dev/src/crypto/tls/cipher_suites.go for the
286
+ full list of available ciphers.
287
+ --tls-servername=<HOSTNAME> Specifies the server name that will be sent in TLS
288
+ ClientHello
281
289
--http1.1 Forces gocurl to use HTTP v1.1.
282
290
--http2 Forces gocurl to use HTTP v2.
283
291
--http3 Forces gocurl to use HTTP v3.
284
292
--ech Enables ECH support for the request.
285
- --echconfig=<base64-encoded data> ECH configuration to use for this request. Implicitly enables --ech when specified.
286
- -4, --ipv4 This option tells gocurl to use IPv4 addresses only when resolving host names.
287
- -6, --ipv6 This option tells gocurl to use IPv6 addresses only when resolving host names.
288
- --dns-servers=<DNSADDR1,DNSADDR2> DNS servers to use when making the request. Supports encrypted DNS: tls://, https://, quic://,
289
- sdns://
290
- --resolve=<[+]host:port:addr[,addr]...> Provide a custom address for a specific host. port is ignored by gocurl. ' * ' can be used instead of
291
- the host name. Can be specified multiple times.
292
- --tls-split-hello=<CHUNKSIZE:DELAY> An option that allows splitting TLS ClientHello in two parts in order to avoid common DPI systems
293
- detecting TLS. CHUNKSIZE is the size of the first bytes before ClientHello is split, DELAY is delay
294
- in milliseconds before sending the second part.
295
- --json-output Makes gocurl write machine-readable output in JSON format.
296
- -o, --output=<file> Defines where to write the received data. If not set, gocurl will write everything to stdout.
297
- --experiment=<name[:value]> Allows enabling experimental options. See the documentation for available options. Can be specified
293
+ --echgrease Forces sending ECH grease in the ClientHello, but does
294
+ not try to resolve the ECH configuration.
295
+ --echconfig=<base64-encoded data> ECH configuration to use for this request. Implicitly
296
+ enables --ech when specified.
297
+ -4, --ipv4 This option tells gocurl to use IPv4 addresses only
298
+ when resolving host names.
299
+ -6, --ipv6 This option tells gocurl to use IPv6 addresses only
300
+ when resolving host names.
301
+ --dns-servers=<DNSADDR1,DNSADDR2> DNS servers to use when making the request. Supports
302
+ encrypted DNS: tls://, https://, quic://, sdns://
303
+ --resolve=<[+]host:port:addr[,addr]...> Provide a custom address for a specific host. port is
304
+ ignored by gocurl. ' * ' can be used instead of the host
305
+ name. Can be specified multiple times.
306
+ --tls-split-hello=<CHUNKSIZE:DELAY> An option that allows splitting TLS ClientHello in two
307
+ parts in order to avoid common DPI systems detecting
308
+ TLS. CHUNKSIZE is the size of the first bytes before
309
+ ClientHello is split, DELAY is delay in milliseconds
310
+ before sending the second part.
311
+ --json-output Makes gocurl write machine-readable output in JSON
312
+ format.
313
+ -o, --output=<file> Defines where to write the received data. If not set,
314
+ gocurl will write everything to stdout.
315
+ --experiment=<name[:value]> Allows enabling experimental options. See the
316
+ documentation for available options. Can be specified
298
317
multiple times.
299
318
-v, --verbose Verbose output (optional).
300
319
0 commit comments