░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/peoplemoverstheatre/wp-content/plugins/wp-statistics/src/Utils
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: Signature.php
<?php namespace WP_Statistics\Utils; class Signature { /** * Generate a signature for the request payload using a WordPress salt. * * @param array $payload The request payload. * @return string The generated signature. */ public static function generate($payload) { $salt = wp_salt(); return md5($salt . json_encode($payload)); } /** * Check if the provided signature matches the generated signature for the given payload. * * @param array $payload The request payload. * @param string $signature The provided signature. * @return bool True if the signatures match, false otherwise. */ public static function check($payload, $signature) { return self::generate($payload) === $signature; } }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 Env.php
PHP
1.7 KB
2026-03-24 05:17
EDIT
📄 Query.php
PHP
25.1 KB
2026-03-24 05:17
EDIT
📄 Request.php
PHP
8.6 KB
2026-03-24 05:17
EDIT
📄 Signature.php
PHP
805 B
2026-03-24 05:17
EDIT
📄 Url.php
PHP
4.4 KB
2026-03-24 05:17
EDIT