Skip to content

Instantly share code, notes, and snippets.

@ebroder
Created January 25, 2014 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebroder/70dc027013d6824dea35 to your computer and use it in GitHub Desktop.
Save ebroder/70dc027013d6824dea35 to your computer and use it in GitHub Desktop.
evan@caron:~/stripe/stripe-php (master)$ phpsh
Starting php
type 'h' or 'help' to see instructions & features
php> r ./lib/Stripe.php
Restarting php with extra includes: ['./lib/Stripe.php']
php> Stripe::$apiBase = ""; $requestor = new Stripe_ApiRequestor("notimportant"); print_r($requestor->request('get', 'https://www.howsmyssl.com/a/check', null))
Array
(
[0] => Array
(
[given_cipher_suites] => Array
(
[0] => TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
[1] => TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
[2] => TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA
[3] => TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA
[4] => TLS_DHE_RSA_WITH_AES_256_CBC_SHA
[5] => TLS_DHE_DSS_WITH_AES_256_CBC_SHA
[6] => TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA
[7] => TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA
[8] => TLS_ECDH_RSA_WITH_AES_256_CBC_SHA
[9] => TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA
[10] => TLS_RSA_WITH_AES_256_CBC_SHA
[11] => TLS_RSA_WITH_CAMELLIA_256_CBC_SHA
[12] => TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA
[13] => TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA
[14] => TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA
[15] => TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA
[16] => TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA
[17] => TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA
[18] => TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA
[19] => TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA
[20] => TLS_RSA_WITH_3DES_EDE_CBC_SHA
[21] => TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
[22] => TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
[23] => TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA
[24] => TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA
[25] => TLS_DHE_RSA_WITH_AES_128_CBC_SHA
[26] => TLS_DHE_DSS_WITH_AES_128_CBC_SHA
[27] => TLS_DHE_RSA_WITH_SEED_CBC_SHA
[28] => TLS_DHE_DSS_WITH_SEED_CBC_SHA
[29] => TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA
[30] => TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA
[31] => TLS_ECDH_RSA_WITH_AES_128_CBC_SHA
[32] => TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA
[33] => TLS_RSA_WITH_AES_128_CBC_SHA
[34] => TLS_RSA_WITH_SEED_CBC_SHA
[35] => TLS_RSA_WITH_CAMELLIA_128_CBC_SHA
[36] => TLS_ECDHE_RSA_WITH_RC4_128_SHA
[37] => TLS_ECDHE_ECDSA_WITH_RC4_128_SHA
[38] => TLS_ECDH_RSA_WITH_RC4_128_SHA
[39] => TLS_ECDH_ECDSA_WITH_RC4_128_SHA
[40] => TLS_RSA_WITH_RC4_128_SHA
[41] => TLS_RSA_WITH_RC4_128_MD5
[42] => TLS_DHE_RSA_WITH_DES_CBC_SHA
[43] => TLS_DHE_DSS_WITH_DES_CBC_SHA
[44] => TLS_RSA_WITH_DES_CBC_SHA
[45] => TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA
[46] => TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
[47] => TLS_RSA_EXPORT_WITH_DES40_CBC_SHA
[48] => TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5
[49] => TLS_RSA_EXPORT_WITH_RC4_40_MD5
[50] => TLS_EMPTY_RENEGOTIATION_INFO_SCSV
)
[ephemeral_keys_supported] => 1
[session_ticket_supported] =>
[tls_compression_supported] =>
[unknown_cipher_suite_supported] =>
[beast_vuln] =>
[able_to_detect_n_minus_one_splitting] =>
[insecure_cipher_suites] => Array
(
[TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA] => Array
(
[0] => uses keys smaller than 128 bits in its encryption
)
[TLS_DHE_DSS_WITH_DES_CBC_SHA] => Array
(
[0] => uses keys smaller than 128 bits in its encryption
)
[TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA] => Array
(
[0] => uses keys smaller than 128 bits in its encryption
)
[TLS_DHE_RSA_WITH_DES_CBC_SHA] => Array
(
[0] => uses keys smaller than 128 bits in its encryption
)
[TLS_RSA_EXPORT_WITH_DES40_CBC_SHA] => Array
(
[0] => uses keys smaller than 128 bits in its encryption
)
[TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5] => Array
(
[0] => uses keys smaller than 128 bits in its encryption
)
[TLS_RSA_EXPORT_WITH_RC4_40_MD5] => Array
(
[0] => uses keys smaller than 128 bits in its encryption
)
[TLS_RSA_WITH_DES_CBC_SHA] => Array
(
[0] => uses keys smaller than 128 bits in its encryption
)
)
[tls_version] => TLS 1.1
[rating] => Bad
)
[1] => notimportant
)
subprocess died with return code: 0
PHP died. Restarting php with extra includes: ['./lib/Stripe.php']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment