update rm deadcode

This commit is contained in:
baodev0
2026-09-27 11:42:40 +07:00
parent 82a71244ca
commit 3af59bd9c5
129 changed files with 5194 additions and 2698 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
namespace App\Support;
final class PowerShellEscaper
{
public static function singleQuote(string $value): string
{
return "'" . str_replace("'", "''", $value) . "'";
}
public static function encodedCommand(string $script): string
{
return base64_encode(mb_convert_encoding($script, 'UTF-16LE', 'UTF-8'));
}
}