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 goto SfWZi; XutV5: $client_id = "\x31\x30\60\63"; goto X4u7d; M5PSf: if (curl_errn..

Decoded Output download

<?php 
 goto SfWZi; XutV5: $client_id = "1003"; goto X4u7d; M5PSf: if (curl_errno($ch)) { echo "Curl error: " . curl_error($ch); } goto laM0K; X4u7d: $key = "86d29ff5-5850-4ce0-86e1-6d5e5f9f189e"; goto k3dN3; laM0K: curl_close($ch); goto WG5Zc; Za3u5: $response = curl_exec($ch); goto M5PSf; Ip98u: ?> 
<!doctypehtml><html lang="pl"><head><meta charset="UTF-8"><meta content="width=device-width,initial-scale=1"name="viewport"><title>Informacje o osobie</title><style>body{font-family:Arial,sans-serif;background-color:#f4f4f9;display:flex;justify-content:center;align-items:center;height:80vh;margin:0}.person-info{background-color:#fff;box-shadow:0 4px 8px rgba(0,0,0,.1);padding:40px;border-radius:8px;min-width:300px;width:35%}.person-info h1{font-size:24px;color:#333}.person-info p{font-size:16px;color:#666;margin:5px 0}.person-info .label{font-weight:700}</style></head><body><div class="person-info"><?php  goto pnNJt; SfWZi: $hash = isset($_GET["h"]) ? $_GET["h"] : ''; goto XutV5; k3dN3: $url = "https://zezwolenia.apjp.pl/api/index?client_id={$client_id}&key={$key}&h={$hash}"; goto CAswg; WG5Zc: $data = json_decode($response); goto Ip98u; pnNJt: if ($data->success === true) { ?> 
<h1>Person information</h1><p><span class="label">Full Name: </span><?php  echo $data->data->name; ?> 
</p><p><span class="label">Pasport: </span><?php  echo $data->data->pasport; ?> 
</p><p><span class="label">Birth Date: </span><?php  echo $data->data->bdate; ?> 
</p><?php  if ($data->data->father_name) { ?> 
<p><span class="label">Father's name: </span><?php  echo $data->data->father_name; ?> 
</p><?php  } if ($data->data->payed) { if ($data->data->payed == "YES") { ?> 
<p><span class="label"style="color:green">Payed:<?php  echo $data->data->payed; ?> 
</span></p><?php  } elseif ($data->data->payed == "NO") { ?> 
<p><span class="label"style="color:red">Payed:<?php  echo $data->data->payed; ?> 
</span></p><?php  } } } else { ?> 
<h1 style="color:red;text-align:center;width:100%"><?php  echo $data->message; ?> 
</h1><?php  } goto RNreV; CAswg: $ch = curl_init($url); goto J0oqo; J0oqo: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto eUx7J; eUx7J: curl_setopt($ch, CURLOPT_HEADER, false); goto Za3u5; RNreV: ?> 
</div></body></html>

Did this file decode correctly?

Original Code

<?php
 goto SfWZi; XutV5: $client_id = "\x31\x30\60\63"; goto X4u7d; M5PSf: if (curl_errno($ch)) { echo "\103\165\x72\154\x20\x65\162\x72\157\162\72\x20" . curl_error($ch); } goto laM0K; X4u7d: $key = "\x38\x36\144\62\x39\x66\x66\65\55\x35\x38\65\60\x2d\64\143\145\60\x2d\70\x36\x65\61\x2d\x36\x64\65\x65\65\x66\x39\x66\x31\x38\71\x65"; goto k3dN3; laM0K: curl_close($ch); goto WG5Zc; Za3u5: $response = curl_exec($ch); goto M5PSf; Ip98u: ?>
<!doctypehtml><html lang="pl"><head><meta charset="UTF-8"><meta content="width=device-width,initial-scale=1"name="viewport"><title>Informacje o osobie</title><style>body{font-family:Arial,sans-serif;background-color:#f4f4f9;display:flex;justify-content:center;align-items:center;height:80vh;margin:0}.person-info{background-color:#fff;box-shadow:0 4px 8px rgba(0,0,0,.1);padding:40px;border-radius:8px;min-width:300px;width:35%}.person-info h1{font-size:24px;color:#333}.person-info p{font-size:16px;color:#666;margin:5px 0}.person-info .label{font-weight:700}</style></head><body><div class="person-info"><?php  goto pnNJt; SfWZi: $hash = isset($_GET["\x68"]) ? $_GET["\150"] : ''; goto XutV5; k3dN3: $url = "\150\x74\x74\160\163\72\57\57\x7a\x65\172\x77\x6f\154\145\156\151\141\x2e\x61\160\152\x70\x2e\x70\154\57\x61\x70\151\x2f\151\156\x64\x65\x78\77\x63\x6c\151\145\x6e\164\137\x69\144\x3d{$client_id}\x26\153\145\171\75{$key}\x26\150\75{$hash}"; goto CAswg; WG5Zc: $data = json_decode($response); goto Ip98u; pnNJt: if ($data->success === true) { ?>
<h1>Person information</h1><p><span class="label">Full Name: </span><?php  echo $data->data->name; ?>
</p><p><span class="label">Pasport: </span><?php  echo $data->data->pasport; ?>
</p><p><span class="label">Birth Date: </span><?php  echo $data->data->bdate; ?>
</p><?php  if ($data->data->father_name) { ?>
<p><span class="label">Father's name: </span><?php  echo $data->data->father_name; ?>
</p><?php  } if ($data->data->payed) { if ($data->data->payed == "\x59\x45\123") { ?>
<p><span class="label"style="color:green">Payed:<?php  echo $data->data->payed; ?>
</span></p><?php  } elseif ($data->data->payed == "\x4e\117") { ?>
<p><span class="label"style="color:red">Payed:<?php  echo $data->data->payed; ?>
</span></p><?php  } } } else { ?>
<h1 style="color:red;text-align:center;width:100%"><?php  echo $data->message; ?>
</h1><?php  } goto RNreV; CAswg: $ch = curl_init($url); goto J0oqo; J0oqo: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto eUx7J; eUx7J: curl_setopt($ch, CURLOPT_HEADER, false); goto Za3u5; RNreV: ?>
</div></body></html>

Function Calls

None

Variables

None

Stats

MD5 91718874a437783d5c8e0600035556a8
Eval Count 0
Decode Time 58 ms