Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tls map #105

Merged
merged 3 commits into from
Feb 26, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion sources/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions sources/zsh/history.d/tls-map
Original file line number Diff line number Diff line change
@@ -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 0037
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