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

3443 Commits

Author SHA1 Message Date
00ffcb8c00 Fix in 3.0 branch
This commit is the same as , but for the 3.0 branch.
2021-08-30 13:52:00 -04:00
8d1e964788 Merge pull request from jauderho/3.0
Add GH Action to build Docker images (3.0 branch)
2021-08-27 09:32:33 +02:00
86543ecab5 Cleanup 2021-08-09 11:59:19 +00:00
b04745d960 Use github.repository instead 2021-08-09 11:53:48 +00:00
63722babe9 Add missing file 2021-08-09 11:45:33 +00:00
1fcac8791a Use GH Action to build Docker images 2021-08-09 11:44:05 +00:00
ea3f089b79 Merge pull request from jauderho/3.0_gha_build_status
Update Readme.md
2021-08-09 12:50:58 +02:00
c00c49bc44 Update Readme.md 2021-08-09 10:48:32 +00:00
8b5f25a113 Merge pull request from dcooper16/use_all+_3.0
Use all+ in calls to tls_sockets() in 3.0
2021-08-07 16:07:22 +02:00
578d173319 Merge pull request from drwetter/fix_1956
Redirect debugme() outputs to stderr
2021-08-07 13:55:31 +02:00
ff5b321d38 Use all+ in calls to tls_sockets() in 3.0
get_server_certificate() includes a few calls to tls_sockets() in which the response will be TLS 1.3 and in which the response will be useless if it cannot be decrypted (since the goal is to obtain the server's certificate). So, these calls to tls_sockets() should specify "all+" rather than "all".
2021-08-04 14:31:42 -04:00
65d6c27551 Redirect debugme() outputs to stderr
... to address  and other places.
2021-08-04 19:33:01 +02:00
91523be194 Merge pull request from drwetter/digrc_3.0
Ignore $HOME/.digrc (3.0)
2021-08-01 20:59:58 +02:00
556208815a Merge remote-tracking branch 'origin/3.0' into digrc_3.0 2021-08-01 20:20:24 +02:00
a52b3b847d Merge pull request from drwetter/legacy_stuff
Legacy removals + housekeeping
2021-08-01 20:18:39 +02:00
16c18789cd Legacy removals + housekeeping
* remove relics (CVS)
* add diff to HTML CI run
2021-08-01 18:25:13 +02:00
2f398d3cd0 Merge pull request from drwetter/fix_1717_3.0
Look-ahead trick for -U --ids-friendly (3.0)
2021-08-01 17:46:58 +02:00
e293b7d839 Look-ahead trick for -U --ids-friendly
If the order of the cmdline is '-U --ids-friendly' then we need to make sure we catch --ids-friendly. Normally we do not,
 see . The following statement makes sure. In the do-while + case-esac loop  the check for --ids-friendly will be
executed again, but it does not hurt
2021-07-31 18:47:00 +02:00
0d6ca5c1b8 Merge pull request from drwetter/noitalics4screen_3.0
Disable ANSI codes for italic when TERM == screen
2021-07-31 15:26:26 +02:00
ac2b43170b Move dig down the row of DNS resolvers
... because there's a higher possibility for the stable branch
that people use $HOME/.digrc
2021-07-31 15:22:05 +02:00
8d6609f1b9 Ignore $HOME/.digrc
Newer dig versions have an option to ignore $HOME/.digrc, older
don't.

This commit adds a patch checking for the availability of
such an option and uses it by default.

If doesn't exist then still dig is used and can still lead to
wrong output. Unfortunately Debian-based distros are not very
good at this. Debian 10, Ubuntu 18.04 still use dig 9.11, whereas
Opensuse 15.2 has 9.16.

Debian 11 and Ubuntu 20.04 use that too.

Thus to be considered for the stable 3.0-branch: move
dig in the resolver functions a couple of lines down.
2021-07-31 14:37:36 +02:00
13303753ff Disable ANSI codes for italic when TERM == screen
... otherwise it is being printed in reverse, see .
Same as  but for the 3.0 branch.
2021-07-31 13:22:47 +02:00
5d4945819a Merge pull request from drwetter/docker_3.0
Docker updates
2021-07-30 17:36:20 +02:00
4e8dd46815 Update description
* tar.gz is now from testssl.sh
    * git clone refers to 3.0 instead of 3.1dev
2021-07-30 17:34:56 +02:00
6ffbf1bfa4 Update description
* tar.gz is now from testssl.sh
* git clone refers to 3.0 instead of 3.1dev
2021-07-30 17:33:08 +02:00
5df1a2e7b9 Upgrade to alpine 3.12
... as 3.11 is in a couple of months EOL .

I do not expect difficulties as we run 3.12 already in 3.1dev.
2021-07-30 17:23:51 +02:00
e7713f8012 Merge pull request from drwetter/nmap_portdetection_1931_3.0
Improved SSL/TLS portdetection in nmap greppable files (3.0)
2021-07-30 15:51:23 +02:00
5ae17681f6 Improved SSL/TLS portdetection in nmap greppable files (3.0)
As mentioned in  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 , only for 3.0.
2021-07-30 14:47:17 +02:00
f4800f8e5e Merge pull request from drwetter/fix_1935_3.0
Fix problem when nmap file has .txt extension (3.0)
2021-07-25 17:17:39 +02:00
29bd7591f9 Supply new converter which matches on ssl and https
... see .

It is ~ copied from testssl.sh. It adds a detection for the
strings ssl and https. If those run at non-standard ports but nmap
detected it, it'll show up in the output file.
2021-07-25 16:56:02 +02:00
3544014fe3 Fix problem when nmap file has .txt extension (3.0)
This addresses a bug filed in  in 3.1dev when the supplied file
has a .txt extension. In this scenario the input file was nulled
as from the input file in nmap format an internal input file was
generated which has a .txt extension, in the same directory.
The idea was to persist the file for the user.

Now, this internal input file is ephemeral and only written to $TEMPDIR.
2021-07-25 16:40:16 +02:00
ca558a9c08 Merge pull request from drwetter/gha_denylist_3.0
Github actions modifications (3.0)
2021-06-19 15:21:04 +02:00
6fd4c466e4 Github actions modifications (3.0)
Same as , only for the stable branch

* define deny list of files when modified not to run GHA
* specitfy OS to be ubuntu-20.04 (is there a debian at all?)
* only use perl 5.26

See 
2021-06-19 12:32:06 +02:00
526bccaa34 Merge pull request from drwetter/travis2gha_3.0
Migrate from travis-ci.org to github actions
2021-06-18 09:56:57 +02:00
7b9a6e334d Migrate from travis-ci.,org to github actions
Kudos to Mikel, see PR 
2021-06-18 08:39:00 +02:00
f7b29cac99 Merge pull request from drwetter/fix_1915_3.0
Fix indentation and redundant message (BREACH) when client certificate required
2021-06-17 09:29:19 +02:00
19feed169e Fix indentation and redundant message (BREACH) when client certificate required
... see 
2021-06-17 09:23:34 +02:00
96e8f67999 Merge pull request from drwetter/tz_fix+3.0
Display time as suggested in utc (3.0)
2021-06-03 20:23:20 +02:00
f6a9044315 Display time as suggested in utc (3.0)
This fixes 
2021-06-03 19:29:26 +02:00
c0d9427988 Merge pull request from dcooper16/send_to_stderr_30
Print errors to stderr
2021-05-15 12:22:43 +02:00
7d5e24c62f Print errors to stderr
Same as , but for the 3.0 branch.
2021-05-13 11:21:48 -04:00
931d0095d6 Merge pull request from ghen2/3.0-uname
`hostname` is not defined by POSIX, use portable `uname -n` instead.
2021-05-13 16:11:11 +02:00
388f3aea19 hostname is not defined by POSIX, use portable uname -n instead. 2021-05-13 13:58:07 +02:00
6829996197 Merge pull request from drwetter/3.0.5
Bump version
3.0.5
2021-05-10 13:50:07 +02:00
f5fde2a93b Bump version 2021-05-10 12:16:12 +02:00
4976da43b0 Merge pull request from drwetter/epoch_180hsts_1879.branch_3.0
Fix "off by one" error in HSTS
2021-05-10 11:18:53 +02:00
5758c397da Merge pull request from definity/3.0
fixed minor bug with json output for TLS1.1
2021-05-09 20:37:07 +02:00
ca4a0b23f7 fixed minor bug with json output for TLS1.1 2021-05-09 09:46:57 +00:00
68cbdf8dc8 Fix "off by one" error in HSTS
There was by mistake a 179 days threshold and also the error message
was wrong when HSTS was exactly set to 179 days, see .

This commit sets it to 180 days and corrects the error messages on
screen.
2021-05-08 14:55:30 +02:00
835abd6acb Merge pull request from dcooper16/fix_ossl30
Improve compatibility with OpenSSL 3.0
2021-04-09 10:44:12 +02:00