You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-6Lines changed: 16 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ A fast and configurable TLS grabber focused on TLS based **data collection and a
43
43
44
44
## Installation
45
45
46
-
tlsx requires **Go 1.18** to install successfully. To install, just run the below command or download pre-compiled binary from [release page](https://github.com/projectdiscovery/tlsx/releases).
46
+
tlsx requires **Go 1.19** to install successfully. To install, just run the below command or download pre-compiled binary from [release page](https://github.com/projectdiscovery/tlsx/releases).
47
47
48
48
```console
49
49
go install github.com/projectdiscovery/tlsx/cmd/tlsx@latest
@@ -88,14 +88,17 @@ PROBES:
88
88
-tps, -probe-status display tls probe status
89
89
-ve, -version-enum enumerate and display supported tls versions
90
90
-ce, -cipher-enum enumerate and display supported cipher
91
+
-ct, -cipher-type ciphers types to enumerate (all/secure/insecure/weak) (default 0)
91
92
-ch, -client-hello include client hello in json output (ztls mode only)
92
93
-sh, -server-hello include server hello in json output (ztls mode only)
94
+
-se, -serial display certificate serial number
93
95
94
96
MISCONFIGURATIONS:
95
97
-ex, -expired display host with host expired certificate
96
98
-ss, -self-signed display host with self-signed certificate
97
99
-mm, -mismatched display host with mismatched certificate
98
100
-re, -revoked display host with revoked certificate
101
+
-un, -untrusted display host with untrusted certificate
99
102
100
103
CONFIGURATIONS:
101
104
-config string path to the tlsx configuration file
@@ -104,23 +107,28 @@ CONFIGURATIONS:
104
107
-ci, -cipher-input string[] ciphers to use with tls connection
105
108
-sni string[] tls sni hostname to use
106
109
-rs, -random-sni use random sni when empty
110
+
-rps, -rev-ptr-sni perform reverse PTR to retrieve SNI from IP
107
111
-min-version string minimum tls version to accept (ssl30,tls10,tls11,tls12,tls13)
108
112
-max-version string maximum tls version to accept (ssl30,tls10,tls11,tls12,tls13)
109
-
-ac, -all-ciphers send all ciphers as accepted inputs (default true)
110
113
-cert, -certificate include certificates in json output (PEM format)
111
114
-tc, -tls-chain include certificates chain in json output
112
115
-vc, -verify-cert enable verification of server certificate
113
116
-ob, -openssl-binary string OpenSSL Binary Path
117
+
-hf, -hardfail strategy to use if encountered errors while checking revocation status
114
118
115
119
OPTIMIZATIONS:
116
120
-c, -concurrency int number of concurrent threads to process (default 300)
117
121
-timeout int tls connection timeout in seconds (default 5)
118
122
-retry int number of retries to perform for failures (default 3)
119
123
-delay string duration to wait between each connection per thread (eg: 200ms, 1s)
flagSet.BoolVarP(&options.Expired, "expired", "ex", false, "display host with host expired certificate"),
89
96
flagSet.BoolVarP(&options.SelfSigned, "self-signed", "ss", false, "display host with self-signed certificate"),
90
97
flagSet.BoolVarP(&options.MisMatched, "mismatched", "mm", false, "display host with mismatched certificate"),
91
98
flagSet.BoolVarP(&options.Revoked, "revoked", "re", false, "display host with revoked certificate"),
99
+
flagSet.BoolVarP(&options.Untrusted, "untrusted", "un", false, "display host with untrusted certificate"),
92
100
)
93
101
94
102
flagSet.CreateGroup("configs", "Configurations",
@@ -98,9 +106,9 @@ func readFlags() error {
98
106
flagSet.StringSliceVarP(&options.Ciphers, "cipher-input", "ci", nil, "ciphers to use with tls connection", goflags.FileCommaSeparatedStringSliceOptions),
99
107
flagSet.StringSliceVar(&options.ServerName, "sni", nil, "tls sni hostname to use", goflags.FileCommaSeparatedStringSliceOptions),
100
108
flagSet.BoolVarP(&options.RandomForEmptyServerName, "random-sni", "rs", false, "use random sni when empty"),
109
+
flagSet.BoolVarP(&options.ReversePtrSNI, "rev-ptr-sni", "rps", false, "perform reverse PTR to retrieve SNI from IP"),
101
110
flagSet.StringVar(&options.MinVersion, "min-version", "", "minimum tls version to accept (ssl30,tls10,tls11,tls12,tls13)"),
102
111
flagSet.StringVar(&options.MaxVersion, "max-version", "", "maximum tls version to accept (ssl30,tls10,tls11,tls12,tls13)"),
103
-
flagSet.BoolVarP(&options.AllCiphers, "all-ciphers", "ac", true, "send all ciphers as accepted inputs"),
0 commit comments