From ad1a7c5e19e28972b2ae7df04fd83159148de0d7 Mon Sep 17 00:00:00 2001 From: noraj Date: Sun, 26 Feb 2023 01:32:44 +0100 Subject: [PATCH 1/2] add tls-map --- sources/install.sh | 9 ++++++++- sources/zsh/history.d/tls-map | 11 +++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 sources/zsh/history.d/tls-map diff --git a/sources/install.sh b/sources/install.sh index 5a373998e..fe3ca53b2 100644 --- a/sources/install.sh +++ b/sources/install.sh @@ -3228,6 +3228,13 @@ function install_PassTheCert() { add-test-command "passthecert.py --help" } +function install_tls-map() { + colorecho "Installing TLS map" + gem install tls-map + add-history tls-map + add-test-command "tls-map --help" +} + # Package dedicated to the basic things the env needs function package_base() { update || exit @@ -3788,7 +3795,7 @@ function package_reverse() { # Package dedicated to attack crypto function package_crypto() { # install_rsactftool # attack rsa FIXME - echo "nothing to install" + install_tls-map # CLI & library for mapping TLS cipher algorithm names: IANA, OpenSSL, GnuTLS, NSS } # Package dedicated to SAST and DAST tools diff --git a/sources/zsh/history.d/tls-map b/sources/zsh/history.d/tls-map new file mode 100644 index 000000000..e02ea900d --- /dev/null +++ b/sources/zsh/history.d/tls-map @@ -0,0 +1,11 @@ +tls-map search gnutls RSA_ARCFOUR_128_SHA1 --output iana +tls-map search openssl AES128-SHA --output iana +tls-map search iana TLS_DH_RSA_WITH_AES_256_CBC_SHA --output codepoint +tls-map search codepoint 1303 +tls-map search nss TLS_AES_256_GCM_SHA384 +tls-map search --extended codepoint 0013 +tls-map search --extended codepoint 0013 --acronym +tls-map export /tmp/map.min.json json_compact +tls-map extract newwebsite.json ssllabs-scan +tls-map extract test/file_sample/testssl.json testssl --hide-weak +tls-map extract test/file_sample/sslyze.json sslyze --only-weak From b80fb9cce4e2f1f7634c29b479c10627bc5a55b2 Mon Sep 17 00:00:00 2001 From: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> Date: Sun, 26 Feb 2023 01:53:39 +0100 Subject: [PATCH 2/2] trigger dev CI --- sources/zsh/history.d/tls-map | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/zsh/history.d/tls-map b/sources/zsh/history.d/tls-map index e02ea900d..be5053507 100644 --- a/sources/zsh/history.d/tls-map +++ b/sources/zsh/history.d/tls-map @@ -3,7 +3,7 @@ tls-map search openssl AES128-SHA --output iana tls-map search iana TLS_DH_RSA_WITH_AES_256_CBC_SHA --output codepoint tls-map search codepoint 1303 tls-map search nss TLS_AES_256_GCM_SHA384 -tls-map search --extended codepoint 0013 +tls-map search --extended codepoint 0037 tls-map search --extended codepoint 0013 --acronym tls-map export /tmp/map.min.json json_compact tls-map extract newwebsite.json ssllabs-scan