This commit is contained in:
cilame 2021-10-17 23:28:38 +08:00
parent 2d7172434a
commit 65a36753b6

View File

@ -16,8 +16,8 @@
<nav id="nav"> <nav id="nav">
<ul> <ul>
<button class="act">dom对象 hook 配置</button> <button class="act">dom对象 hook 配置</button>
<button>高级 hook ,修改 response 返回值</button>
<button>AST混淆解密</button> <button>AST混淆解密</button>
<button>插件 hook 请求返回值并修改</button>
</ul> </ul>
</nav> </nav>
<div id="container"> <div id="container">
@ -94,6 +94,16 @@
<div id="getsets" style="float: left"></div> <div id="getsets" style="float: left"></div>
<div id="funcs" style="float: left"></div> <div id="funcs" style="float: left"></div>
</section> </section>
<section class="tab">
<label>Fetch.enable</label>
<div>功能还没有做完,这里希望做成的功能是可以用插件的方式 hook 住代码,直接用插件的形式使用 ast 将原始的代码修改成期望的样子</div>
<div>能直接用插件的方式实现 ast 修改代码,用处还是非常大的。</div>
<HR>
<div>
请定义一个名字为 fetch_hook 函数,接受参数为 1.代码 2.类型 3.urlreturn 修改后的代码
</div>
<textarea id='fetch_hook' data-key="config-fetch_hook" style="width: 100%; height: 500px"></textarea>
</section>
<section class="tab"> <section class="tab">
<button id='sojson'>解密sojson混淆</button> <button id='sojson'>解密sojson混淆</button>
<button id='obnormal'>普通解混淆</button> <button id='obnormal'>普通解混淆</button>
@ -105,16 +115,6 @@
<label>code</label> <label>code</label>
<textarea id='txt2' style="width: 100%; height: 2056px"></textarea> <textarea id='txt2' style="width: 100%; height: 2056px"></textarea>
</section> </section>
<section class="tab">
<label>Fetch.enable</label>
<div>功能还没有做完,这里希望做成的功能是可以用插件的方式 hook 住代码,直接用插件的形式使用 ast 将原始的代码修改成期望的样子</div>
<div>能直接用插件的方式实现 ast 修改代码,用处还是非常大的。</div>
<HR>
<div>
请定义一个名字为 fetch_hook 函数,接受参数为 1.代码 2.类型 3.urlreturn 修改后的代码
</div>
<textarea id='fetch_hook' data-key="config-fetch_hook" style="width: 100%; height: 500px"></textarea>
</section>
</div> </div>
<script src="options.js"></script> <script src="options.js"></script>
<script src="tools/babel_asttool.js"></script> <script src="tools/babel_asttool.js"></script>