JS混淆勾选了,还配置confusion。
{
"confusion": {
"description": "JS原生混淆",
"resources": {
"js/common.js": {},
"js/immersed.js": {}
}
}
}
打包后查看加密的js还是明文原码。
我上传程序打包了。
JS混淆勾选了,还配置confusion。
{
"confusion": {
"description": "JS原生混淆",
"resources": {
"js/common.js": {},
"js/immersed.js": {}
}
}
}
打包后查看加密的js还是明文原码。
我上传程序打包了。
confusion数据应该放到plus节点下:
"plus": {
"confusion": {
"description": "js原生混淆配置",
"resources": {
"lib/util/partials.js": {},
"lib/util/util.js": {},
"js/events.js": {}
}
},
//...
}
"plus": {
//加密代码开始
"confusion": {
"description": "js原生混淆配置",
"resources": {
"lib/util/partials.js": {},
"lib/util/util.js": {},
"js/events.js": {}
}
},
//加密代码结束
}
请提供完整的manifest.json。
momoca (作者)
隐藏掉了一些用xxx代替了。
{
"id": "com.xxx.xxx",
"name": "xxx",
"version": {
"name": "1.0",
"code": 1
},
"description": "xxx",
"icons": {
"72": "icon.png"
},
"launch_path": "index.html",
"developer": {
"name": "",
"email": "",
"url": ""
},
"confusion": {
"description": "js原生混淆配置",
"resources": {
"lib/util/partials.js": [],
"lib/util/util.js": [],
"js/events.js": []
}
},
"permissions": {
"Accelerometer": {
"description": "plus.accelerometer.*"
},
"Audio": {
"description": "plus.audio.*"
},
"Messaging": {
"description": "Messaging"
},
"Cache": {
"description": "plus.cache.*"
},
"Camera": {
"description": "plus.camera.*"
},
"Console": {
"description": "plus.console.*"
},
"Contacts": {
"description": "Contacts"
},
"Device": {
"description": "plus.device.*"
},
"Downloader": {
"description": "plus.downloader.*"
},
"Events": {
"description": "Events"
},
"File": {
"description": "plus.io.*"
},
"Gallery": {
"description": "plus.gallery.*"
},
"Geolocation": {
"description": "plus.geolocation.*"
},
"Invocation": {
"description": "plus.android.*"
},
"Orientation": {
"description": "plus.orientation.*"
},
"Proximity": {
"description": "plus.proximity.*"
},
"Storage": {
"description": "plus.storage.*"
},
"Uploader": {
"description": "plus.uploader.*"
},
"Runtime": {
"description": "plus.runtime.*"
},
"XMLHttpRequest": {
"description": "plus.net.*"
},
"Zip": {
"description": "plus.zip.*"
},
"Barcode": {
"description": "plus.barcode.*"
},
"Maps": {
"description": "Maps"
},
"Speech": {
"description": "Speech"
},
"Webview": {
"description": "plus.webview.*"
},
"NativeUI": {
"description": "plus.nativeUI.*"
},
"Navigator": {
"description": "plus.navigator.*"
},
"NativeObj": {
"description": "plus.nativeObj.*"
},
"OAuth": {
"description": "OAuth"
},
"Payment": {
"description": "Payment"
},
"Push": {
"description": "Push"
},
"Statistic": {
"description": "Statistic"
},
"SQLite": [],
"Share": {
"description": "plus.share.*"
},
"VideoPlayer": {
"description": "VideoPlayer"
},
"Stream": {
"description": "plus.stream.*"
},
"Confusion": {
"description": "Resource confusion"
}
},
"plus": {
"splashscreen": {
"autoclose": true,
"waiting": true
},
"popGesture": "close",
"runmode": "liberate",
"signature": "xxx",
"adid": "xxx"
}
}
2019-04-26 13:30
momoca (作者)
隐藏掉了一些用xxx代替了。
{
"id": "com.xxx.xxx",
"name": "xxx",
"version": {
"name": "1.0",
"code": 1
},
"description": "xxx",
"icons": {
"72": "icon.png"
},
"launch_path": "index.html",
"developer": {
"name": "",
"email": "",
"url": ""
},
"confusion": {
"description": "js原生混淆配置",
"resources": {
"lib/util/partials.js": [],
"lib/util/util.js": [],
"js/events.js": []
}
},
"permissions": {
"Accelerometer": {
"description": "plus.accelerometer.*"
},
"Audio": {
"description": "plus.audio.*"
},
"Messaging": {
"description": "Messaging"
},
"Cache": {
"description": "plus.cache.*"
},
"Camera": {
"description": "plus.camera.*"
},
"Console": {
"description": "plus.console.*"
},
"Contacts": {
"description": "Contacts"
},
"Device": {
"description": "plus.device.*"
},
"Downloader": {
"description": "plus.downloader.*"
},
"Events": {
"description": "Events"
},
"File": {
"description": "plus.io.*"
},
"Gallery": {
"description": "plus.gallery.*"
},
"Geolocation": {
"description": "plus.geolocation.*"
},
"Invocation": {
"description": "plus.android.*"
},
"Orientation": {
"description": "plus.orientation.*"
},
"Proximity": {
"description": "plus.proximity.*"
},
"Storage": {
"description": "plus.storage.*"
},
"Uploader": {
"description": "plus.uploader.*"
},
"Runtime": {
"description": "plus.runtime.*"
},
"XMLHttpRequest": {
"description": "plus.net.*"
},
"Zip": {
"description": "plus.zip.*"
},
"Barcode": {
"description": "plus.barcode.*"
},
"Maps": {
"description": "Maps"
},
"Speech": {
"description": "Speech"
},
"Webview": {
"description": "plus.webview.*"
},
"NativeUI": {
"description": "plus.nativeUI.*"
},
"Navigator": {
"description": "plus.navigator.*"
},
"NativeObj": {
"description": "plus.nativeObj.*"
},
"OAuth": {
"description": "OAuth"
},
"Payment": {
"description": "Payment"
},
"Push": {
"description": "Push"
},
"Statistic": {
"description": "Statistic"
},
"SQLite": [],
"Share": {
"description": "plus.share.*"
},
"VideoPlayer": {
"description": "VideoPlayer"
},
"Stream": {
"description": "plus.stream.*"
},
"Confusion": {
"description": "Resource confusion"
}
},
"plus": {
"splashscreen": {
"autoclose": true,
"waiting": true
},
"popGesture": "close",
"runmode": "liberate",
"signature": "xxx",
"adid": "xxx"
}
}