mirror of
https://github.com/chris124567/hulu
synced 2024-11-23 00:27:31 +00:00
39 lines
9.2 KiB
Go
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
|
||
|
Vy58NRSBAoGBAPSmjoVtQzTvQ6PZIs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, 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
|