Skip to content

Commit c2554aa

Browse files
committed
Add example
1 parent 61c5d98 commit c2554aa

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,16 @@ Usage
1010
Recommend to run this tool locally. It may cause VPS to be flagged if you run scanner in the cloud.
1111
```
1212
./RealiTLScanner -addr www.microsoft.com
13-
./RealiTLScanner -addr 20.81.111.85 -thread 10
13+
./RealiTLScanner -addr 20.53.203.50 -thread 10
14+
```
15+
16+
Example
17+
```
18+
Reality TLS Scanner running: 20.53.203.50 : 443
19+
20.53.203.50:443 ----- Found TLS v 1.3 ALPN h2 CN=*.oneroute.microsoft.com,O=Microsoft Corporation,L=Redmond,ST=WA,C=US
20+
20.53.203.48:443 ----- TLS handshake failed: read tcp 192.168.211.138:37858->20.53.203.48:443: read: connection reset by peer
21+
20.53.203.46:443 ----- Found TLS v 1.3 ALPN h2 CN=apiserver
22+
20.53.203.45:443 ----- Found TLS v 1.2 ALPN http/1.1 CN=*.canon.com.au,O=Canon Australia Pty. Ltd.,L=Macquarie Park,ST=New South Wales,C=AU
23+
20.53.203.43:443 ----- Found TLS v 1.2 ALPN CN=bst-c0a0be99-3539-4442-8884-161054d9aba3.bastion.azure.com,O=Microsoft Corporation,L=Redmond,ST=WA,C=US
24+
Dial failed: dial tcp 20.53.203.52:443: i/o timeout
1425
```

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ type Scanner struct {
3232
timeout time.Duration
3333
numberOfThread int
3434
mu *sync.Mutex
35-
high net.IP
36-
low net.IP
35+
high net.IP
36+
low net.IP
3737
}
3838

3939
func (s *Scanner) Run() {

0 commit comments

Comments
 (0)