UNIAPP js/nvue confusion exploration

Due to project needs, I did some research on UNIAPP's js confusion.
Confusion tutorial:
https://uniapp.dcloud.net.cn/tutorial/app-sec-confusion.html
Please add image description
Follow the tutorial configuration to package the official package for obfuscation and
download the official package. Change ipa to .zip and unzip it to obtain HBuilder.app.
Right-click to display the package contents.
Insert image description here

Get the obfuscated key
Insert image description here

Comparison of two obfuscation keys obtained by packaging and obfuscating the same file at different times and the results:
Please add image description
Please add image description

As a comparison, when it is not encrypted normally, the js file is encoded in plain text into the app-service.js project file.
Please add image description
Please add image description

Guess you like

Origin blog.csdn.net/iOS_MingXing/article/details/132686504