|
|
@ -29,6 +29,7 @@ ksapp/client/package/renew url script-request-header https://raw.githubuserconte |
|
|
|
hostname = api.kuaisho*.com |
|
|
|
hostname = open.kuaisho*.com |
|
|
|
*/ |
|
|
|
//process.env.ksCookie='kuaishou.api_st=Cg9rdWFpc2hvdS5hcGkuc3QSsAGG1oxr0FVbjiB7rZ26S0tXpqgBp7OOD-Hu4UDqXXZpxrQAu_KPAW-0mT4ButiQAttu--vGx3fo1r_R1wLWPk2_6oIItncmzOnxBPOPsEVeJc_8ITt8TLpBccBT2iInQJLjmntLviM_4oD7SYS_AUNQ0yL486x7ThkdCbc1p0pZlvNqPafOOtPfG8f_FFEoWi94WPqkQQH1oy5FmcJIBelXfj7uoTD2G3dc-sE0L6_JvRoSXsvyHSXyTLeKCF7lcu0AFTTRIiCuTPTk7ivSs4YmL7OnrOkNnmL0EWcabAvrMa52T63NQSgFMAE;did=24773EB5-CA48-4211-8307-B5D6E4DE8ACB;'
|
|
|
|
const _0x2fc758 = _0x42bc; |
|
|
|
(function(_0x308438, _0x45a55d) { |
|
|
|
const _0x542a0d = _0x42bc, |
|
|
@ -501,7 +502,8 @@ class _0x58e1a2 { |
|
|
|
} |
|
|
|
}; |
|
|
|
let _0x295a88 = _0x180e9c(0x599) + _0x180e9c(0x2ff) + _0x180e9c(0x45d) + _0x180e9c(0x550) + _0x180e9c(0x221) + _0x180e9c(0x39f) + _0x180e9c(0x2a7) + '\x76\x31\x2f\x72\x65' + '\x77\x61\x72\x64\x2f' + '\x61\x64\x3f\x6b\x70' + _0x180e9c(0x217) + '\x52\x4f\x49\x44\x5f' + _0x180e9c(0x390) + _0x180e9c(0x29a) + _0x180e9c(0x5f6) + _0x180e9c(0x3eb), |
|
|
|
_0x56e039 = _0x180e9c(0x4ca) + _0x180e9c(0x2e2) + _0x180e9c(0x20b) + _0x180e9c(0x328) + _0x180e9c(0x31c) + _0x180e9c(0x4b0) + _0x180e9c(0x425) + _0x180e9c(0x2b4) + '\x67\x6a\x41\x77\x25' + '\x32\x42\x74\x44\x7a' + '\x31\x6d\x5a\x56\x57' + '\x65\x74\x41\x70\x48' + _0x180e9c(0x270) + _0x180e9c(0x42a) + _0x180e9c(0x388) + _0x180e9c(0x393) + _0x180e9c(0x520) + _0x180e9c(0x579) + _0x180e9c(0x1e4) + '\x4d\x7a\x53\x72\x35' + _0x180e9c(0x482) + _0x180e9c(0x3e0) + _0x180e9c(0x56c) + '\x73\x6c\x4f\x6f\x30' + _0x180e9c(0x301) + '\x57\x61\x6f\x47\x58' + _0x180e9c(0x34a) + _0x180e9c(0x560) + _0x180e9c(0x5b9) + _0x180e9c(0x635) + _0x180e9c(0x4aa) + _0x180e9c(0x36e) + _0x180e9c(0x5e0) + _0x180e9c(0x554) + _0x180e9c(0x312) + _0x180e9c(0x253) + _0x180e9c(0x548) + '\x6c\x54\x4b\x68\x6d' + _0x180e9c(0x5be) + _0x180e9c(0x1f1) + '\x69\x76\x47\x74\x63' + '\x50\x36\x6f\x37\x64' + _0x180e9c(0x206) + '\x6e\x33\x4c\x33\x61' + _0x180e9c(0x4d1) + _0x180e9c(0x277) + _0x180e9c(0x42b) + '\x67\x36\x68\x74\x39' + '\x31\x4c\x77\x6b\x30' + _0x180e9c(0x5d1) + _0x180e9c(0x445) + _0x180e9c(0x583) + _0x180e9c(0x26c) + _0x180e9c(0x4cc) + '\x42\x30\x67\x6e\x78' + _0x180e9c(0x676) + _0x180e9c(0x4c2) + _0x180e9c(0x3c4) + '\x48\x6b\x37\x69\x77' + '\x64\x36\x5a\x56\x37' + _0x180e9c(0x36c) + _0x180e9c(0x5df) + '\x47\x41\x25\x32\x42' + '\x65\x46\x53\x71\x41' + '\x39\x52\x68\x30\x66' + _0x180e9c(0x69c) + '\x55\x38\x4b\x4a\x78' + _0x180e9c(0x24e) + _0x180e9c(0x3ad) + _0x180e9c(0x315) + _0x180e9c(0x5e5) + '\x44\x55\x70\x43\x6b' + '\x62\x30\x48\x6d\x57' + _0x180e9c(0x365) + '\x76\x36\x32\x67\x71' + _0x180e9c(0x65b) + '\x65\x76\x79\x33\x54' + _0x180e9c(0x2ab) + _0x180e9c(0x5a8) + _0x180e9c(0x699) + _0x180e9c(0x329) + _0x180e9c(0x58d) + _0x180e9c(0x2b6) + _0x180e9c(0x3a8) + '\x66\x67\x6c\x68\x6f' + _0x180e9c(0x347) + '\x51\x61\x71\x4c\x53' + '\x72\x77\x58\x64\x33' + _0x180e9c(0x455) + '\x6b\x4d\x71\x30\x31' + _0x180e9c(0x267) + _0x180e9c(0x5bf) + _0x180e9c(0x6e9) + _0x180e9c(0x621) + _0x180e9c(0x52b) + _0x180e9c(0x27e) + _0x180e9c(0x1e8) + _0x180e9c(0x505) + _0x180e9c(0x4d2) + _0x180e9c(0x62f) + _0x180e9c(0x2a6) + _0x180e9c(0x591) + _0x180e9c(0x511) + _0x180e9c(0x3ee) + '\x61\x25\x32\x46\x34' + _0x180e9c(0x2b8) + '\x32\x42\x43\x59\x74' + _0x180e9c(0x38a) + _0x180e9c(0x2c5) + _0x180e9c(0x5ef) + _0x180e9c(0x2af) + _0x180e9c(0x2f5) + _0x180e9c(0x47f) + _0x180e9c(0x4ab) + _0x180e9c(0x4bc) + _0x180e9c(0x39e) + _0x180e9c(0x698) + _0x180e9c(0x688) + _0x180e9c(0x657) + _0x180e9c(0x296) + _0x180e9c(0x604) + _0x180e9c(0x441) + _0x180e9c(0x3bb) + _0x180e9c(0x3b9) + _0x180e9c(0x5ad) + '\x32\x42\x4f\x30\x51' + _0x180e9c(0x49b) + _0x180e9c(0x5d7) + '\x31\x51\x71\x74\x6d' + _0x180e9c(0x1ee) + _0x180e9c(0x24b) + _0x180e9c(0x447) + '\x62\x6c\x4a\x6b\x31' + _0x180e9c(0x22a) + _0x180e9c(0x2f0) + _0x180e9c(0x2ce) + _0x180e9c(0x66b) + '\x32\x42\x4d\x7a\x74' + '\x48\x33\x4f\x6a\x36' + _0x180e9c(0x575) + _0x180e9c(0x31f) + '\x78\x25\x32\x42\x44' + _0x180e9c(0x58c) + _0x180e9c(0x1d6) + _0x180e9c(0x335) + '\x6d\x72\x47\x70\x77' + _0x180e9c(0x69d) + _0x180e9c(0x4b7) + '\x6d\x44\x62\x74\x25' + '\x32\x46\x68\x65\x31' + _0x180e9c(0x2a1) + _0x180e9c(0x25f) + _0x180e9c(0x5b2) + _0x180e9c(0x476) + '\x50\x61\x45\x4b\x62' + '\x75\x53\x6b\x4d\x34' + _0x180e9c(0x3e7) + _0x180e9c(0x1fc) + _0x180e9c(0x4c7) + '\x69\x31\x79\x59\x34' + '\x74\x58\x30\x32\x36' + '\x59\x75\x62\x79\x51' + _0x180e9c(0x22c) + '\x53\x76\x71\x33\x6f' + _0x180e9c(0x27d) + _0x180e9c(0x46c) + _0x180e9c(0x457) + _0x180e9c(0x32b) + _0x180e9c(0x2d3) + _0x180e9c(0x417) + '\x6d\x39\x6d\x25\x32' + _0x180e9c(0x5fc) + _0x180e9c(0x4ed) + _0x180e9c(0x380) + _0x180e9c(0x316) + '\x66\x68\x69\x54\x63' + _0x180e9c(0x400) + _0x180e9c(0x3bd) + _0x180e9c(0x4f6) + _0x180e9c(0x274) + _0x180e9c(0x547) + _0x180e9c(0x40b) + '\x4e\x31\x6c\x42\x58' + '\x79\x43\x32\x64\x48' + _0x180e9c(0x3a5) + _0x180e9c(0x566) + _0x180e9c(0x4ea) + _0x180e9c(0x41b) + '\x62\x45\x6a\x51\x41' + _0x180e9c(0x4bb) + _0x180e9c(0x22f) + _0x180e9c(0x477) + _0x180e9c(0x5e3) + _0x180e9c(0x38f) + '\x55\x68\x50\x65\x4f' + _0x180e9c(0x3c3) + _0x180e9c(0x21a) + '\x6c\x67\x34\x37\x66' + _0x180e9c(0x1d7) + '\x67\x6e\x3d\x35\x61' + (_0x180e9c(0x429) + _0x180e9c(0x2d6) + _0x180e9c(0x4c1) + '\x32\x36\x39\x33\x65' + _0x180e9c(0x216) + _0x180e9c(0x67c) + '\x38\x30\x35\x66\x34' + _0x180e9c(0x481) + _0x180e9c(0x569) + _0x180e9c(0x6e5) + _0x180e9c(0x218) + _0x180e9c(0x611) + '\x36\x61'), |
|
|
|
// _0x56e039 = _0x180e9c(0x4ca) + _0x180e9c(0x2e2) + _0x180e9c(0x20b) + _0x180e9c(0x328) + _0x180e9c(0x31c) + _0x180e9c(0x4b0) + _0x180e9c(0x425) + _0x180e9c(0x2b4) + '\x67\x6a\x41\x77\x25' + '\x32\x42\x74\x44\x7a' + '\x31\x6d\x5a\x56\x57' + '\x65\x74\x41\x70\x48' + _0x180e9c(0x270) + _0x180e9c(0x42a) + _0x180e9c(0x388) + _0x180e9c(0x393) + _0x180e9c(0x520) + _0x180e9c(0x579) + _0x180e9c(0x1e4) + '\x4d\x7a\x53\x72\x35' + _0x180e9c(0x482) + _0x180e9c(0x3e0) + _0x180e9c(0x56c) + '\x73\x6c\x4f\x6f\x30' + _0x180e9c(0x301) + '\x57\x61\x6f\x47\x58' + _0x180e9c(0x34a) + _0x180e9c(0x560) + _0x180e9c(0x5b9) + _0x180e9c(0x635) + _0x180e9c(0x4aa) + _0x180e9c(0x36e) + _0x180e9c(0x5e0) + _0x180e9c(0x554) + _0x180e9c(0x312) + _0x180e9c(0x253) + _0x180e9c(0x548) + '\x6c\x54\x4b\x68\x6d' + _0x180e9c(0x5be) + _0x180e9c(0x1f1) + '\x69\x76\x47\x74\x63' + '\x50\x36\x6f\x37\x64' + _0x180e9c(0x206) + '\x6e\x33\x4c\x33\x61' + _0x180e9c(0x4d1) + _0x180e9c(0x277) + _0x180e9c(0x42b) + '\x67\x36\x68\x74\x39' + '\x31\x4c\x77\x6b\x30' + _0x180e9c(0x5d1) + _0x180e9c(0x445) + _0x180e9c(0x583) + _0x180e9c(0x26c) + _0x180e9c(0x4cc) + '\x42\x30\x67\x6e\x78' + _0x180e9c(0x676) + _0x180e9c(0x4c2) + _0x180e9c(0x3c4) + '\x48\x6b\x37\x69\x77' + '\x64\x36\x5a\x56\x37' + _0x180e9c(0x36c) + _0x180e9c(0x5df) + '\x47\x41\x25\x32\x42' + '\x65\x46\x53\x71\x41' + '\x39\x52\x68\x30\x66' + _0x180e9c(0x69c) + '\x55\x38\x4b\x4a\x78' + _0x180e9c(0x24e) + _0x180e9c(0x3ad) + _0x180e9c(0x315) + _0x180e9c(0x5e5) + '\x44\x55\x70\x43\x6b' + '\x62\x30\x48\x6d\x57' + _0x180e9c(0x365) + '\x76\x36\x32\x67\x71' + _0x180e9c(0x65b) + '\x65\x76\x79\x33\x54' + _0x180e9c(0x2ab) + _0x180e9c(0x5a8) + _0x180e9c(0x699) + _0x180e9c(0x329) + _0x180e9c(0x58d) + _0x180e9c(0x2b6) + _0x180e9c(0x3a8) + '\x66\x67\x6c\x68\x6f' + _0x180e9c(0x347) + '\x51\x61\x71\x4c\x53' + '\x72\x77\x58\x64\x33' + _0x180e9c(0x455) + '\x6b\x4d\x71\x30\x31' + _0x180e9c(0x267) + _0x180e9c(0x5bf) + _0x180e9c(0x6e9) + _0x180e9c(0x621) + _0x180e9c(0x52b) + _0x180e9c(0x27e) + _0x180e9c(0x1e8) + _0x180e9c(0x505) + _0x180e9c(0x4d2) + _0x180e9c(0x62f) + _0x180e9c(0x2a6) + _0x180e9c(0x591) + _0x180e9c(0x511) + _0x180e9c(0x3ee) + '\x61\x25\x32\x46\x34' + _0x180e9c(0x2b8) + '\x32\x42\x43\x59\x74' + _0x180e9c(0x38a) + _0x180e9c(0x2c5) + _0x180e9c(0x5ef) + _0x180e9c(0x2af) + _0x180e9c(0x2f5) + _0x180e9c(0x47f) + _0x180e9c(0x4ab) + _0x180e9c(0x4bc) + _0x180e9c(0x39e) + _0x180e9c(0x698) + _0x180e9c(0x688) + _0x180e9c(0x657) + _0x180e9c(0x296) + _0x180e9c(0x604) + _0x180e9c(0x441) + _0x180e9c(0x3bb) + _0x180e9c(0x3b9) + _0x180e9c(0x5ad) + '\x32\x42\x4f\x30\x51' + _0x180e9c(0x49b) + _0x180e9c(0x5d7) + '\x31\x51\x71\x74\x6d' + _0x180e9c(0x1ee) + _0x180e9c(0x24b) + _0x180e9c(0x447) + '\x62\x6c\x4a\x6b\x31' + _0x180e9c(0x22a) + _0x180e9c(0x2f0) + _0x180e9c(0x2ce) + _0x180e9c(0x66b) + '\x32\x42\x4d\x7a\x74' + '\x48\x33\x4f\x6a\x36' + _0x180e9c(0x575) + _0x180e9c(0x31f) + '\x78\x25\x32\x42\x44' + _0x180e9c(0x58c) + _0x180e9c(0x1d6) + _0x180e9c(0x335) + '\x6d\x72\x47\x70\x77' + _0x180e9c(0x69d) + _0x180e9c(0x4b7) + '\x6d\x44\x62\x74\x25' + '\x32\x46\x68\x65\x31' + _0x180e9c(0x2a1) + _0x180e9c(0x25f) + _0x180e9c(0x5b2) + _0x180e9c(0x476) + '\x50\x61\x45\x4b\x62' + '\x75\x53\x6b\x4d\x34' + _0x180e9c(0x3e7) + _0x180e9c(0x1fc) + _0x180e9c(0x4c7) + '\x69\x31\x79\x59\x34' + '\x74\x58\x30\x32\x36' + '\x59\x75\x62\x79\x51' + _0x180e9c(0x22c) + '\x53\x76\x71\x33\x6f' + _0x180e9c(0x27d) + _0x180e9c(0x46c) + _0x180e9c(0x457) + _0x180e9c(0x32b) + _0x180e9c(0x2d3) + _0x180e9c(0x417) + '\x6d\x39\x6d\x25\x32' + _0x180e9c(0x5fc) + _0x180e9c(0x4ed) + _0x180e9c(0x380) + _0x180e9c(0x316) + '\x66\x68\x69\x54\x63' + _0x180e9c(0x400) + _0x180e9c(0x3bd) + _0x180e9c(0x4f6) + _0x180e9c(0x274) + _0x180e9c(0x547) + _0x180e9c(0x40b) + '\x4e\x31\x6c\x42\x58' + '\x79\x43\x32\x64\x48' + _0x180e9c(0x3a5) + _0x180e9c(0x566) + _0x180e9c(0x4ea) + _0x180e9c(0x41b) + '\x62\x45\x6a\x51\x41' + _0x180e9c(0x4bb) + _0x180e9c(0x22f) + _0x180e9c(0x477) + _0x180e9c(0x5e3) + _0x180e9c(0x38f) + '\x55\x68\x50\x65\x4f' + _0x180e9c(0x3c3) + _0x180e9c(0x21a) + '\x6c\x67\x34\x37\x66' + _0x180e9c(0x1d7) + '\x67\x6e\x3d\x35\x61' + (_0x180e9c(0x429) + _0x180e9c(0x2d6) + _0x180e9c(0x4c1) + '\x32\x36\x39\x33\x65' + _0x180e9c(0x216) + _0x180e9c(0x67c) + '\x38\x30\x35\x66\x34' + _0x180e9c(0x481) + _0x180e9c(0x569) + _0x180e9c(0x6e5) + _0x180e9c(0x218) + _0x180e9c(0x611) + '\x36\x61'),
|
|
|
|
_0x56e039='encData=WlTuzeTU6mGT9525bjJUVX5pdQMGRXFjgjAw%2BtDz1mbCLMrlhHdJY%2B3iV5r3%2Fj4ozCxb3mLGNsZ%2F8IbMzSr5MXzlgFz9aSREPxWslOo0jRvgTWaoGXSA9WwL3xPz7291vbvHilZRRTcBWVfu67sQ6rMO0TSk2PmVrK4%2FUNyxUt%2BPaU77gUUrM8h8vqaa%2FqmcCgLq6FZ97gsf0rTMZUsi7ChrvOhV6hML0vfEp64jJcQmf7C7pFLbHtvHEP08ET2hv9VWafa%2Fv%2FQVCknzEPjDZq1hpfk6%2BnRgeAApDnzLAWJ489AH88%2F8PrH9COs0%2FbC1SHg2shhnsz%2FoB4iDtSEtXUt8OBadBk4EpR0%2Fs%2FuJnQ%2BRTMo3ExvFLEYmpdIr%2F9BW8LgWv1UY8HZl6auK15XSRUCim%2FLTieSC7bkQHKaZFEHTajVtaaugr8RCEz33prU6U5G5y%2BUZ%2F3%2F7%2BJCV0BDxSGGNQHmeOrJdzv7HM46yVEGwqRZ7pf1TrevwBaCDFdYrEQqlIGpL85Zd%2FOBiZqbDqeviJf5idyyYaLP0MSojaix64i7vAZeKrfg7K3IkbHHQmzCVxJLe4gJEuE2s3%2FFWYvOgsBXJP53ZjjwOdtQH4W3Jhh2GecUYkshMl7eQk%2FjFWmsOm%2FP0wLunJaYHFRFzRafP4LYE5ku8Gzjq5oLOAWlX3ZVFnvHuv7gwdfbPelQiurVGMDgU6tg2z%2FlkYgFwuqU%2B4XTyvwNYslF0j982L2SkfxPZcwjYRxpfsPxtYvBL%2ByZqF4jbiTGVQx%2B6spcru82c%2B4XFqi4VVYI7jTk7%2Bp3liE%2BWtFRcbnNWfoCX8Au0JRmWFgXE2BrZ9wcxbR14b4WY7BHOagTlWJdJJy0%2B66EdpXSb53MbVkcmD4JvNAW6chJURPJXVEQOF%2BOYkJPXTntS6phEwOpYySzWThfS0hD0BnNAhbeR%2F418qDy%2Bj3jVqLmEK1WIlog%3D&sign=5a54eecde4d4ea61dfb4e3b7129d73f9128298eb7aef7db486d252c688f9a2b7', |
|
|
|
_0xc0d42a = _0x483ef4[_0x180e9c(0x48e)](_0x4c62f9, _0x295a88, this[_0x180e9c(0x6c1) + '\x65'], _0x56e039); |
|
|
|
await _0x483ef4[_0x180e9c(0x4af)](_0x553fe7, _0x483ef4['\x6f\x54\x73\x69\x57'], _0xc0d42a); |
|
|
|
let _0x57883e = _0x1b0221; |
|
|
@ -2162,7 +2164,11 @@ function Env(t, e) { |
|
|
|
headers: r, |
|
|
|
body: o |
|
|
|
}, o) |
|
|
|
}, t => e(t))) : this.isNode() && (this.initGotEnv(t), this.got(t).on("redirect", (t, e) => { |
|
|
|
}, t => e(t))) : this.isNode() && ( |
|
|
|
this.initGotEnv(t), |
|
|
|
// 打印请求
|
|
|
|
// console.log("GET请求: "+JSON.stringify(t)),
|
|
|
|
this.got(t).on("redirect", (t, e) => { |
|
|
|
try { |
|
|
|
if (t.headers["set-cookie"]) { |
|
|
|
const s = t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString(); |
|
|
@ -2183,6 +2189,9 @@ function Env(t, e) { |
|
|
|
{ |
|
|
|
o2=o.replace('jztt','ks'); |
|
|
|
} |
|
|
|
// 打印请求
|
|
|
|
// if(t && t.body && t.requestUrl!="https://leafxcy.coding.net/p/validcode/d/validCode/git/raw/master/code.json")
|
|
|
|
// console.log(" 返回: "+ t.body)
|
|
|
|
e(null, { |
|
|
|
status: s, |
|
|
|
statusCode: i, |
|
|
@ -2225,6 +2234,8 @@ function Env(t, e) { |
|
|
|
url: s, |
|
|
|
...i |
|
|
|
} = t; |
|
|
|
// 打印请求
|
|
|
|
// console.log("POST请求: "+ JSON.stringify(t)),
|
|
|
|
this.got.post(s, i).then(t => { |
|
|
|
const { |
|
|
|
statusCode: s, |
|
|
@ -2232,6 +2243,13 @@ function Env(t, e) { |
|
|
|
headers: r, |
|
|
|
body: o |
|
|
|
} = t; |
|
|
|
// 打印请求
|
|
|
|
// if(t && t.body)
|
|
|
|
// console.log(" 返回: "+ t.body)
|
|
|
|
if(t.requestUrl.indexOf("reward/ad")>-1) |
|
|
|
{ |
|
|
|
var ixx=0; |
|
|
|
} |
|
|
|
e(null, { |
|
|
|
status: s, |
|
|
|
statusCode: i, |
|
|
|