Skip to content

Commit

Permalink
update usage (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
noraj authored Jan 23, 2023
1 parent ecbac37 commit 6a17955
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ tlsx -h
This will display help for the tool. Here are all the switches it supports.

```console
TLSX is a tls data gathering and analysis toolkit.

Usage:
./tlsx [flags]
tlsx [flags]

Flags:
INPUT:
Expand All @@ -67,7 +69,7 @@ INPUT:
-p, -port string[] target port to connect (default 443)

SCAN-MODE:
-sm, -scan-mode string tls connection mode to use (ctls, ztls, auto) (default "auto")
-sm, -scan-mode string tls connection mode to use (ctls, ztls, openssl, auto) (default "auto")
-ps, -pre-handshake enable pre-handshake tls connection (early termination) using ztls
-sa, -scan-all-ips scan all ips for a host (default false)
-iv, -ip-version string[] ip version to use (4, 6) (default 4)
Expand Down Expand Up @@ -107,6 +109,7 @@ CONFIGURATIONS:
-cert, -certificate include certificates in json output (PEM format)
-tc, -tls-chain include certificates chain in json output
-vc, -verify-cert enable verification of server certificate
-ob, -openssl-binary string OpenSSL Binary Path

OPTIMIZATIONS:
-c, -concurrency int number of concurrent threads to process (default 300)
Expand Down Expand Up @@ -481,6 +484,7 @@ The acceptable values for TLS version is specified below.
- `tls10`
- `tls11`
- `tls12`
- `tls13`

Here is an example using `max-version` to scan for hosts supporting an older version of TLS, i.e **TLS v1.0**

Expand Down Expand Up @@ -527,4 +531,4 @@ tlsx is made with ❤️ by the [projectdiscovery](https://projectdiscovery.io)

<a href="https://discord.gg/projectdiscovery"><img src="https://raw.githubusercontent.com/projectdiscovery/nuclei-burp-plugin/main/static/join-discord.png" width="300" alt="Join Discord"></a>

</div>
</div>

0 comments on commit 6a17955

Please sign in to comment.