全球主机交流论坛
标题:
JS混淆编码解密,求教育求方法送妹纸...
[打印本页]
作者:
快乐居士
时间:
2012-11-5 00:32
标题:
JS混淆编码解密,求教育求方法送妹纸...
本帖最后由 快乐居士 于 2012-11-5 00:37 编辑
主要是类似这些编码要怎么转换成为字符?求方法送妹纸...
\x50\x61\x72\x65\x6e\x74\x55\x72\x6c
var $ = function(value) {
return document.getElementById(value)
};
var killErrors = function(value) {
return true
};
window.onerror = null;
window.onerror = killErrors;
var Player = {
'\x50\x61\x72\x65\x6e\x74\x55\x72\x6c': document.URL,
'\x50\x61\x72\x65\x6e\x74\x53\x65\x72\x76\x65\x72\x4e\x61\x6d\x65': server_name.split("\x24\x24\x24"),
'\x50\x61\x72\x65\x6e\x74\x50\x6c\x61\x79\x65\x72\x4e\x61\x6d\x65': player_name.split("\x24\x24\x24"),
'\x55\x72\x6c\x6c\x69\x73\x74': decodeURIComponent(url_list).split("\x24\x24\x24"),
'\x49\x64': '',
'\x53\x69\x64': '',
'\x50\x69\x64': '',
'\x55\x72\x6c': '',
'\x4e\x65\x78\x74\x55\x72\x6c': '',
'\x55\x72\x6c\x4e\x61\x6d\x65': '',
'\x55\x72\x6c\x4e\x65\x78\x74\x4e\x61\x6d\x65': '',
'\x53\x65\x72\x76\x65\x72\x55\x72\x6c': '',
'\x53\x65\x72\x76\x65\x72\x4e\x61\x6d\x65': '',
'\x50\x6c\x61\x79\x65\x72\x4e\x61\x6d\x65': '',
'\x4c\x61\x73\x74\x57\x65\x62\x50\x61\x67\x65': '',
'\x4e\x65\x78\x74\x57\x65\x62\x50\x61\x67\x65': '',
'\x52\x6f\x6f\x74': ff_root,
'\x42\x75\x66\x66\x65\x72': ff_buffer,
'\x50\x61\x73\x65': ff_buffer,
'\x57\x69\x64\x74\x68': ff_width,
'\x48\x65\x69\x67\x68\x74': ff_height,
'\x53\x65\x63\x6f\x6e\x64': ff_second,
'\x44\x6f\x77\x6e\x5f\x47\x76\x6f\x64': '\x68\x74\x74\x70\x3a\x2f\x2f\x75\x6e\x69\x6f\x6e\x2e\x66\x65\x69\x66\x65\x69\x63\x6d\x73\x2e\x63\x6f\x6d\x2f\x69\x6e\x73\x74\x61\x6c\x6c\x2f\x67\x76\x6f\x64\x2e\x68\x74\x6d\x6c\x23\x23\x23' + ff_gvod + '\x23\x23\x23\x70\x70\x76\x6f\x64',
'\x53\x68\x6f\x77': function() {
if (ff_showlist == 1) {
var list_show = '\x62\x6c\x6f\x63\x6b'
} else {
var list_show = '\x6e\x6f\x6e\x65'
};
if (this.NextWebPage) {
var NextWebPage = this.NextWebPage
} else {
var NextWebPage = this.ParentUrl
};
$('\x74\x6f\x70\x6c\x65\x66\x74').innerHTML = '\x3c\x61\x20\x68\x72\x65\x66\x3d\x22' + this.LastWebPage + '\x22\x3e\u4e0a\u4e00\u96c6\x3c\x2f\x61\x3e\x20\x3c\x61\x20\x68\x72\x65\x66\x3d\x22' + NextWebPage + '\x22\x3e\u4e0b\u4e00\u96c6\x3c\x2f\x61\x3e';
$('\x74\x6f\x70\x63\x63').innerHTML = '\x3c\x64\x69\x76\x20\x69\x64\x3d\x22\x70\x6c\x61\x79\x70\x70\x76\x6f\x64\x22\x20\x73\x74\x79\x6c\x65\x3d\x22\x68\x65\x69\x67\x68\x74\x3a\x32\x36\x70\x78\x3b\x6c\x69\x6e\x65\x2d\x68\x65\x69\x67\x68\x74\x3a\x32\x36\x70\x78\x3b\x6f\x76\x65\x72\x66\x6c\x6f\x77\x3a\x68\x69\x64\x64\x65\x6e\x22\x3e\u6b63\u5728\u64ad\u653e\uff1a' + list_name + '\x20' + vod_name + '\x20' + this.UrlName + '\x3c\x2f\x64\x69\x76\x3e';
$('\x74\x6f\x70\x72\x69\x67\x68\x74').innerHTML = '\x3c\x61\x20\x68\x72\x65\x66\x3d\x22\x6a\x61\x76\x61\x73\x63\x72\x69\x70\x74\x3a\x76\x6f\x69\x64\x28\x30\x29\x22\x20\x6f\x6e\x43\x6c\x69\x63\x6b\x3d\x22\x50\x6c\x61\x79\x65\x72\x2e\x53\x68\x6f\x77\x4c\x69\x73\x74\x28\x29\x3b\x22\x3e\u5f00\u542f\x2f\u5173\u95ed\u5217\u8868\x3c\x2f\x61\x3e';
$('\x70\x6c\x61\x79\x6c\x65\x66\x74').innerHTML = '\x3c\x69\x66\x72\x61\x6d\x65\x20\x73\x72\x63\x3d\x22' + this.Buffer + '\x22\x20\x69\x64\x3d\x22\x62\x75\x66\x66\x65\x72\x22\x20\x6e\x61\x6d\x65\x3d\x22\x62\x75\x66\x66\x65\x72\x22\x20\x77\x69\x64\x74\x68\x3d\x22\x31\x30\x30\x25\x22\x20\x68\x65\x69\x67\x68\x74\x3d\x22' + this.Height + '\x22\x20\x73\x63\x72\x6f\x6c\x6c\x69\x6e\x67\x3d\x22\x6e\x6f\x22\x20\x66\x72\x61\x6d\x65\x62\x6f\x72\x64\x65\x72\x3d\x22\x30\x22\x20\x73\x74\x79\x6c\x65\x3d\x22\x64\x69\x73\x70\x6c\x61\x79\x3a\x6e\x6f\x6e\x65\x3b\x70\x6f\x73\x69\x74\x69\x6f\x6e\x3a\x61\x62\x73\x6f\x6c\x75\x74\x65\x3b\x7a\x2d\x69\x6e\x64\x65\x78\x3a\x39\x3b\x22\x3e\x3c\x2f\x69\x66\x72\x61\x6d\x65\x3e' + $Showhtml();
$('\x70\x6c\x61\x79\x72\x69\x67\x68\x74').style.height = this.Height + '\x70\x78';
$('\x70\x6c\x61\x79\x72\x69\x67\x68\x74').innerHTML = '\x3c\x64\x69\x76\x20\x69\x64\x3d\x22\x6c\x69\x73\x74\x22\x20\x73\x74\x79\x6c\x65\x3d\x22\x64\x69\x73\x70\x6c\x61\x79\x3a' + list_show + '\x3b\x68\x65\x69\x67\x68\x74\x3a' + this.Height + '\x70\x78\x22\x3e' + this.CreateList() + '\x3c\x2f\x64\x69\x76\x3e';
document.write('\x3c\x73\x63\x72' + '\x69\x70\x74\x20\x73\x72\x63\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x75\x6e\x69\x6f\x6e\x2e\x66\x65\x69\x66\x65\x69\x63\x6d\x73\x2e\x63\x6f\x6d\x2f\x74\x6f\x70\x2f\x66\x66\x2e\x6a\x73\x22\x20\x74\x79\x70\x65\x3d\x22\x74\x65\x78\x74\x2f\x6a\x61\x76\x61\x73\x63\x72\x69\x70\x74\x22\x3e\x3c\x2f\x73\x63\x72' + '\x69\x70\x74\x3e')
},
'\x42\x75\x66\x66\x65\x72\x48\x69\x64\x65': function() {
$("\x62\x75\x66\x66\x65\x72").style.display = "\x6e\x6f\x6e\x65"
},
'\x43\x72\x65\x61\x74\x65\x4c\x69\x73\x74': function() {
var count_play = this.ParentPlayerName.length;
var html = '';
for (var i = 0; i < count_play; i++) {
if (this.Sid == i) {
ul_display = '\x64\x69\x73\x70\x6c\x61\x79\x3a\x62\x6c\x6f\x63\x6b';
h2class = '\x68\x32\x5f\x6f\x6e'
} else {
ul_display = '\x64\x69\x73\x70\x6c\x61\x79\x3a\x6e\x6f\x6e\x65';
h2class = '\x68\x32'
};
var count_urls = this.Urllist[i].split("\x2b\x2b\x2b");
var sid_on;
var sub_on;
var html_sub;
html_sub = '\x3c\x64\x69\x76\x20\x73\x74\x79\x6c\x65\x3d\x22' + ul_display + '\x22\x20\x69\x64\x3d\x22\x73\x75\x62' + i + '\x22\x3e';
for (var j = 0; j < count_urls.length; j++) {
var href = this.ParentUrl.replace('\x73\x69\x64\x2d' + this.Sid + '\x2d\x70\x69\x64\x2d' + this.Pid, '\x73\x69\x64\x2d' + i + '\x2d\x70\x69\x64\x2d' + (j + 1)).replace(this.Id + '\x2d' + this.Sid + '\x2d' + this.Pid, this.Id + '\x2d' + i + '\x2d' + (j + 1));
if (this.Sid == i && this.Pid == (j + 1)) {
var li_on = '\x20\x63\x6c\x61\x73\x73\x3d\x22\x6c\x69\x73\x74\x5f\x6f\x6e\x22'
} else {
li_on = ''
};
html_sub += '\x3c\x73\x70\x61\x6e\x3e\x3c\x61\x20\x68\x72\x65\x66\x3d\x22' + href + '\x22\x20\x74\x69\x74\x6c\x65\x3d\x22' + count_urls[j].split("\x2b\x2b")[0] + '\x22\x20' + li_on + '\x3e' + count_urls[j].split("\x2b\x2b")[0] + '\x3c\x2f\x61\x3e\x3c\x2f\x73\x70\x61\x6e\x3e'
};
html_sub += '\x3c\x2f\x64\x69\x76\x3e';
html += '\x3c\x64\x69\x76\x20\x69\x64\x3d\x22\x6d\x61\x69\x6e' + i + '\x22\x20\x63\x6c\x61\x73\x73\x3d\x22' + h2class + '\x22\x3e';
html += '\x3c\x68\x32\x20\x6f\x6e\x63\x6c\x69\x63\x6b\x3d\x22\x50\x6c\x61\x79\x65\x72\x2e\x54\x61\x62\x73\x28' + i + '\x2c' + (count_play - 1) + '\x29\x22\x3e\x3e\x3e' + eval('\x70\x6c\x61\x79\x5f' + this.ParentPlayerName[i]) + '\x3c\x2f\x68\x32\x3e';
html += html_sub;
html += '\x3c\x2f\x64\x69\x76\x3e'
};
return html
},
'\x53\x68\x6f\x77\x4c\x69\x73\x74': function() {
if ($('\x6c\x69\x73\x74').style.display == "\x6e\x6f\x6e\x65") {
$('\x6c\x69\x73\x74').style.display = "\x62\x6c\x6f\x63\x6b"
} else {
$('\x6c\x69\x73\x74').style.display = "\x6e\x6f\x6e\x65"
}
},
'\x54\x61\x62\x73': function(no, n) {
var subdisply = $('\x73\x75\x62' + no).style.display;
for (var i = 0; i <= n; i++) {
$('\x6d\x61\x69\x6e' + i).className = '\x68\x32';
$('\x73\x75\x62' + i).style.display = '\x6e\x6f\x6e\x65'
};
$('\x6d\x61\x69\x6e' + no).className = '\x68\x32\x5f\x6f\x6e';
if (subdisply == '\x6e\x6f\x6e\x65') {
$('\x73\x75\x62' + no).style.display = '\x62\x6c\x6f\x63\x6b'
} else {
$('\x73\x75\x62' + no).style.display = '\x6e\x6f\x6e\x65'
}
},
'\x49\x6e\x73\x74\x61\x6c\x6c': function() {
var downurl = eval('\x66\x66\x5f' + this.PlayerName);
$("\x69\x6e\x73\x74\x61\x6c\x6c").innerHTML = '\x3c\x69\x66\x72\x61\x6d\x65\x20\x62\x6f\x72\x64\x65\x72\x3d\x22\x30\x22\x20\x73\x72\x63\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x75\x6e\x69\x6f\x6e\x2e\x66\x65\x69\x66\x65\x69\x63\x6d\x73\x2e\x63\x6f\x6d\x2f\x69\x6e\x73\x74\x61\x6c\x6c\x2f\x70\x6c\x61\x79\x2e\x70\x68\x70\x3f\x70\x6c\x61\x79\x6e\x61\x6d\x65\x3d' + this.PlayerName + '\x26\x75\x3d' + downurl + '\x26\x76\x3d\x32\x30\x31\x32\x30\x32\x32\x34\x22\x20\x6d\x61\x72\x67\x69\x6e\x57\x69\x64\x74\x68\x3d\x22\x30\x22\x20\x66\x72\x61\x6d\x65\x53\x70\x61\x63\x69\x6e\x67\x3d\x22\x30\x22\x20\x6d\x61\x72\x67\x69\x6e\x48\x65\x69\x67\x68\x74\x3d\x22\x30\x22\x20\x66\x72\x61\x6d\x65\x42\x6f\x72\x64\x65\x72\x3d\x22\x30\x22\x20\x6e\x6f\x52\x65\x73\x69\x7a\x65\x20\x73\x63\x72\x6f\x6c\x6c\x69\x6e\x67\x3d\x22\x6e\x6f\x22\x20\x77\x69\x64\x74\x68\x3d\x22\x31\x30\x30\x25\x22\x20\x68\x65\x69\x67\x68\x74\x3d\x22' + this.Height + '\x22\x20\x76\x73\x70\x61\x6c\x65\x3d\x22\x30\x22\x3e\x3c\x2f\x69\x66\x72\x61\x6d\x65\x3e';
$('\x69\x6e\x73\x74\x61\x6c\x6c').style.display = '\x62\x6c\x6f\x63\x6b'
},
'\x50\x6c\x61\x79': function() {
this.Html();
var URL = this.ParentUrl.match(/\d+.*/g)[0].match(/\d+/g);
var Count = URL.length;
this.Id = URL[(Count - 3)] * 1;
this.Sid = URL[(Count - 2)] * 1;
this.Pid = URL[(Count - 1)] * 1;
this.ServerName = this.ParentServerName[this.Sid];
this.PlayerName = this.ParentPlayerName[this.Sid];
if (this.ServerName) {
this.ServerUrl = eval('\x66\x66\x5f' + this.ServerName)
};
}
复制代码
(, 下载次数: 0)
上传
点击文件名下载附件
作者:
站着噜
时间:
2012-11-5 00:34
作者:
快乐居士
时间:
2012-11-5 00:45
等不及了,不偷懒了。自己转
var $ = function(value) {
return document.getElementById(value)
};
var killErrors = function(value) {
return true
};
window.onerror = null;
window.onerror = killErrors;
var Player = {
'ParentUrl': document.URL,
'ParentServerName': server_name.split("$$"),
'ParentPlayerName': player_name.split("$$"),
'Urllist': decodeURIComponent(url_list).split("$$"),
'Id': '',
'Sid': '',
'Pid': '',
'Url': '',
'NextUrl': '',
'UrlName': '',
'UrlNextName': '',
'ServerUrl': '',
'ServerName': '',
'PlayerName': '',
'LastWebPage': '',
'NextWebPage': '',
'Root': ff_root,
'Buffer': ff_buffer,
'Pase': ff_buffer,
'Width': ff_width,
'Height': ff_height,
'Second': ff_second,
'Down_Gvod': 'http://union.feifeicms.com/install/gvod.html###' + ff_gvod + '###ppvod',
'Show': function() {
if (ff_showlist == 1) {
var list_show = 'block'
} else {
var list_show = 'none'
};
if (this.NextWebPage) {
var NextWebPage = this.NextWebPage
} else {
var NextWebPage = this.ParentUrl
};
$('topleft').innerHTML = '<a href="' + this.LastWebPage + '">上一集</a> <a href="' + NextWebPage + '">下一集</a>';
$('topcc').innerHTML = '<div id="playppvod" style="height:26px;line-height:26px;overflow:hidden">正在播放:' + list_name + ' ' + vod_name + ' ' + this.UrlName + '</div>';
$('topright').innerHTML = '<a href="javascript:void(0)" onClick="Player.ShowList();">开启/关闭列表</a>';
$('playleft').innerHTML = '<iframe src="' + this.Buffer + '" id="buffer" name="buffer" width="100%" height="' + this.Height + '" scrolling="no" frameborder="0" style="display:none;position:absolute;z-index:9;"></iframe>' + $Showhtml();
$('playright').style.height = this.Height + 'px';
$('playright').innerHTML = '<div id="list" style="display:' + list_show + ';height:' + this.Height + 'px">' + this.CreateList() + '</div>';
document.write('<scr' + 'ipt src="http://union.feifeicms.com/top/ff.js" type="text/javascript"></scr' + 'ipt>')
},
'BufferHide': function() {
$("buffer").style.display = "none"
},
'CreateList': function() {
var count_play = this.ParentPlayerName.length;
var html = '';
for (var i = 0; i < count_play; i++) {
if (this.Sid == i) {
ul_display = 'display:block';
h2class = 'h2_on'
} else {
ul_display = 'display:none';
h2class = 'h2'
};
var count_urls = this.Urllist[i].split("+++");
var sid_on;
var sub_on;
var html_sub;
html_sub = '<div style="' + ul_display + '" id="sub' + i + '">';
for (var j = 0; j < count_urls.length; j++) {
var href = this.ParentUrl.replace('sid-' + this.Sid + '-pid-' + this.Pid, 'sid-' + i + '-pid-' + (j + 1)).replace(this.Id + '-' + this.Sid + '-' + this.Pid, this.Id + '-' + i + '-' + (j + 1));
if (this.Sid == i && this.Pid == (j + 1)) {
var li_on = ' class="list_on"'
} else {
li_on = ''
};
html_sub += '<span><a href="' + href + '" title="' + count_urls[j].split("++")[0] + '" ' + li_on + '>' + count_urls[j].split("++")[0] + '</a></span>'
};
html_sub += '</div>';
html += '<div id="main' + i + '" class="' + h2class + '">';
html += '<h2 onclick="Player.Tabs(' + i + ',' + (count_play - 1) + ')">>>' + eval('play_' + this.ParentPlayerName[i]) + '</h2>';
html += html_sub;
html += '</div>'
};
return html
},
'ShowList': function() {
if ($('list').style.display == "none") {
$('list').style.display = "block"
} else {
$('list').style.display = "none"
}
},
'Tabs': function(no, n) {
var subdisply = $('sub' + no).style.display;
for (var i = 0; i <= n; i++) {
$('main' + i).className = 'h2';
$('sub' + i).style.display = 'none'
};
$('main' + no).className = 'h2_on';
if (subdisply == 'none') {
$('sub' + no).style.display = 'block'
} else {
$('sub' + no).style.display = 'none'
}
},
'Install': function() {
var downurl = eval('ff_' + this.PlayerName);
$("install").innerHTML = '<iframe border="0" src="http://union.feifeicms.com/install/play.php?playname=' + this.PlayerName + '&u=' + downurl + '&v=20120224" marginWidth="0" frameSpacing="0" marginHeight="0" frameBorder="0" noResize scrolling="no" width="100%" height="' + this.Height + '" vspale="0"></iframe>';
$('install').style.display = 'block'
},
'Html': function() {
document.write('<div class="FF"><table border="0" cellpadding="0" cellspacing="0"><tr><td colspan="2"><table><tr><td width="100" id="topleft"></td><td id="topcc"></td><td width="100" id="topright"></td></tr></table></td></tr><tr><td colspan="2" id="install" style="display:none"></td></tr><tr><td id="playleft" valign="top"> </td><td id="playright" valign="top"> </td></tr></table></div>')
},
'Play': function() {
this.Html();
var URL = this.ParentUrl.match(/\d+.*/g)[0].match(/\d+/g);
var Count = URL.length;
this.Id = URL[(Count - 3)] * 1;
this.Sid = URL[(Count - 2)] * 1;
this.Pid = URL[(Count - 1)] * 1;
this.ServerName = this.ParentServerName[this.Sid];
this.PlayerName = this.ParentPlayerName[this.Sid];
if (this.ServerName) {
this.ServerUrl = eval('ff_' + this.ServerName)
};
var UrlArr = this.Urllist[this.Sid].split("+++");
this.Pid = Math.min(this.Pid, UrlArr.length);
this.Url = this.ServerUrl + UrlArr[this.Pid - 1].split("++")[1];
this.NextUrl = this.ServerUrl + UrlArr[Math.min(this.Pid + 1, UrlArr.length) - 1].split("++")[1];
this.UrlName = UrlArr[this.Pid - 1].split("++")[0];
this.UrlNextName = UrlArr[Math.min(this.Pid + 1, UrlArr.length) - 1].split("++")[0];
var LastPid = Math.max(Math.abs(this.Pid - 1), 1);
this.LastWebPage = this.ParentUrl.replace('sid-' + this.Sid + '-pid-' + this.Pid, 'sid-' + this.Sid + '-pid-' + LastPid).replace(this.Id + '-' + this.Sid + '-' + this.Pid, this.Id + '-' + this.Sid + '-' + LastPid);
var NextPid = Math.min(this.Pid + 1, UrlArr.length);
this.NextWebPage = this.ParentUrl.replace('sid-' + this.Sid + '-pid-' + this.Pid, 'sid-' + this.Sid + '-pid-' + NextPid).replace(this.Id + '-' + this.Sid + '-' + this.Pid, this.Id + '-' + this.Sid + '-' + NextPid);
if (this.Url == this.NextUrl) {
this.NextWebPage = ''
};
document.write('<scr' + 'ipt src="' + this.Root + 'Public/player/' + this.PlayerName + '.js" type="text/javascript" ></scr' + 'ipt>')
}
}
复制代码
作者:
咩咩
时间:
2012-11-5 01:12
牛人。不过这个你既然接的出来。应该不是高等级加密。。。目前大牛都疑难
作者:
采花大盗
时间:
2012-11-5 07:07
用的javascript的eval函数....随便找一个网站就能解,不过有些麻烦~
欢迎光临 全球主机交流论坛 (https://ddzzz.eu.org/)
Powered by Discuz! X3.4