26 lines
95 KiB
Plaintext
26 lines
95 KiB
Plaintext
|
// log(vipUrl);
|
||
|
let PWD = 'drpy';
|
||
|
// log(params);
|
||
|
if(!params.passwd){
|
||
|
realUrl = vipUrl
|
||
|
} else if(params.passwd !== PWD){
|
||
|
realUrl = toast(vipUrl+' 解析失败。解析密码错误');
|
||
|
}else{
|
||
|
eval(getCryptoJS());
|
||
|
function ecb_decode(data) {
|
||
|
var key = CryptoJS.enc.Utf8.parse('976f97d638360cde');
|
||
|
var tmp = CryptoJS.AES.decrypt(data, key, { mode: CryptoJS.mode.ECB });
|
||
|
return tmp.toString(CryptoJS.enc.Utf8);
|
||
|
}
|
||
|
let html = request(vipUrl);
|
||
|
print(html.length);
|
||
|
try {
|
||
|
let data = ecb_decode(html);
|
||
|
print(data.length);
|
||
|
//let data = 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAFoAk4DASIAAhEBAxEB/8QAHgAAAQQDAQEBAAAAAAAAAAAABwQFBggAAwkCAQr/xABMEAABAwIFAgQEAwUFBQcDAwUBAgMEBREABgcSITFBCBNRYRQicYEykaEJFSNCsRYzUmLBJHKC0fAXJTRDkrLhU2OiNUTxRVRzwtL/xAAbAQACAwEBAQAAAAAAAAAAAAAEBQIDBgEAB//EADURAAICAgICAQMEAQMDAwUBAAECAAMEERIhBTETIkFRFDJhcSMGgaEVM8FSkbEkNELR4fD/2gAMAwEAAhEDEQA/AOVWMxmMx6emYzGYzHp6ZjMZjMenpmMxmMx6emYzGYzHp6ZjMZjMenpmMxmMx6emYzGYzHp6YMOcTt7YbEi5w7Q08Wx6ejrFSCL9cOkZk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