1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-07-15 02:01:57 +02:00
Commit Graph

3663 Commits

Author SHA1 Message Date
49d321cfbb Add "command not found" 2020-11-26 13:41:44 +01:00
191efddaee document changes from previous commits 2020-11-26 13:07:49 +01:00
0c20b21fc2 Better order, "command not found added" 2020-11-26 13:02:10 +01:00
cc40d2f559 Merge pull request from drwetter/new-templates
Update issue templates
2020-11-25 21:19:48 +01:00
b47bc9e871 Update bug_report.md 2020-11-25 21:19:26 +01:00
cab2ee7706 Update bug_report.md 2020-11-25 21:13:44 +01:00
0ed7ede6de Update other-issues---question.md 2020-11-25 21:12:47 +01:00
9ee939397e Merge remote-tracking branch 'origin/template_update' into new-templates 2020-11-25 21:11:18 +01:00
d1481616db Update issue templates
Use the new style suggested bu github
2020-11-25 21:07:54 +01:00
4a62b365a9 remove old universal template 2020-11-25 20:12:00 +01:00
21d0910b50 Merge pull request from drwetter/fix_1779_3.1dev
Fix reading SSLv2 socket
2020-11-24 21:58:05 +01:00
3a15383273 Fix reading SSLv2 socket
This fixes . There was a problem introduced in
3cd1273439 which counted
the size of the file name rather than the size of the
socket reply.

The helper function count_chars() is now not used anymore.
It maybe useful in the future though.
2020-11-20 11:23:20 +01:00
ac99fbe078 Merge pull request from drwetter/ca-update
Update certificate stores
2020-11-14 11:11:10 +01:00
2c4799e154 Merge pull request from dcooper16/html_colors
Make colors in HTML output more accessible
2020-11-14 11:10:47 +01:00
ce802634b6 Update remaining: Apple / Java / Microsoft
* also ca_hashes.txt

* Used Java SDK 15 instead of JRE 8
* Used Windows 20H2
* Java Keystore has added 5 certificates (90 --> 95)

Updated Readme and make it more reproducible
2020-11-13 22:01:17 +01:00
64cca8c03a Reintroduce unused print functions
This commit adds back in the print functions (tm_*, tmln_*, pr_*, prln_*) that are defined but not used.
2020-11-13 15:32:21 -05:00
7d183ba8a2 This commit changes the colors that are used when generating HTML so that they comply with the minimum requirements for contrast in the W3C's Web Content Accessibility Guidelines (WCAG). 2020-11-13 14:48:14 -05:00
a019b3d396 --overwrite / X-XSS-Protection 2020-11-13 19:26:47 +01:00
2098ea33c5 Merge pull request from drwetter/feature_overwrite
Introducing --overwrite option
2020-11-13 18:59:03 +01:00
9d0744e229 Introducing --overwrite option
Sometimes it is needed to overwrite existing output files.
This has been requested in the past (). For safety reasons
it was not implemented.

However I realized that it could be useful. It requires some
responsible usage though.

Code added, help() and manpages added -- warnings added too.
2020-11-13 16:05:53 +01:00
33ea2c710c updated Linux.pem + Mozilla.pem 2020-11-11 18:15:56 +01:00
65586311f6 Merge pull request from drwetter/fix_1768
Fix perl style variable in starttls_full_read()
2020-11-05 14:07:42 +01:00
19219dca2e Fix perl style variable in starttls_full_read()
This fixes 
2020-11-05 11:47:53 +01:00
b0c1f99923 Merge pull request from keisentraut/fix-gitignore-ignore-html-scan-results
.gitignore: ignore HTML scan results like example.com_p443-20201103-1…
2020-11-03 20:35:46 +01:00
da3be342bb .gitignore: ignore HTML scan results like example.com_p443-20201103-1037.html 2020-11-03 10:51:40 +01:00
498dc80885 Merge pull request from drwetter/http_header_color
Remove lite cyan color for http header
2020-11-03 08:51:35 +01:00
12bf2987a2 Remove lite cyan color for http header
While we are not sure yet how we deal with "other" colors and different
backgrounds users can have, I'll remove the light cyan here until we
settle on a standard. (other=not yellow,reds,brown,greens)
2020-11-03 08:44:40 +01:00
8d812f5dc0 Merge pull request from keisentraut/fix-1762
fix : Stop labeling X-XSS-Protection as green
2020-11-02 21:46:51 +01:00
5949a0465a fix : X-XSS-Protection is rated as INFO, fixed bug introduced in last commit 2020-11-02 19:58:49 +01:00
6f3c957fe7 fix : Stop labeling X-XSS-Protection as green 2020-10-30 22:45:16 +01:00
e3cd36a63b Merge pull request from keisentraut/fix-1757
fix : manpage: --c has one dash to much
2020-10-29 20:27:19 +01:00
d130d70e8b fix : manpage: --c has one dash to much 2020-10-29 20:05:44 +01:00
084a29409d Merge pull request from drwetter/fix_1754
Fix run_freak() when sslv2 server hello is empty
2020-10-28 11:43:30 +01:00
faad7128a7 If we are sure we don't have sslv2 we don't need to test any RC4 SSLv2 ciphers 2020-10-28 10:13:22 +01:00
3cd1273439 Address complaint by Travis
Despite the fact google doesn't support RC4 ciphers, testssl.sh called
sslv2_sockets(). Google answered with a >= TLS alert. Building a sum then
failed then in sslv2_sockets().

This fixes sslv2_sockets() and introduces count_chars() as a helper function
(tested also under old FreeBSD to make sure it works under MacOSX).
2020-10-28 10:06:39 +01:00
888f4f9c5a Fix run_freak() when sslv2 server hello is empty
This fixes  by avoiding further strings operations if the socket
reply is empty as bash 5.1 seems to have a problem with that. The fix
is done in sslv2_sockets() .

Also sslv2 is not being used in run_freak() if known not to be supported.
2020-10-27 22:36:42 +01:00
d531981e31 Merge pull request from drwetter/fix_1755
Fix issue with host certificate expiration
2020-10-26 21:45:41 +01:00
45b5d7a5d8 Fix issue with host certificate expiration
- wrong certificate name
- fault logic (if statements) -- intermediate section looks not affected
2020-10-26 21:32:09 +01:00
4af901683a Merge pull request from tosticated/ssl_renego_mod
Modified ssl renegotiation attempts to be variable, default 6.
2020-10-20 21:00:02 +02:00
45059ed769 Merge branch '3.1dev' into ssl_renego_mod 2020-10-20 19:40:58 +02:00
3e2d1b943d Fixed whitespaces/tabs 2020-10-20 13:03:30 +02:00
1049fe2330 Merge pull request from definity/3.1dev
Update man pages and CHANGELOG
2020-10-20 11:34:39 +02:00
j
a252eeb11d Updated changelog 2020-10-19 22:37:10 +02:00
j
e82d4e07ca Modified ssl renegotiation attempts to be variable, and default 6. 2020-10-19 22:12:59 +02:00
4d6dba79e6 Update man pages and CHANGELOG 2020-10-19 07:32:41 +00:00
e51301d9ee Merge pull request from definity/3.1dev
Added support for custom user agent
2020-10-17 17:04:49 +02:00
59c24e33b0 fixed missing <user agent> in help text 2020-10-16 19:29:54 +00:00
11b30b9335 Added support for custom user agent 2020-10-16 15:35:46 +00:00
b873441238 Merge pull request from horazont/feature/xmpp-sni
Force SNI to be the --xmpphost if passed
2020-10-16 09:34:45 +02:00
769837bdaf Force SNI to be the --xmpphost if passed
XMPP can be used with SNI in two contexts:

- Standard RFC 6120 STARTTLS-based connections; in that case, SNI
  is most likely to be ignored, as XMPP uses another way to signal
  the target domain name (via the @to attribute on the stream
  header, which is already set correctly by testssl.sh). However,
  setting SNI to a different value than the @to attribute may
  lead to confusion.

- XEP-0368 (XMPP-over-TLS) connections which omit the STARTTLS
  phase and go right for TLS (and inside that, XMPP). In that case,
  SNI is obviously required to be correct. XEP-0368 specifies that
  the SNI name MUST be the domain name of the service (not
  necessarily the host name of the endpoint, thanks to SRV
  records).

Hence, this patch forces the SNI name to be the --xmpphost value,
if --xmpphost is given. Note that it blatantly ignores whether
XMPP is used otherwise.
2020-10-15 21:54:38 +02:00