// 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,[encoded data, 96948 characters]';
  // print(data);
  realUrl = image(data)
}catch (e) {
  print('发生了错误:'+e);
}
}