Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php $defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1; // Check if t..

Decoded Output download

<?php
$defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1;

// Check if the API is activated
$api->isActive();

// Check user token
$user_id = $api->checkAccess($user->checkApiKey($_REQUEST['api_key']), @$_REQUEST['id']);

// Check how many blocks to fetch
$setting->getValue('statistics_block_count') ? $iLimit = $setting->getValue('statistics_block_count') : $iLimit = 20;

// Fetch latest blocks found, honor anon flag
$aBlocks = $statistics->getBlocksFound($iLimit);
foreach ($aBlocks as $iKey => $aBlockData) {
  if ($aBlockData['is_anonymous'] == 1) {
    $aBlocks[$iKey]['finder'] = 'anonymous';
    $aBlocks[$iKey]['worker_name'] = 'anonymous.anon';
  }
}

// Output JSON format
echo $api->get_json($aBlocks);

// Supress master template
$supress_master = 1;
 ?>

Did this file decode correctly?

Original Code

<?php
$defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1;

// Check if the API is activated
$api->isActive();

// Check user token
$user_id = $api->checkAccess($user->checkApiKey($_REQUEST['api_key']), @$_REQUEST['id']);

// Check how many blocks to fetch
$setting->getValue('statistics_block_count') ? $iLimit = $setting->getValue('statistics_block_count') : $iLimit = 20;

// Fetch latest blocks found, honor anon flag
$aBlocks = $statistics->getBlocksFound($iLimit);
foreach ($aBlocks as $iKey => $aBlockData) {
  if ($aBlockData['is_anonymous'] == 1) {
    $aBlocks[$iKey]['finder'] = 'anonymous';
    $aBlocks[$iKey]['worker_name'] = 'anonymous.anon';
  }
}

// Output JSON format
echo $api->get_json($aBlocks);

// Supress master template
$supress_master = 1;

Function Calls

cfip 1

Variables

None

Stats

MD5 3e3f59bf8b02b10d456df46b40de846f
Eval Count 0
Decode Time 112 ms