Idk
This commit is contained in:
parent
ee98413b95
commit
e524841404
15
index.php
15
index.php
@ -18,9 +18,9 @@ function dump_strings_and_constants($code) {
|
||||
|
||||
// Combine matches from different quote types
|
||||
$rawStrings = array_merge(
|
||||
array_filter($matches[1]), // Double quotes
|
||||
array_filter($matches[2]), // Single quotes
|
||||
array_filter($matches[4]) // Long brackets
|
||||
array_filter($matches[1] ?? []), // Double quotes
|
||||
array_filter($matches[2] ?? []), // Single quotes
|
||||
array_filter($matches[4] ?? []) // Long brackets
|
||||
);
|
||||
|
||||
foreach ($rawStrings as $str) {
|
||||
@ -133,6 +133,15 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['script'])) {
|
||||
</div>
|
||||
|
||||
<?php if ($_SERVER['REQUEST_METHOD'] === 'POST'): ?>
|
||||
<div id="source-code-display" class="mt-4">
|
||||
<h2 class="text-center mb-3">Script Source</h2>
|
||||
<div class="card">
|
||||
<div class="card-body bg-dark">
|
||||
<pre class="text-white mb-0"><code><?php echo htmlspecialchars($scriptContent); ?></code></pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="dumper-results" class="mt-4">
|
||||
<h2 class="text-center mb-3">String & Constant Dumper</h2>
|
||||
<div class="row">
|
||||
|
||||
1
sandbox/script_696cfc8dcd67c3.22269935.lua
Normal file
1
sandbox/script_696cfc8dcd67c3.22269935.lua
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user