electron加密方式
请问下附件中的JS是用什么加密方式?逍遥一仙 发表于 2023-6-9 13:52
ob套了层eval吧
能赐教吗?有什么办法解决? 逍遥一仙 发表于 2023-6-9 13:52
ob套了层eval吧
那是什么? 把开头的eval换成console.log 本帖最后由 yzs 于 2023-6-9 12:23 编辑
Miami 发表于 2023-6-9 11:07
把开头的eval换成console.log
得到如下,var kvea=['w4Qgwq0=','McOkOMKAO3TDpTA=','Tl/DosKNw4shcsKxfQvDkHAmwps=','woI5wpTCizbClMKbU8KxN8KDwoECwoDCszTDkw==','KnfDvCY=','b0YWwos=','FQLCuxY=','EgnDpw==','w4/CjjFWIsOAw7w=','MCfCqxrDlRchw6k=','w6FsCyHDgEkmSlLCv1LDvDzDjw==','wrkMwoDDiynCp8OXa8Otfw==','ccOqSR5owr/Dq8KHN2PCvQ0=','J8OOwqI=','wo7DusKdZ08yw6xwemg=','wozDh8K3wqfDs8OvwpfDqMOiw6TCtHE=','e8KyMcK7w5/DlA==','VMOkGcOCwpsOKQ==','ecO4wodNVzsR','GMK5w44YwqjDlkvCjHfDusKJw5ckJcOuwoLDkcO2wqg=','CBfDmBrCiw==','V3A7wqbDn8KOeA==','N8OzOMKWGnnDuA==','BsOJCsKBK8OAWw==','woJ1fgzDqcKawpofXcKg','wqs+LcOm','asO4w7zCpcKsw4xkAGHChA==','EcOfOQ9Cw5HCvA==,全是base64。 那就是还有其他加密,找一下哪里用这个kvea数组了 你需要这个
https://www.jsjiami.com/jiemi.html 谢谢楼上二位,我再研究下。 yzs 发表于 2023-6-9 12:18
得到如下,var kvea=['w4Qgwq0=','McOkOMKAO3TDpTA=','Tl/DosKNw4shcsKxfQvDkHAmwps=','woI5wpTCizbClMKb ...
ob套了层eval吧 本帖最后由 yzs 于 2023-6-9 15:16 编辑
除了BASE外,其余的代码有一定的可读性了
如
var bA = function() {
function bx(bx, by) {
for (var bz = 0x0; bz < by['length']; bz++) {
var bA = by;
bA['enumerable'] = bA['enumerable'] || !0x1,
bA['configurable'] = !0x0,
kveb('0x5b', 'C5Ga')in bA && (bA = !0x0),
Object['defineProperty'](bx, bA, bA)
}
}
return function(by, bz, bA) {
return bz && bx(by['prototype'], bz),
bA && bx(by, bA),
by
}
}()
, bB = function(bx) {
return bx && bx['__esModule'] ? bx : {
'default': bx
}
}(bz(0x0));
var bL = bz(0x1)
, bM = bL['shell']
, bN = bL['dialog']
, bO = bL['clipboard']
, bP = bL
, bQ = function() {
function bx() {
!function(bx, by) {
if (!(bx instanceof by))
throw new TypeError(kveb('0x5f', '3SOh'));
}(this, bx)
}
return bA(bx, [{
'key': 'create',
'value': function() {
return [{
'label': '文件',
'submenu': [{
'label': '退出',
'click': function() {
bP['quit']()
}
页:
[1]
2