1
0
mirror of https://github.com/chris124567/hulu synced 2024-11-22 16:17:30 +00:00
hulu/widevine/consts.go
Christopher Tarry fef9153a12 initial commit
2021-11-20 13:53:30 -05:00

39 lines
9.2 KiB
Go

package widevine
// Keys from Android SDK built for x86
// I found these via Github search. I lack the expertise involved in
// extracting them. From what I understand, it usually involves TrustZone
// exploits or whatever the analogous system for the device is.
const DefaultPrivateKey = `
-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEA4sUKDpvMG/idF8oCH5AVSwFd5Mk+rEwOBsLZMYdliXWe1hn9
mdE6u9pjsr+bLrZjlKxMFqPPxbIUcC1Ii7BFSje2Fd8kxnaIprQWxDPgK+NSSx7v
Un452TyB1L9lx39ZBt0PlRfwjkCodX+I9y+oBga73NRh7hPbtLzXe/r/ubFBaEu+
aRkDZBwYPqHgH1RoFLuyFNMjfqGcPosGxceDtvPysmBxB93Hk2evml5fjdYGg6tx
z510g+XFPDFv7GSy1KuWqit83MqzPls9qAQMkwUc05ggjDhGCKW4/p97fn23WDFE
3TzSSsQvyJLKA3s9oJbtJCD/gOHYqDvnWn8zPwIDAQABAoIBAQDCWe1Mp+o+7sx0
XwWC15HoPruiIXg9YtGCqexLrqcvMEd5Z70Z32BfL8TSpbTyTA78lM6BeNPRs9Yg
bi8GyYQZH7ZG+IAkN+LWPPJmJa+y7ZjSGSkzoksiC+GZ3I/2cwZyA3Qfa+0XfgLi
8PMKJyXyREMt+DgWO57JQC/OakhRdCR19mM6NKd+ynd/IEz/NIbjMLDVKwW8HEPx
N3r5CU9O96nr62DI68KVj3jwUR3cDi/5xfhosYhCQjHJuobNbeFR18dY2nQNLWYd
S0wtskla1fl9eYHwYAzwru4wHT4WJC7+V4pscfCI0YZB6PslxDKrv73l5H1tz4cf
Vy58NRSBAoGBAPSmjoVtQzTvQ6PZIs81SF1ulJI9kUpyFaBoSSgt+2ZkeNtF6Hih
Zm7OVJ9wg9sfjpB3SFBUjuhXz/ts/t6dkA2PgCbrvhBMRKSGbfyhhtM2gRf002I4
bJ7Y0C/ont4WzC/XbXEkAmh+fG2/JRvbdVQaIdyS6MmVHtCtRsHEQZS5AoGBAO1K
IXOKAFA+320+Hkbqskfevmxrv+JHIdetliaREZwQH+VYUUM8u5/Kt3oyMat+mH90
rZOKQK2zM8cz4tKclTUT54nrtICxeo6UHVc56FqXZ6sVvVgm8Cnvt1md4XwG4FwQ
r/OlaM6Hr5HRf8dkzuzqm4ZQYRHGzZ6AMphj8Xu3AoGAdmo7p5dIJVH98kuCDrsi
iJ6iaNpF/buUfiyb5EfFXD0bRj7jE6hDdTSHPxjtqVzv2zrxFHipJwqBz5dlEYlA
FWA0ziHiv+66dsveZp4kLQ0/lMHaorre0E/vDJFSe/qa4DksbsvYIo2+WjxfkMk7
U/bGFwZAiHmWDbkg+16rw3kCgYEAyyodWf9eJVavlakJ404vNrnP8KSQtfyRTUii
toKewTBNHuBvM1JckoPOdCFlxZ+ukfIka56DojU8r+IM4qaOWdOg+sWE1mses9S9
CmHaPzZC3IjQhRlRp5ZHNcOnu7lnf2wKOmH1Sl+CQydMcDwvr0lvv6AyfDXq9zps
F2365CECgYEAmYgs/qwnh9m0aGDw/ZGrASoE0TxlpizPvsVDGx9t9UGC2Z+5QvAE
ZcQeKoLCbktr0BnRLI+W1g+KpXQGcnSF9VX/qwUlf72XA6C6kobQvW+Yd/H/IN5d
jPqoL/m41rRzm+J+9/Tfc8Aiy1kkllUYnVJdC5QLAIswuhI8lkaFTN4=
-----END RSA PRIVATE KEY-----
`
var DefaultClientID = []byte{8, 1, 18, 237, 9, 10, 176, 2, 8, 2, 18, 16, 247, 149, 61, 229, 178, 130, 18, 227, 78, 162, 65, 84, 240, 234, 99, 108, 24, 233, 237, 172, 245, 5, 34, 142, 2, 48, 130, 1, 10, 2, 130, 1, 1, 0, 226, 197, 10, 14, 155, 204, 27, 248, 157, 23, 202, 2, 31, 144, 21, 75, 1, 93, 228, 201, 62, 172, 76, 14, 6, 194, 217, 49, 135, 101, 137, 117, 158, 214, 25, 253, 153, 209, 58, 187, 218, 99, 178, 191, 155, 46, 182, 99, 148, 172, 76, 22, 163, 207, 197, 178, 20, 112, 45, 72, 139, 176, 69, 74, 55, 182, 21, 223, 36, 198, 118, 136, 166, 180, 22, 196, 51, 224, 43, 227, 82, 75, 30, 239, 82, 126, 57, 217, 60, 129, 212, 191, 101, 199, 127, 89, 6, 221, 15, 149, 23, 240, 142, 64, 168, 117, 127, 136, 247, 47, 168, 6, 6, 187, 220, 212, 97, 238, 19, 219, 180, 188, 215, 123, 250, 255, 185, 177, 65, 104, 75, 190, 105, 25, 3, 100, 28, 24, 62, 161, 224, 31, 84, 104, 20, 187, 178, 20, 211, 35, 126, 161, 156, 62, 139, 6, 197, 199, 131, 182, 243, 242, 178, 96, 113, 7, 221, 199, 147, 103, 175, 154, 94, 95, 141, 214, 6, 131, 171, 113, 207, 157, 116, 131, 229, 197, 60, 49, 111, 236, 100, 178, 212, 171, 150, 170, 43, 124, 220, 202, 179, 62, 91, 61, 168, 4, 12, 147, 5, 28, 211, 152, 32, 140, 56, 70, 8, 165, 184, 254, 159, 123, 126, 125, 183, 88, 49, 68, 221, 60, 210, 74, 196, 47, 200, 146, 202, 3, 123, 61, 160, 150, 237, 36, 32, 255, 128, 225, 216, 168, 59, 231, 90, 127, 51, 63, 2, 3, 1, 0, 1, 40, 240, 34, 72, 1, 18, 128, 2, 181, 69, 135, 13, 36, 72, 2, 2, 176, 112, 152, 226, 24, 117, 128, 238, 225, 194, 114, 8, 188, 180, 141, 162, 26, 161, 183, 202, 49, 147, 218, 1, 14, 207, 11, 125, 231, 24, 127, 10, 115, 147, 50, 61, 106, 13, 38, 240, 103, 0, 123, 75, 241, 234, 38, 11, 231, 115, 202, 98, 108, 161, 63, 250, 36, 2, 164, 18, 176, 208, 79, 130, 11, 48, 125, 118, 127, 0, 60, 69, 146, 90, 115, 83, 94, 6, 75, 201, 83, 24, 13, 146, 193, 185, 192, 51, 90, 159, 92, 100, 180, 221, 0, 52, 238, 87, 118, 248, 118, 12, 10, 17, 215, 221, 187, 51, 97, 88, 129, 20, 101, 222, 109, 13, 143, 175, 231, 182, 40, 244, 155, 184, 103, 136, 83, 218, 66, 71, 52, 241, 23, 51, 254, 103, 70, 28, 40, 194, 255, 121, 80, 157, 82, 23, 39, 124, 215, 136, 124, 201, 225, 190, 206, 164, 226, 20, 7, 221, 83, 94, 218, 57, 9, 117, 238, 140, 109, 81, 13, 156, 77, 13, 48, 165, 153, 72, 179, 42, 38, 61, 146, 233, 203, 159, 27, 38, 41, 64, 88, 241, 240, 177, 17, 87, 14, 73, 104, 117, 126, 82, 184, 192, 44, 104, 112, 234, 153, 199, 154, 57, 53, 150, 187, 248, 44, 48, 130, 220, 36, 177, 193, 152, 136, 71, 86, 95, 131, 253, 140, 9, 124, 36, 219, 137, 187, 228, 115, 46, 20, 197, 102, 29, 6, 89, 242, 34, 26, 180, 5, 10, 174, 2, 8, 1, 18, 16, 105, 227, 232, 152, 187, 44, 63, 184, 163, 179, 40, 29, 132, 248, 140, 20, 24, 142, 213, 190, 145, 5, 34, 142, 2, 48, 130, 1, 10, 2, 130, 1, 1, 0, 216, 246, 233, 181, 137, 240, 81, 32, 233, 164, 62, 208, 217, 78, 161, 254, 9, 149, 1, 109, 189, 30, 43, 64, 167, 220, 209, 197, 127, 195, 5, 80, 60, 207, 19, 63, 158, 152, 175, 206, 78, 230, 255, 132, 220, 66, 36, 38, 168, 255, 250, 79, 228, 191, 45, 68, 213, 15, 20, 58, 235, 188, 32, 76, 163, 180, 103, 250, 37, 27, 250, 96, 63, 219, 37, 226, 39, 168, 175, 169, 195, 125, 10, 239, 98, 230, 163, 148, 215, 40, 40, 159, 212, 150, 101, 27, 46, 140, 81, 65, 242, 124, 85, 173, 230, 57, 47, 55, 170, 211, 111, 55, 206, 125, 66, 131, 91, 45, 113, 126, 45, 56, 116, 251, 186, 211, 243, 20, 111, 209, 120, 49, 80, 183, 67, 191, 24, 185, 115, 87, 0, 116, 119, 91, 39, 221, 34, 140, 59, 133, 203, 142, 22, 93, 157, 202, 237, 23, 216, 229, 142, 152, 59, 198, 51, 8, 150, 117, 137, 82, 172, 67, 163, 180, 208, 145, 60, 173, 38, 101, 37, 210, 71, 12, 237, 185, 221, 4, 183, 171, 1, 210, 69, 25, 165, 220, 234, 132, 152, 225, 227, 114, 252, 129, 131, 150, 226, 194, 65, 29, 202, 100, 68, 44, 203, 249, 139, 121, 93, 96, 129, 14, 56, 48, 90, 251, 92, 227, 62, 173, 223, 184, 255, 125, 120, 171, 247, 94, 65, 184, 199, 170, 53, 133, 185, 90, 252, 136, 134, 138, 110, 175, 145, 235, 116, 161, 2, 3, 1, 0, 1, 40, 240, 34, 18, 128, 3, 34, 139, 99, 48, 235, 63, 144, 179, 86, 239, 191, 17, 146, 182, 39, 189, 182, 151, 32, 160, 237, 174, 2, 222, 89, 190, 253, 2, 13, 123, 235, 22, 92, 39, 73, 186, 62, 169, 30, 245, 70, 237, 136, 149, 149, 149, 73, 179, 121, 93, 132, 136, 15, 7, 48, 7, 49, 227, 99, 202, 205, 175, 119, 224, 177, 123, 82, 38, 220, 184, 219, 151, 99, 53, 11, 69, 231, 226, 118, 142, 176, 33, 127, 116, 54, 155, 177, 8, 229, 170, 33, 100, 106, 67, 216, 77, 28, 175, 231, 85, 143, 218, 60, 199, 75, 137, 71, 99, 86, 71, 193, 85, 161, 84, 18, 93, 154, 90, 119, 115, 63, 225, 12, 193, 44, 219, 104, 254, 220, 254, 80, 172, 153, 193, 174, 210, 115, 247, 147, 65, 205, 190, 101, 192, 210, 221, 145, 14, 222, 81, 145, 176, 127, 58, 224, 167, 255, 112, 65, 175, 37, 16, 65, 169, 202, 73, 92, 167, 198, 248, 139, 106, 17, 109, 64, 0, 250, 109, 142, 232, 32, 206, 102, 68, 205, 26, 185, 197, 49, 159, 234, 138, 254, 109, 122, 202, 140, 42, 65, 75, 209, 181, 72, 236, 175, 8, 209, 117, 147, 156, 250, 148, 111, 10, 177, 120, 96, 67, 18, 250, 0, 49, 204, 162, 233, 113, 189, 66, 34, 135, 35, 216, 228, 202, 98, 153, 213, 223, 81, 209, 16, 228, 112, 54, 18, 163, 98, 53, 83, 72, 59, 138, 143, 211, 78, 227, 91, 157, 114, 1, 228, 225, 58, 188, 184, 39, 109, 177, 179, 196, 93, 144, 128, 165, 56, 96, 26, 184, 178, 37, 210, 82, 192, 225, 249, 76, 205, 111, 149, 125, 9, 121, 197, 140, 79, 208, 78, 109, 186, 25, 244, 135, 239, 56, 224, 59, 37, 83, 198, 69, 237, 77, 93, 83, 100, 41, 172, 128, 41, 125, 245, 195, 247, 8, 0, 0, 41, 54, 233, 24, 32, 203, 199, 189, 235, 63, 34, 243, 175, 254, 97, 140, 153, 66, 71, 61, 132, 135, 66, 0, 68, 107, 128, 70, 2, 17, 176, 114, 204, 227, 107, 117, 16, 236, 212, 202, 210, 253, 200, 117, 154, 133, 121, 164, 155, 250, 220, 18, 10, 189, 1, 198, 188, 185, 26, 22, 10, 12, 99, 111, 109, 112, 97, 110, 121, 95, 110, 97, 109, 101, 18, 6, 71, 111, 111, 103, 108, 101, 26, 39, 10, 10, 109, 111, 100, 101, 108, 95, 110, 97, 109, 101, 18, 25, 65, 110, 100, 114, 111, 105, 100, 32, 83, 68, 75, 32, 98, 117, 105, 108, 116, 32, 102, 111, 114, 32, 120, 56, 54, 26, 24, 10, 17, 97, 114, 99, 104, 105, 116, 101, 99, 116, 117, 114, 101, 95, 110, 97, 109, 101, 18, 3, 120, 56, 54, 26, 26, 10, 11, 100, 101, 118, 105, 99, 101, 95, 110, 97, 109, 101, 18, 11, 103, 101, 110, 101, 114, 105, 99, 95, 120, 56, 54, 26, 36, 10, 12, 112, 114, 111, 100, 117, 99, 116, 95, 110, 97, 109, 101, 18, 20, 115, 100, 107, 95, 103, 111, 111, 103, 108, 101, 95, 112, 104, 111, 110, 101, 95, 120, 56, 54, 26, 91, 10, 10, 98, 117, 105, 108, 100, 95, 105, 110, 102, 111, 18, 77, 103, 111, 111, 103, 108, 101, 47, 115, 100, 107, 95, 103, 111, 111, 103, 108, 101, 95, 112, 104, 111, 110, 101, 95, 120, 56, 54, 47, 103, 101, 110, 101, 114, 105, 99, 95, 120, 56, 54, 58, 55, 46, 49, 46, 49, 47, 78, 89, 67, 47, 53, 52, 54, 52, 56, 57, 55, 58, 117, 115, 101, 114, 100, 101, 98, 117, 103, 47, 116, 101, 115, 116, 45, 107, 101, 121, 115, 26, 45, 10, 9, 100, 101, 118, 105, 99, 101, 95, 105, 100, 18, 32, 122, 100, 102, 68, 67, 80, 72, 97, 72, 114, 66, 81, 97, 107, 113, 75, 104, 69, 99, 70, 113, 88, 105, 76, 119, 98, 98, 108, 74, 119, 103, 0, 26, 38, 10, 20, 119, 105, 100, 101, 118, 105, 110, 101, 95, 99, 100, 109, 95, 118, 101, 114, 115, 105, 111, 110, 18, 14, 118, 52, 46, 49, 46, 48, 45, 97, 110, 100, 114, 111, 105, 100, 26, 36, 10, 31, 111, 101, 109, 95, 99, 114, 121, 112, 116, 111, 95, 115, 101, 99, 117, 114, 105, 116, 121, 95, 112, 97, 116, 99, 104, 95, 108, 101, 118, 101, 108, 18, 1, 48, 50, 8, 16, 1, 32, 0, 40, 11, 48, 0}