mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-02 01:58:28 +02:00
Custom HTTP request headers support added. Addresses #1770
This commit is contained in:
@ -110,6 +110,8 @@ The same can be achieved by setting the environment variable `WARNINGS`.
|
||||
|
||||
`--basicauth <user:pass>` This can be set to provide HTTP basic auth credentials which are used during checks for security headers. BASICAUTH is the ENV variable you can use instead.
|
||||
|
||||
`--customhttpheader <header>` This can be used to add additional HTTP request headers in the correct format `Headername: headercontent`. This parameter can be called multiple times if required. For example: `--customhttpheader 'Proxy-Authorization: Basic dGVzdHNzbDpydWxlcw==' --customhttpheader 'ClientID: 0xDEADBEAF'`. CUSTOMHTTPHEADER is the corresponding environment variable.
|
||||
|
||||
|
||||
### SPECIAL INVOCATIONS
|
||||
|
||||
|
Reference in New Issue
Block a user