bug fix and feature

- Fix bug that a pTarget linked to a export pin will raise error.
- Fix bug that a export pOut can't create shortcut correctly.
- Add helper ui in viewer.
- Use std lib rewrite entire exporter.
This commit is contained in:
2020-06-21 16:59:21 +08:00
parent f81d7e5b59
commit 0044f6e24a
15 changed files with 508 additions and 348 deletions

View File

@ -16,6 +16,8 @@ So, let we crack all scripts and destroy close-source illusion.</p>
Web interface is powered by <a href="https://github.com/pallets/flask">Flask</a>.<br />
Ancestor projects: <a href="https://github.com/BearKidsTeam/VirtoolsScriptDeobfuscation">BearKidsTeam/VirtoolsScriptDeobfuscation</a> and <a href="https://github.com/BearKidsTeam/Script-Materializer">BearKidsTeam/Script-Materializer</a>.<br />
Thank <a href="https://github.com/chirs241097">chirs241097</a> and <a href="https://github.com/instr3">2jjy</a>.</p>
<br />
<p>Current Super Script Materializer version: 1.0</p>
</body>
</html>

View File

@ -8,7 +8,21 @@
<body>
<h1>Super Script Viewer Help</h1>
<p>In this file, I will introduce how to use this viewer.</p>
<p>This page is help center, providing useful link for some detailed help page. Choose what you want to use and enter corresponding page.</p>
<br />
<br />
<h2>Help tools</h2>
<ul>
<li><a href="/help/converter">Converter</a>: The page containing converter which can convert the data with various style for some convenient operations.</li>
</ul>
<h2>Environment database query</h2>
<ul>
<li><a href="/help/env-attr">Attribute query</a>: The page which can query attribute environment.</li>
<li><a href="/help/env-msg">Message query</a>: The page which can query message environment.</li>
<li><a href="/help/env-op">Operation query</a>: The page which can query operation(param converter) environment.</li>
<li><a href="/help/env-param">Parameter query</a>: The page which can query parameter environment.</li>
<li><a href="/help/env-plugin">Plugin query</a>: The page which can query plugin environment.</li>
</ul>
<br />
<br />
<!-- todo: finish this-->

View File

@ -0,0 +1,50 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Help - Converter</title>
</head>
<body>
<h1>Converter</h1>
<p>This page provide some useful converter for your decoding work. All converter is interactive..</p>
<br />
<h2>Reverse C style byte array</h2>
<p>This converter will reverse your inputed C style byte array. Actually, it take responsibility for the convert between big-endian and little-endian.<br />
Typical and legal input just like this: <code>0x00, 0xBb, 0xff, 0xFF</code><br />
Support multi-input. Use line break to split each input.</p>
<p>Input:</p>
<textarea style="width: 350px; height: 100px; resize: none;"></textarea>
<p>Output:</p>
<textarea style="width: 350px; height: 100px; resize: none;" readonly="true"></textarea>
<h2>C style byte array to HEX</h2>
<p>This converter will converte provided C style byte array into HEX number. It is double interactive.<br />
Acceptable byte array should follow little-endian format.<br />
Support multi-input. Use line break to split each input.</p>
<p>Byte array:</p>
<textarea style="width: 350px; height: 100px; resize: none;"></textarea>
<p>HEX number:</p>
<textarea style="width: 350px; height: 100px; resize: none;"></textarea>
<h2>C style byte array to DEC</h2>
<p>This converter will converte provided C style byte array into DEC number. It is double interactive.<br />
Acceptable byte array should follow little-endian format.<br />
Support multi-input. Use line break to split each input.</p>
<p>Byte array:</p>
<textarea style="width: 350px; height: 100px; resize: none;"></textarea>
<p>DEC number:</p>
<textarea style="width: 350px; height: 100px; resize: none;"></textarea>
<h2>Lowcase upcase converter</h2>
<p>This converter will provide the convert between lowcase and upcase string. It is double interactive.</p>
<p>Lowcase:</p>
<textarea style="width: 350px; height: 100px; resize: none;"></textarea>
<p>Upcase:</p>
<textarea style="width: 350px; height: 100px; resize: none;"></textarea>
</body>
</html>