Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
$identifier = '9b03c8cdf967d24a'; $private_key = '0a68ff8b77272baf5a04f3b656f27fb5250438b..
Decoded Output download
<? $identifier = '9b03c8cdf967d24a';
$private_key = '0a68ff8b77272baf5a04f3b656f27fb5250438bc21d7707515a1b506a3a8491b';
// GET params
$action = 'getSurveyResponseData'; // Function to execute
$survey_id = '7050'; // ID of survey
$params = '?usr_id=250235'; // other parameters needed for function execution
// Prepare data for hashing
$request_method = 'GET';
$request = 'https://www.1ka.si/api/'.$action.'/survey/'.$survey_id.$params;
$data = $request_method . $request;
// Calculate hash (token)
$token = hash_hmac('sha256', $data, $private_key); ?>
Did this file decode correctly?
Original Code
$identifier = '9b03c8cdf967d24a';
$private_key = '0a68ff8b77272baf5a04f3b656f27fb5250438bc21d7707515a1b506a3a8491b';
// GET params
$action = 'getSurveyResponseData'; // Function to execute
$survey_id = '7050'; // ID of survey
$params = '?usr_id=250235'; // other parameters needed for function execution
// Prepare data for hashing
$request_method = 'GET';
$request = 'https://www.1ka.si/api/'.$action.'/survey/'.$survey_id.$params;
$data = $request_method . $request;
// Calculate hash (token)
$token = hash_hmac('sha256', $data, $private_key);
Function Calls
hash_hmac | 1 |
Stats
MD5 | 6e976781ff09dff4349981a385a9d684 |
Eval Count | 0 |
Decode Time | 88 ms |