1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-07-18 11:41:56 +02:00
Commit Graph

3664 Commits

Author SHA1 Message Date
6570c20798 Merge pull request from drwetter/fix_2575-3.0
Fix json/csv output when STARTTLS problem is passed back (3.0)
2024-10-14 17:06:41 +02:00
c2ed4d55da Fix json/csv output when STARTTLS problem is passed back (3.0)
In rare cases testssl.sh writes to the terminal output "likely not offered" but misses the "likely" in the json/csv output.

This fixes  for the 3.0 branch by adding that word and amending the return value 4 with a comment.
2024-10-14 16:26:23 +02:00
d248451340 Merge pull request from drwetter/fix_f5_short_rfc1918.3.0
Fix F5 cookie in 10.x.x.x.  (3.0)
2024-10-13 10:50:19 +02:00
968e5509ad Fix F5 cookie in 10.x.x.x. (3.0)
The F5 cookie decoder doesn't detect IPs in the 10.x.x.x space for non-encrypted cookies. This fixes the regex pattern, see also
https://github.com/drwetter/F5-BIGIP-Decoder/pull/4 and https://github.com/drwetter/testssl.sh/pull/2577
2024-10-12 21:06:21 +02:00
eee26817c5 Merge pull request from drwetter/fix_docker_3.0
Fix the Dockerfile (3.0) env (hopefully)
2024-09-05 17:59:26 +02:00
73fa5607d8 restrict CI run to pull 2024-09-05 17:55:44 +02:00
cebb52f698 Fix the Dockerfile env (hopefully)
* Upgrade both GHCR and Docker hub foile to alpine 3.2
* uses openssl version 3.3 as a alternative to option (default is still "ours"
* docker 3.0 yml hast now ubuntu-22.04 (not EOL) + "latest" omitted
2024-09-05 17:44:33 +02:00
1296279fa9 Merge pull request from drwetter/noCtrlCharInHeader_3.0
No ctrl char in header (3.0)
2024-09-03 20:50:00 +02:00
27f996d99f Remove crtl chars from HTTP header (3.0)
... which fixes 
2024-09-03 19:33:09 +02:00
6ce7b643ed Merge pull request from drwetter/banner_3.0
Improve banner (3.0)
2024-09-03 19:13:36 +02:00
196cd53dd5 Fix CI 2024-09-03 18:25:32 +02:00
ac81c182b1 Fix CI 2024-09-03 18:24:51 +02:00
52374e552e handle spell errors 2024-09-03 15:27:42 +02:00
44a60ff80b Improve banner (3.0)
... for readablity and bugs to be filed (see )

This PR defines a short string for the OpenSSL banner as some suppliers have
makde them (unnecessarily) long so that it won't fit in the banner.

The banner also now omits the built line nad bash version when scanning
as for the user it is normally not important.
2024-09-03 15:17:23 +02:00
6d714d6b99 Merge pull request from drwetter/fix_2542_3.0
fix typo
2024-08-26 10:44:30 +02:00
69d3cff51c fix typo 2024-08-26 10:42:34 +02:00
7db944e584 Merge pull request from drwetter/update_CAstores-3.0
Update Truststores (3.0)
2024-07-24 09:28:39 +02:00
887f21609a Update Truststores (3.0)
Same as , only for the 3.0 branch.

- Mozilla: 2024-7-02
- Debian 12, ca-certificates from 20230311
- JDK 21.04
- Apple via https://github.com/apple-oss-distributions/security_certificates (according to git log latest change Fri Dec 15 00:44:35 2023)
- Microsoft via CertUtil (date of this PR)

Modified Readme to reflect that the Apple CA certificates are better to retrieve from GH and clarified minor things.

This also fixes  (for 3.0), where >=2 certificates were missing.
2024-07-23 12:20:09 +02:00
08a430e01a Merge pull request from drwetter/fix_ipv6_ula_and_more-3.0
Fix IPv6 addresses (3.0)
2024-07-22 23:31:55 +02:00
33993d4174 Fix IPv6 addresses (3.0)
Local and ULA and other IPv6 adresses were incorrectly filtered by ``awk '/^[0-9]/ { print $1 }'`` which searches in the first term for numeric values only.

This PR adds a-f and fixes  for the 3.0 branch.
2024-07-22 21:17:16 +02:00
4f9bfbc47c Merge pull request from drwetter/make_rel3.0
Prepare for release 3.0
v3.0.9
2024-06-13 18:32:28 +02:00
3cb2371744 Make ready for release
* bump version
* modify banner and issue template to address 

Needed to modify the banner a bit for space reasons. Looks catchier
though.
2024-06-13 17:28:46 +02:00
05fb5f97bf Merge pull request from drwetter/codespell_2502
Fix spelling issues in 
2024-06-13 15:39:17 +02:00
54d1784203 add file, previously forgotten 2024-06-13 15:21:13 +02:00
3beeedcaf0 Fix spelling issues in 2024-06-13 15:19:10 +02:00
9c2bfff1bf Merge pull request from dcooper16/fix2502_30
Fix  in 3.0 branch
2024-06-13 15:12:57 +02:00
acdbdcf552 Fix in 3.0 branch
This commit fixes drwetter#2502 in the 3.0 branch by checking that the key_share extension is at least 4 bytes long (8 in ASCII-HEX). These 4 bytes encode the group value (2 bytes) and the length of the key (2 bytes).
2024-06-13 05:56:21 -07:00
212bdbb78e Merge pull request from drwetter/fix_CAARRquery_noDNS_30
Fix CAA query when nodns set
2024-05-26 17:40:10 +02:00
83059ca5ee Fixes DNS CAA query when no query option set 2024-03-30 17:33:55 +01:00
30c0359bdd Merge pull request from Tazmaniac/mongodb-detection-fix-backport
MongoDB identification fix
2024-02-13 18:42:33 +01:00
c98c780ded MongoDB identification fix
The actual code grep for "MongoDB" keyword in the head of the HTTP
session.
In case of "compressed" HTML, a big page is on one line.
On a IT page, we could encounter the "MongoDB" keyword and
miss-identify the application protocol.

Fixed by matching on a longuer string taken from a live MogoDB
server.
2024-02-13 17:48:40 +01:00
208efdc68a Merge pull request from drwetter/update_hashes_3.0
Update hashes for HPKP
2023-12-24 15:33:28 +01:00
0de86283e9 Update hashes for HPKP 2023-12-24 13:57:48 +01:00
0de609da8c Merge pull request from drwetter/fix_stupid_umaskerror_3.0
Bail out if user error bc of umask (3.0 branch)
2023-12-24 11:12:29 +01:00
02220d2fc4 Bail out if user error bc of umask (3.0 branch)
Implemnation for 3.0, 3.2 see 

If a user chose a broken umask testssl.sh will start but emits subsequent errors.
This patch adds two sanity checks whether it is allowed to create and read files in the temp directory.

Fixes 
2023-12-24 10:21:11 +01:00
68dec54cc5 Merge pull request from drwetter/fix_2431_grepProb
Amend fix for newer grep versions
2023-10-30 20:29:59 +01:00
a0c0c73b66 Amend fix for newer grep versions
See also PR , issue 

Removes unneeded escape for exclamation mark. This is for 3.0.
3.2 has the fix already.
2023-10-30 19:07:06 +01:00
40c6be790b Merge pull request from drwetter/fix_2429_3.0
Fix weird bash globbing (3.0)
2023-10-30 17:53:19 +01:00
41c697f232 put the redirection in the right spot 2023-10-30 15:25:38 +01:00
775ed60437 Fix weird bash globbing (3.0)
What was problematic was the error message when the certificate stores were missing. This fixes it by redirecting the error message to /dev/null so that if the sub function detects the missing file it returns with an error by the program and not by executing "basename"

As for 3.2 this is for the 3.0 branch.
2023-10-30 15:20:37 +01:00
7df05511da Merge pull request from drwetter/drwetter-patch-2
Sync GHCR with Dockerfile
2023-10-30 14:41:12 +01:00
382c1530cb Sync GHCR with Dockerfile 2023-10-13 17:38:09 +02:00
3eb3994d39 Merge pull request from drwetter/alpine_3.18
Update Dockerfile to Alpine 3.18
2023-10-13 10:43:56 +02:00
cd6659c7ad Update Dockerfile to Alpine 3.18
for an extension of life time:

https://endoflife.date/alpine
2023-10-12 09:59:25 +02:00
ece9447ac4 Merge pull request from drwetter/fix_extended_regexp3.0
Fix regexp in STARTTLS detection
2023-10-07 17:21:25 +02:00
c09e1587b7 fix spell errors 2023-10-07 15:15:04 +02:00
c31b9492ce Fix regexp in STARTTLS detection
see also , kudo to Geert!
2023-10-07 15:06:36 +02:00
e9cd8c3afd Merge pull request from Tazmaniac/Renego-backport-patch
Backport pull request  to fix 
2023-09-08 19:20:38 +02:00
eb006e4173 Backport pull request to fix
Not exactly for the same reason, but we need SNI too for secure renego tests.
2023-09-08 16:31:38 +02:00
5cb30aa510 Merge pull request from drwetter/openssl_link_docker_3.0
make openssl 1.1 available via /usr/bin/openssl
2023-03-20 14:29:14 +01:00