在52论坛上 看到有人悬赏破解几个js。
https://www.52pojie.cn/forum.php?mod=viewthread&tid=1412781&page=1#pid37932608
发文的没做格式化,第1、3、5js 是混合代码,有不同加密类型或者 有部分加密的内容。
第一部分很简单。第一个加密代码前半部分,即0.js代码
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
//格式化 OlOlll="\x28\x78\x29"; OllOlO=" \x53\x74\x72\x69\x6e\x67"; OlllOO="\x74\x69\x6f\x6e"; OlOllO="\x43\x6f\x64\x65\x28\x78\x29\x7d"; OllOOO="\x43\x68\x61\x72"; OlllOl="\x66\x75\x6e\x63"; OllllO=" \x6c \x3d "; OllOOl="\x2e\x66\x72\x6f\x6d"; OllOll="\x7b\x72\x65\x74\x75\x72\x6e"; Olllll="\x76\x61\x72"; window["\x65\x76\x61\x6c"](Olllll+OllllO+OlllOl+OlllOO+OlOlll+OllOll+OllOlO+OllOOl+OllOOO+OlOllO); window["\x65\x76\x61\x6c"](l(79)+l(61)+l(102)+l(117)+l(110)+l(99)+l(116)+l(105)+l(111)+l(110)+l(40)+l(109)+l(41)+l(123)+l(114)+l(101)+l(116)+l(117)+l(114)+l(110)+l(32)+l(83)+l(116)+l(114)+l(105)+l(110)+l(103)+l(46)+l(102)+l(114)+l(111)+l(109)+l(67)+l(104)+l(97)+l(114)+l(67)+l(111)+l(100)+l(101)+l(40)+l(77)+l(97)+l(116)+l(104)+l(46)+l(102)+l(108)+l(111)+l(111)+l(114)+l(40)+l(109)+l(47)+l(49)+l(48)+l(48)+l(48)+l(48)+l(41)+l(47)+l(57)+l(57)+l(41)+l(59)+l(125)); window["\x65\x76\x61\x6c"](""+O(100983986)+O(115830727)+O(108902517)+O(98014969)+O(114841040)+O(103959337)+O(109892273)+O(108903106)+O(31688438)+O(101973164)+O(99991560)+O(114847687)+O(117811759)+O(99992123)+O(97020775)+O(39606870)+O(113854140)+O(114841740)+O(112867709)+O(64352376)+O(40593852)+O(121777539)+O(99007026)+O(109895096)+O(98014298)+O(115835740)+O(107911425)+O(99991281)+O(108901247)+O(114843629)+O(45546602)+O(117818606)+O(112861757)+O(103958007)+O(114843130)+O(99994061)+O(106924193)+O(108902928)+O(39609734)+O(33661090)+O(59408940)+O(113858571)+O(98014072)+O(112861710)+O(103955021)+O(110881540)+O(114849117)+O(31680425)+O(113858662)+O(112863160)+O(98015477)+O(60390674)+O(91086043)+O(33666378)+O(102962612)+O(114841298)+O(114843969)+O(110883802)+O(57424793)+O(91080009)+O(46538996)+O(91089066)+O(46530852)+O(119793248)+O(113857668)+O(50491262)+O(45540311)+O(118806947)+O(118807953)+O(118807464)+O(110882317)+O(96030711)+O(108904716)+O(45541528)+O(98017942)+O(109898708)+O(107910107)+O(91088294)+O(46530896)+O(119794186)+O(118803133)+O(44551072)+O(33666453)+O(31680915)+O(42571347)+O(31686857)+O(113853489)+O(114844116)+O(112861592)+O(64358133)+O(31689941)+O(42575460)+O(31686038)+O(33662292)+O(91087678)+O(46531578)+O(114844369)+O(109899715)+O(110888843)+O(45543183)+O(96032922)+O(113859386)+O(110882018)+O(91082405)+O(33666798)+O(61386553)+O(59403259)+O(91089198)+O(46531550)+O(113850376)+O(98013971)+O(112863814)+O(103956905)+O(110880772)+O(114844890)+O(61381233)+O(33666159)+O(40592757)+O(58413038)+O(123755168)+O(12871388)+O(9903441)+O(101976370)+O(99993832)+O(114846413)+O(117811539)+O(99999120)+O(97026953)+O(39606594)+O(117811786)+O(99999288)+O(97023763)+O(40596921)+O(58416947)); OlOlll="\x28\x78\x29"; OllOlO=" \x53\x74\x72\x69\x6e\x67"; OlllOO="\x74\x69\x6f\x6e"; OlOllO="\x43\x6f\x64\x65\x28\x78\x29\x7d"; OllOOO="\x43\x68\x61\x72"; OlllOl="\x66\x75\x6e\x63"; OllllO=" \x6c \x3d "; OllOOl="\x2e\x66\x72\x6f\x6d"; OllOll="\x7b\x72\x65\x74\x75\x72\x6e"; Olllll="\x76\x61\x72"; window["\x65\x76\x61\x6c"](Olllll+OllllO+OlllOl+OlllOO+OlOlll+OllOll+OllOlO+OllOOl+OllOOO+OlOllO); window["\x65\x76\x61\x6c"](l(79)+l(61)+l(102)+l(117)+l(110)+l(99)+l(116)+l(105)+l(111)+l(110)+l(40)+l(109)+l(41)+l(123)+l(114)+l(101)+l(116)+l(117)+l(114)+l(110)+l(32)+l(83)+l(116)+l(114)+l(105)+l(110)+l(103)+l(46)+l(102)+l(114)+l(111)+l(109)+l(67)+l(104)+l(97)+l(114)+l(67)+l(111)+l(100)+l(101)+l(40)+l(77)+l(97)+l(116)+l(104)+l(46)+l(102)+l(108)+l(111)+l(111)+l(114)+l(40)+l(109)+l(47)+l(49)+l(48)+l(48)+l(48)+l(48)+l(41)+l(47)+l(57)+l(57)+l(41)+l(59)+l(125)); window["\x65\x76\x61\x6c"](""+O(113857365)+O(99993119)+O(114849008)+O(72272529)+O(108901181)+O(114840746)+O(99992813)+O(112864942)+O(116829852)+O(96032892)+O(106928482)+O(39608463)+O(38617978)+O(99001090)+O(99996061)+O(97027539)+O(115835497)+O(101970109)+O(39609718)+O(40590652)+O(38618889)+O(43564006)+O(48516879)+O(47527961)+O(47527124)+O(40593458)+O(58418688)+O(12877585)+O(9907608)+O(100981058)+O(115836734)+O(108909459)+O(98015917)+O(114845531)+O(103954102)+O(109895765)+O(108903269)+O(31684154)+O(99008453)+O(99996019)+O(97027341)+O(115835074)+O(101971059)+O(39603100)+O(40595315)+O(121777627)+O(116828501)+O(96033731)+O(112862830)+O(31689345)+O(118803094)+O(31683212)+O(60398921)+O(31682859)+O(48513994)+O(52479584)+O(31684928)+O(41584574)+O(31683428)+O(52476815)+O(58414905)+O(99009710)+O(99991515)+O(97020082)+O(115836079)+O(101975038)+O(101978741)+O(99998790)+O(112860572)+O(58411500)+O(99007309)+O(109894556)+O(98013765)+O(115833771)+O(107911305)+O(99992084)+O(108900445)+O(114842807)+O(45540919)+O(101970567)+O(99997187)+O(114840392)+O(68317769)+O(106922081)+O(99998312)+O(107911838)+O(99996839)+O(108901268)+O(114843173)+O(97024080)+O(119795447)+O(72277554)+O(99004558)+O(39601638)+O(38611259)+O(99007115)+O(99991533)+O(107912200)+O(109899406)+O(38616859)+O(40595202)+O(45546873)+O(103953454)+O(108906816)+O(108902526)+O(99997575)+O(112866184)+O(71280477)+O(83161605)+O(76235476)+O(75243913)+O(31684887)+O(60391659)+O(31689929)+O(118802463)+O(58413562)+O(12872277)+O(9906891)+O(123753754)+O(12875709)+O(9909501)+O(32679501)+O(39609504)+O(100984599)+O(115830747)+O(108901174)+O(98012516)+O(114846466)+O(103956708)+O(109893329)+O(108906676)+O(31688839)+O(39605921)+O(40595723)+O(31683880)+O(121773839)+O(12876960)+O(9907231)+O(116829898)+O(96037611)+O(112863891)+O(31688883)+O(98011404)+O(109891856)+O(108902999)+O(113858977)+O(109893302)+O(106927165)+O(99992630)+O(78212182)+O(110888832)+O(99990764)+O(108903465)+O(66330660)+O(96034961)+O(106923175)+O(106923519)+O(97025472)+O(96032057)+O(98019310)+O(105930732)+O(31680782)+O(60399973)+O(100989526)+O(115836158)+O(108901707)+O(98012294)+O(114845324)+O(103952424)+O(109899053)+O(108906750)+O(31682524)+O(39605398)+O(40590641)+O(121772555)+O(12871972)+O(9901826)+O(31689423)+O(117814809)+O(102964173)+O(103952045)+O(106923193)+O(99991969)+O(39609569)+O(114844868)+O(112869336)+O(115834902)+O(99990622)+O(40591178)+O(121770728)+O(31685043)+O(98015342)+O(109893889)+O(108905738)+O(113854792)+O(109894453)+O(106924527)+O(99996029)+O(45545419)+O(106926006)+O(109890869)+O(101970826)+O(39606507)+O(38611905)+O(35472695863)+O(21034535209)+O(38362506198)+O(27582390562)+O(30118775327)+O(28963443058)+O(38613388)+O(40598702)+O(58410830)+O(31682317)+O(123751414)+O(12873174)+O(9904583)+O(112861421)+O(99997742)+O(114840585)+O(115835179)+O(112860902)+O(108905707)+O(31688524)+O(33666574)+O(33663484)+O(58412440)+O(12877212)+O(9907845)+O(123759294)+O(58411790)+O(12874530)+O(9907926)+O(116820217)+O(96032259)+O(112860529)+O(31687808)+O(99008854)+O(97027755)+O(31689790)+O(60392467)+O(31683110)+O(46533308)+O(45541270)+O(46536190)+O(58416952)+O(12878814)+O(9905663)+O(98017890)+O(109891583)+O(108901337)+O(113859704)+O(109897522)+O(106928937)+O(99990519)+O(45545343)+O(106920746)+O(109891196)+O(101972272)+O(39609264)+O(99006648)+O(97025846)+O(40593056)+O(58414827)+O(12872481)+O(9905680)+O(99000782)+O(97024197)+O(45540183)+O(114847125)+O(109898666)+O(82173152)+O(114841690)+O(112868277)+O(103955193)+O(108904860)+O(101973996)+O(31680102)+O(60396769)+O(31681787)+O(98010303)+O(109890419)+O(108909596)+O(113856802)+O(109890642)+O(106920481)+O(99993866)+O(78215559)+O(110883886)+O(99998227)+O(108906429)+O(66332254)+O(96033210)+O(106920618)+O(106927778)+O(97029997)+O(96038760)+O(98019869)+O(105935396)+O(58415178)+O(12874508)+O(9904824)+O(123758307)+O(40592484)+O(39601126)+O(40599259)+O(58417009)); |
对于这个代码分析一下即可知
[“\x65\x76\x61\x6c”] 代码是 evel
那么我们解密方案就是
将window[“\x65\x76\x61\x6c”] 替换为:console.log即可 (这是针对evel加密的通用解密方案)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
// 解密方案 OlOlll="\x28\x78\x29"; OllOlO=" \x53\x74\x72\x69\x6e\x67"; OlllOO="\x74\x69\x6f\x6e"; OlOllO="\x43\x6f\x64\x65\x28\x78\x29\x7d"; OllOOO="\x43\x68\x61\x72"; OlllOl="\x66\x75\x6e\x63"; OllllO=" \x6c \x3d "; OllOOl="\x2e\x66\x72\x6f\x6d"; OllOll="\x7b\x72\x65\x74\x75\x72\x6e"; Olllll="\x76\x61\x72"; console.log(Olllll+OllllO+OlllOl+OlllOO+OlOlll+OllOll+OllOlO+OllOOl+OllOOO+OlOllO); var l = function(x){return String.fromCharCode(x)} console.log(l(79)+l(61)+l(102)+l(117)+l(110)+l(99)+l(116)+l(105)+l(111)+l(110)+l(40)+l(109)+l(41)+l(123)+l(114)+l(101)+l(116)+l(117)+l(114)+l(110)+l(32)+l(83)+l(116)+l(114)+l(105)+l(110)+l(103)+l(46)+l(102)+l(114)+l(111)+l(109)+l(67)+l(104)+l(97)+l(114)+l(67)+l(111)+l(100)+l(101)+l(40)+l(77)+l(97)+l(116)+l(104)+l(46)+l(102)+l(108)+l(111)+l(111)+l(114)+l(40)+l(109)+l(47)+l(49)+l(48)+l(48)+l(48)+l(48)+l(41)+l(47)+l(57)+l(57)+l(41)+l(59)+l(125)); O=function(m){return String.fromCharCode(Math.floor(m/10000)/99);} console.log(""+O(100983986)+O(115830727)+O(108902517)+O(98014969)+O(114841040)+O(103959337)+O(109892273)+O(108903106)+O(31688438)+O(101973164)+O(99991560)+O(114847687)+O(117811759)+O(99992123)+O(97020775)+O(39606870)+O(113854140)+O(114841740)+O(112867709)+O(64352376)+O(40593852)+O(121777539)+O(99007026)+O(109895096)+O(98014298)+O(115835740)+O(107911425)+O(99991281)+O(108901247)+O(114843629)+O(45546602)+O(117818606)+O(112861757)+O(103958007)+O(114843130)+O(99994061)+O(106924193)+O(108902928)+O(39609734)+O(33661090)+O(59408940)+O(113858571)+O(98014072)+O(112861710)+O(103955021)+O(110881540)+O(114849117)+O(31680425)+O(113858662)+O(112863160)+O(98015477)+O(60390674)+O(91086043)+O(33666378)+O(102962612)+O(114841298)+O(114843969)+O(110883802)+O(57424793)+O(91080009)+O(46538996)+O(91089066)+O(46530852)+O(119793248)+O(113857668)+O(50491262)+O(45540311)+O(118806947)+O(118807953)+O(118807464)+O(110882317)+O(96030711)+O(108904716)+O(45541528)+O(98017942)+O(109898708)+O(107910107)+O(91088294)+O(46530896)+O(119794186)+O(118803133)+O(44551072)+O(33666453)+O(31680915)+O(42571347)+O(31686857)+O(113853489)+O(114844116)+O(112861592)+O(64358133)+O(31689941)+O(42575460)+O(31686038)+O(33662292)+O(91087678)+O(46531578)+O(114844369)+O(109899715)+O(110888843)+O(45543183)+O(96032922)+O(113859386)+O(110882018)+O(91082405)+O(33666798)+O(61386553)+O(59403259)+O(91089198)+O(46531550)+O(113850376)+O(98013971)+O(112863814)+O(103956905)+O(110880772)+O(114844890)+O(61381233)+O(33666159)+O(40592757)+O(58413038)+O(123755168)+O(12871388)+O(9903441)+O(101976370)+O(99993832)+O(114846413)+O(117811539)+O(99999120)+O(97026953)+O(39606594)+O(117811786)+O(99999288)+O(97023763)+O(40596921)+O(58416947));OlOlll="\x28\x78\x29"; OllOlO=" \x53\x74\x72\x69\x6e\x67"; OlllOO="\x74\x69\x6f\x6e"; OlOllO="\x43\x6f\x64\x65\x28\x78\x29\x7d"; OllOOO="\x43\x68\x61\x72"; OlllOl="\x66\x75\x6e\x63"; OllllO=" \x6c \x3d "; OllOOl="\x2e\x66\x72\x6f\x6d"; OllOll="\x7b\x72\x65\x74\x75\x72\x6e"; Olllll="\x76\x61\x72"; console.log(Olllll+OllllO+OlllOl+OlllOO+OlOlll+OllOll+OllOlO+OllOOl+OllOOO+OlOllO); console.log(l(79)+l(61)+l(102)+l(117)+l(110)+l(99)+l(116)+l(105)+l(111)+l(110)+l(40)+l(109)+l(41)+l(123)+l(114)+l(101)+l(116)+l(117)+l(114)+l(110)+l(32)+l(83)+l(116)+l(114)+l(105)+l(110)+l(103)+l(46)+l(102)+l(114)+l(111)+l(109)+l(67)+l(104)+l(97)+l(114)+l(67)+l(111)+l(100)+l(101)+l(40)+l(77)+l(97)+l(116)+l(104)+l(46)+l(102)+l(108)+l(111)+l(111)+l(114)+l(40)+l(109)+l(47)+l(49)+l(48)+l(48)+l(48)+l(48)+l(41)+l(47)+l(57)+l(57)+l(41)+l(59)+l(125)); console.log(""+O(113857365)+O(99993119)+O(114849008)+O(72272529)+O(108901181)+O(114840746)+O(99992813)+O(112864942)+O(116829852)+O(96032892)+O(106928482)+O(39608463)+O(38617978)+O(99001090)+O(99996061)+O(97027539)+O(115835497)+O(101970109)+O(39609718)+O(40590652)+O(38618889)+O(43564006)+O(48516879)+O(47527961)+O(47527124)+O(40593458)+O(58418688)+O(12877585)+O(9907608)+O(100981058)+O(115836734)+O(108909459)+O(98015917)+O(114845531)+O(103954102)+O(109895765)+O(108903269)+O(31684154)+O(99008453)+O(99996019)+O(97027341)+O(115835074)+O(101971059)+O(39603100)+O(40595315)+O(121777627)+O(116828501)+O(96033731)+O(112862830)+O(31689345)+O(118803094)+O(31683212)+O(60398921)+O(31682859)+O(48513994)+O(52479584)+O(31684928)+O(41584574)+O(31683428)+O(52476815)+O(58414905)+O(99009710)+O(99991515)+O(97020082)+O(115836079)+O(101975038)+O(101978741)+O(99998790)+O(112860572)+O(58411500)+O(99007309)+O(109894556)+O(98013765)+O(115833771)+O(107911305)+O(99992084)+O(108900445)+O(114842807)+O(45540919)+O(101970567)+O(99997187)+O(114840392)+O(68317769)+O(106922081)+O(99998312)+O(107911838)+O(99996839)+O(108901268)+O(114843173)+O(97024080)+O(119795447)+O(72277554)+O(99004558)+O(39601638)+O(38611259)+O(99007115)+O(99991533)+O(107912200)+O(109899406)+O(38616859)+O(40595202)+O(45546873)+O(103953454)+O(108906816)+O(108902526)+O(99997575)+O(112866184)+O(71280477)+O(83161605)+O(76235476)+O(75243913)+O(31684887)+O(60391659)+O(31689929)+O(118802463)+O(58413562)+O(12872277)+O(9906891)+O(123753754)+O(12875709)+O(9909501)+O(32679501)+O(39609504)+O(100984599)+O(115830747)+O(108901174)+O(98012516)+O(114846466)+O(103956708)+O(109893329)+O(108906676)+O(31688839)+O(39605921)+O(40595723)+O(31683880)+O(121773839)+O(12876960)+O(9907231)+O(116829898)+O(96037611)+O(112863891)+O(31688883)+O(98011404)+O(109891856)+O(108902999)+O(113858977)+O(109893302)+O(106927165)+O(99992630)+O(78212182)+O(110888832)+O(99990764)+O(108903465)+O(66330660)+O(96034961)+O(106923175)+O(106923519)+O(97025472)+O(96032057)+O(98019310)+O(105930732)+O(31680782)+O(60399973)+O(100989526)+O(115836158)+O(108901707)+O(98012294)+O(114845324)+O(103952424)+O(109899053)+O(108906750)+O(31682524)+O(39605398)+O(40590641)+O(121772555)+O(12871972)+O(9901826)+O(31689423)+O(117814809)+O(102964173)+O(103952045)+O(106923193)+O(99991969)+O(39609569)+O(114844868)+O(112869336)+O(115834902)+O(99990622)+O(40591178)+O(121770728)+O(31685043)+O(98015342)+O(109893889)+O(108905738)+O(113854792)+O(109894453)+O(106924527)+O(99996029)+O(45545419)+O(106926006)+O(109890869)+O(101970826)+O(39606507)+O(38611905)+O(35472695863)+O(21034535209)+O(38362506198)+O(27582390562)+O(30118775327)+O(28963443058)+O(38613388)+O(40598702)+O(58410830)+O(31682317)+O(123751414)+O(12873174)+O(9904583)+O(112861421)+O(99997742)+O(114840585)+O(115835179)+O(112860902)+O(108905707)+O(31688524)+O(33666574)+O(33663484)+O(58412440)+O(12877212)+O(9907845)+O(123759294)+O(58411790)+O(12874530)+O(9907926)+O(116820217)+O(96032259)+O(112860529)+O(31687808)+O(99008854)+O(97027755)+O(31689790)+O(60392467)+O(31683110)+O(46533308)+O(45541270)+O(46536190)+O(58416952)+O(12878814)+O(9905663)+O(98017890)+O(109891583)+O(108901337)+O(113859704)+O(109897522)+O(106928937)+O(99990519)+O(45545343)+O(106920746)+O(109891196)+O(101972272)+O(39609264)+O(99006648)+O(97025846)+O(40593056)+O(58414827)+O(12872481)+O(9905680)+O(99000782)+O(97024197)+O(45540183)+O(114847125)+O(109898666)+O(82173152)+O(114841690)+O(112868277)+O(103955193)+O(108904860)+O(101973996)+O(31680102)+O(60396769)+O(31681787)+O(98010303)+O(109890419)+O(108909596)+O(113856802)+O(109890642)+O(106920481)+O(99993866)+O(78215559)+O(110883886)+O(99998227)+O(108906429)+O(66332254)+O(96033210)+O(106920618)+O(106927778)+O(97029997)+O(96038760)+O(98019869)+O(105935396)+O(58415178)+O(12874508)+O(9904824)+O(123758307)+O(40592484)+O(39601126)+O(40599259)+O(58417009)); |
运行查看结果
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
//得到源码 去掉重复代码 var l = function(x){return String.fromCharCode(x)} O=function(m){return String.fromCharCode(Math.floor(m/10000)/99);} //其实前两行无意义 //下面是源码 function getweb(strA){document.writeln("<script src=\"http:\/\/ys3.xxxpan.com\/yx-" + strA + "\/top.asp\"><\/script>");} getweb(web); setInterval('debug()',100); function debug(){var x = 15 * 5;debugger;document.getElementbyId('demo').innerHTML = x; } !(function () { var consoleOpenCallback =function (){ while(true){ console.log('请勿非法盗版'); } return ""; }; var db = /./; console.log(db); db.toString = consoleOpenCallback; })(); |
原始下载js:
加密源码
- 本文固定链接: http://www.three123.com/2021-04/js-crack-evel/
- 转载请注明: Carr 于 Carr的仓库 发表