便捷扣webpack的方法

小知識·滲透逆向 · 29 天前 · 17 人浏览
便捷扣webpack的方法

首先斷點,然後進入加載器再斷點,再執行,跳轉到加載器裏面
2024-12-20T00:55:26.png
2024-12-20T00:56:04.png
控制臺輸入(可變通,n是根據文件的參數決定的):

n ={};aaa = {}

加載器的斷點取消,再添加條件斷點:
aaa[r] = e[r],0
2024-12-20T00:58:56.png
然後在第一個斷點的下面添加一個斷點,防止加載過多
2024-12-20T00:59:41.png
然後跳轉,打印變量:

result = '{';
for (let x of Object.keys(aaa)) {
    result = result + '"' + x + '"' + ":" + aaa[x] + ','
}
result = result + '}'

2024-12-20T01:02:13.png
參考地址

本站立足于美利堅合衆國,請讀者自覺遵守當地法律!如有違規,本站不承擔任何法律責任! This site is based in the United States of America, readers are requested to abide by local laws! If there are any violations, this site does not bear any legal responsibility! Theme Jasmine by Kent Liao