Skip to content

Instantly share code, notes, and snippets.

@adifire
Created November 15, 2019 19:13
Show Gist options
  • Save adifire/9106d4bc8a0bb408d11522a556f6b2a0 to your computer and use it in GitHub Desktop.
Save adifire/9106d4bc8a0bb408d11522a556f6b2a0 to your computer and use it in GitHub Desktop.
Sample enum cipher output after change
{
"scripts": [
{
"id": "ssl-enum-ciphers",
"output": "\n TLSv1.0: \n ciphers: \n TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (secp256r1) - A\n TLS_RSA_WITH_AES_256_CBC_SHA (rsa 2048) - A\n TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (secp256r1) - A\n TLS_RSA_WITH_AES_128_CBC_SHA (rsa 2048) - A\n compressors: \n NULL\n cipher preference: server\n TLSv1.1: \n ciphers: \n TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (secp256r1) - A\n TLS_RSA_WITH_AES_256_CBC_SHA (rsa 2048) - A\n TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (secp256r1) - A\n TLS_RSA_WITH_AES_128_CBC_SHA (rsa 2048) - A\n compressors: \n NULL\n cipher preference: server\n TLSv1.2: \n ciphers: \n TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (secp256r1) - A\n TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (secp256r1) - A\n TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 (secp256r1) - A\n TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 (secp256r1) - A\n TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (secp256r1) - A\n TLS_RSA_WITH_AES_256_GCM_SHA384 (rsa 2048) - A\n TLS_RSA_WITH_AES_256_CBC_SHA256 (rsa 2048) - A\n TLS_RSA_WITH_AES_256_CBC_SHA (rsa 2048) - A\n TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (secp256r1) - A\n TLS_RSA_WITH_AES_128_GCM_SHA256 (rsa 2048) - A\n TLS_RSA_WITH_AES_128_CBC_SHA256 (rsa 2048) - A\n TLS_RSA_WITH_AES_128_CBC_SHA (rsa 2048) - A\n compressors: \n NULL\n cipher preference: server\n least strength: A",
"tables": [
{
"elements": [
{
"value": "server",
"key": "cipher preference"
}
],
"key": "TLSv1.0",
"table": [
{
"elements": null,
"key": "ciphers",
"table": [
{
"elements": [
{
"value": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "secp256r1",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_RSA_WITH_AES_256_CBC_SHA",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "rsa 2048",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "secp256r1",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_RSA_WITH_AES_128_CBC_SHA",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "rsa 2048",
"key": "kex_info"
}
],
"key": "",
"table": null
}
]
},
{
"elements": [
{
"value": "NULL",
"key": ""
}
],
"key": "compressors",
"table": null
}
]
},
{
"elements": [
{
"value": "server",
"key": "cipher preference"
}
],
"key": "TLSv1.1",
"table": [
{
"elements": null,
"key": "ciphers",
"table": [
{
"elements": [
{
"value": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "secp256r1",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_RSA_WITH_AES_256_CBC_SHA",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "rsa 2048",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "secp256r1",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_RSA_WITH_AES_128_CBC_SHA",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "rsa 2048",
"key": "kex_info"
}
],
"key": "",
"table": null
}
]
},
{
"elements": [
{
"value": "NULL",
"key": ""
}
],
"key": "compressors",
"table": null
}
]
},
{
"elements": [
{
"value": "server",
"key": "cipher preference"
}
],
"key": "TLSv1.2",
"table": [
{
"elements": null,
"key": "ciphers",
"table": [
{
"elements": [
{
"value": "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "secp256r1",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "secp256r1",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "secp256r1",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "secp256r1",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "secp256r1",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_RSA_WITH_AES_256_GCM_SHA384",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "rsa 2048",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_RSA_WITH_AES_256_CBC_SHA256",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "rsa 2048",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_RSA_WITH_AES_256_CBC_SHA",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "rsa 2048",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "secp256r1",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_RSA_WITH_AES_128_GCM_SHA256",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "rsa 2048",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_RSA_WITH_AES_128_CBC_SHA256",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "rsa 2048",
"key": "kex_info"
}
],
"key": "",
"table": null
},
{
"elements": [
{
"value": "TLS_RSA_WITH_AES_128_CBC_SHA",
"key": "name"
},
{
"value": "A",
"key": "strength"
},
{
"value": "rsa 2048",
"key": "kex_info"
}
],
"key": "",
"table": null
}
]
},
{
"elements": [
{
"value": "NULL",
"key": ""
}
],
"key": "compressors",
"table": null
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment