tlsenum is a command-line TLS enumeration tool that attempts to enumerate what TLS cipher suites a server supports and list them in order of priority.
It works by sending out sending out TLS ClientHello messages and parsing the ServerHello responses from the server.
tlsenum assumes that the server decides the preferred cipher suite, ignoring the preference indicated by the client. While this is not strictly guaranteed by the TLS specification, it seems like a fairly common implementation detail. It also performs various tests that checks things like supported versions of TLS and support for TLS-level compression.