Commit 5ae1768
committed
Improved SSL/TLS portdetection in nmap greppable files (3.0)
As mentioned in #1931 the port detection for nmap greppable files
leaves space for improvements.
Ths PR adds a pattern detection of ssl and https in the forth or fifth
parameter of an open port, so those ports will be added to a scan when
a nmap greppable output file is supplied as input to testssl.sh .
Also it does minor code adjustments to utils/gmap2testssl.sh .
Same as #1938, only for 3.0.1 parent f4800f8 commit 5ae1768
2 files changed
Lines changed: 12 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18988 | 18988 | | |
18989 | 18989 | | |
18990 | 18990 | | |
18991 | | - | |
| 18991 | + | |
18992 | 18992 | | |
18993 | 18993 | | |
18994 | 18994 | | |
| |||
19029 | 19029 | | |
19030 | 19030 | | |
19031 | 19031 | | |
19032 | | - | |
19033 | | - | |
19034 | | - | |
19035 | | - | |
19036 | | - | |
| 19032 | + | |
| 19033 | + | |
| 19034 | + | |
| 19035 | + | |
| 19036 | + | |
| 19037 | + | |
| 19038 | + | |
| 19039 | + | |
| 19040 | + | |
19037 | 19041 | | |
19038 | 19042 | | |
19039 | 19043 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
| |||
105 | 103 | | |
106 | 104 | | |
107 | 105 | | |
108 | | - | |
| 106 | + | |
109 | 107 | | |
110 | 108 | | |
111 | 109 | | |
| |||
162 | 160 | | |
163 | 161 | | |
164 | 162 | | |
165 | | - | |
| 163 | + | |
166 | 164 | | |
167 | 165 | | |
168 | 166 | | |
| |||
0 commit comments