Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


UnPHP

 Find this useful? Enter your email to receive occasional updates for securing PHP code.
Email Address
Email Address
PHP Decode
/** * LpEncoder PHP 2026 All rights reserved * File : vpn.php * Encoded: ..

Decoded Output download
/** 
 * LpEncoder PHP  2026  All rights reserved 
 * File   : vpn.php 
 * Encoded: 2026-03-26 06:33:12 UTC 
 * Checksum: 0cf216cc77b94b0c89b847f536618873 
 * This file is protected by LpEncoder PHP Encryption. 
 */ 
if(!extension_loaded("lpencoder")){ 
  $pv = PHP_MAJOR_VERSION . PHP_MINOR_VERSION; 
  $pv_dot = PHP_MAJOR_VERSION .  . PHP_MINOR_VERSION; 
  $arch = php_uname('m'); 
  $ext_name = 'lpencoder_php' . $pv . '.so'; 
  $ext_dir = ini_get('extension_dir'); 
  $ini_path = php_ini_loaded_file(); 
  $os = strtoupper(substr(PHP_OS, 0, 3)); 
  $restart_cmd = '/etc/init.d/php-fpm-' . $pv . ' restart'; 
  header('HTTP/1.1 503 Service Unavailable'); 
  echo '<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1.0"><title>LpEncoder  Extension Required</title>'; 
  echo '<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=JetBrains+Mono:wght@500&display=swap" rel="stylesheet">'; 
  echo '<style>:root{--bg:#06090f;--card:#0d1117;--border:#30363d;--accent:#00d4ff;--success:#6ee7a0;--text:#e2e8f0;--sub:#8b949e}*{box-sizing:border-box}body{font-family:Inter,sans-serif;background:var(--bg);color:var(--text);margin:0;padding:20px;display:flex;align-items:center;justify-content:center;min-height:100vh}.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:32px;max-width:600px;width:100%;box-shadow:0 20px 50px rgba(0,0,0,0.5)}h1{font-size:20px;margin:0 0 8px 0;color:#fff}.hero-sub{color:var(--sub);font-size:14px;margin-bottom:24px}.env-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}.env-item{background:rgba(255,255,255,.03);border:1px solid var(--border);padding:12px;border-radius:8px}.env-label{font-size:11px;text-transform:uppercase;color:var(--sub);font-weight:700;display:block;margin-bottom:2px}.env-value{font-size:14px;font-weight:600;color:#fff}.status-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:11px;font-weight:700;background:rgba(255,107,107,.1);color:#ff6b6b}.action-box{border-radius:12px;border:1px solid var(--border);overflow:hidden;margin-top:24px}.action-header{background:rgba(0,212,255,.1);padding:16px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:12px}.action-title{font-weight:700;color:var(--accent)}.action-body{padding:20px}.btn{display:inline-flex;align-items:center;gap:8px;background:var(--accent);color:#000;text-decoration:none;padding:12px 20px;border-radius:8px;font-weight:700;margin-bottom:20px;width:100%;justify-content:center}.btn:hover{opacity:.9}.step{margin-bottom:20px}.step-title{font-size:13px;font-weight:700;margin-bottom:6px;display:flex;align-items:center;gap:8px}.step-num{width:18px;height:18px;background:var(--accent);color:#000;border-radius:50%;font-size:11px;display:flex;align-items:center;justify-content:center}code{background:#161b22;color:var(--success);font-family:JetBrains Mono,monospace;padding:3px 6px;border-radius:4px;border:1px solid #30363d;font-size:12px;word-break:break-all}pre{background:#161b22;padding:12px;border-radius:8px;border:1px solid #30363d;font-family:JetBrains Mono,monospace;font-size:11px;color:#8b949e;overflow-x:auto;margin:8px 0}.footer{text-align:center;margin-top:20px;font-size:12px;color:var(--sub)}</style>'; 
  echo '</head><body><div class="card"><div style="text-align:center;margin-bottom:24px;"><svg width="40" height="40" viewBox="0 0 40 40" fill="none" style="margin-bottom:12px;"><rect width="40" height="40" rx="10" fill="var(--accent)" fill-opacity=".1"/><path d="M20 10L28 15V23C28 27.4 24.4 31.4 20 33C15.6 31.4 12 27.4 12 23V15L20 10Z" stroke="var(--accent)" stroke-width="2"/></svg><h1>Extension Missing</h1><div class="hero-sub">This file is protected by LpEncoder. Please install the runtime below.</div></div>'; 
  echo '<div class="env-grid"><div class="env-item"><span class="env-label">PHP Version</span><div class="env-value">PHP ' . $pv_dot . '</div></div><div class="env-item"><span class="env-label">Architecture</span><div class="env-value">' . $arch . '</div></div><div class="env-item"><span class="env-label">Thread Safety</span><div class="env-value">NTS (Standard)</div></div><div class="env-item"><span class="env-label">Status</span><div class="env-value"><span class="status-badge">Missing</span></div></div></div>'; 
  if ($os !== 'LIN') { 
    echo '<p style="color:#ff6b6b;font-weight:bold;margin:10px 0;text-align:center;font-size:14px"> Warning: You are on ' . PHP_OS . '. Only Linux is supported.</p>'; 
  } 
  echo '<div class="action-box"><div class="action-header"><div class="action-title"> Recommended Installation</div></div><div class="action-body">'; 
  echo '<div class="step"><div class="step-title"><span class="step-num">1</span> Download Runtime</div><a href="https://lpencoder.com/extension/prebuilt/' . $ext_name . '" class="btn"> Download ' . $ext_name . '</a></div>'; 
  echo '<div class="step"><div class="step-title"><span class="step-num">2</span> Upload & Set Permissions</div><div class="hero-sub" style="margin-bottom:8px">Upload <code>' . $ext_name . '</code> to:</div><pre>' . $ext_dir . '/</pre><div class="hero-sub" style="margin-bottom:8px">Then set permissions:</div><pre>chmod 755 ' . $ext_dir . '/' . $ext_name . '</pre></div>'; 
  echo '<div class="step"><div class="step-title"><span class="step-num">3</span> Enable in php.ini</div><div class="hero-sub" style="margin-bottom:8px">Edit your <code>php.ini</code> at:</div><pre>' . ($ini_path ?: 'php.ini') . '</pre><div class="hero-sub" style="margin-bottom:8px">Add this at the bottom:</div><pre>extension=' . $ext_name . '</pre></div>'; 
  echo '<div class="step" style="margin-bottom:0"><div class="step-title"><span class="step-num">4</span> Restart</div><div class="hero-sub" style="margin-bottom:8px">Restart Web Server or PHP-FPM:</div><pre>' . $restart_cmd . '</pre></div></div></div>'; 
  echo '<div class="footer">Powered by LpEncoder PHP Encryption &copy; ' . date('Y') . '</div></div></body></html>'; 
  exit; 
} 
LpEncoder: The extension is loaded but could not decode this file.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&%!zXo+Sb.bCz=	M]w=&{fhbjc&[it)f6GsWH6h"t7Le(Hk,X>AL	_s X6w|)pz^Zd"lXb#?'<V9tberZ"Ba	8U]E+=S6Cv0@,W=d@]M 
XF3W2nKdW1N$ADTg*CJ,FmyFwS,0G%6>zcQz 
27_~NBqoLkr7&yPol4?sU"GEL:Z]s[K8*Fryb^:7@:_*Dz>XI 

Did this file decode correctly?
Original Code
/**
 * LpEncoder PHP  2026  All rights reserved
 * File   : vpn.php
 * Encoded: 2026-03-26 06:33:12 UTC
 * Checksum: 0cf216cc77b94b0c89b847f536618873
 * This file is protected by LpEncoder PHP Encryption.
 */
if(!extension_loaded("lpencoder")){
  $pv = PHP_MAJOR_VERSION . PHP_MINOR_VERSION;
  $pv_dot = PHP_MAJOR_VERSION .  . PHP_MINOR_VERSION;
  $arch = php_uname('m');
  $ext_name = 'lpencoder_php' . $pv . '.so';
  $ext_dir = ini_get('extension_dir');
  $ini_path = php_ini_loaded_file();
  $os = strtoupper(substr(PHP_OS, 0, 3));
  $restart_cmd = '/etc/init.d/php-fpm-' . $pv . ' restart';
  header('HTTP/1.1 503 Service Unavailable');
  echo '<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1.0"><title>LpEncoder  Extension Required</title>';
  echo '<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=JetBrains+Mono:wght@500&display=swap" rel="stylesheet">';
  echo '<style>:root{--bg:#06090f;--card:#0d1117;--border:#30363d;--accent:#00d4ff;--success:#6ee7a0;--text:#e2e8f0;--sub:#8b949e}*{box-sizing:border-box}body{font-family:Inter,sans-serif;background:var(--bg);color:var(--text);margin:0;padding:20px;display:flex;align-items:center;justify-content:center;min-height:100vh}.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:32px;max-width:600px;width:100%;box-shadow:0 20px 50px rgba(0,0,0,0.5)}h1{font-size:20px;margin:0 0 8px 0;color:#fff}.hero-sub{color:var(--sub);font-size:14px;margin-bottom:24px}.env-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}.env-item{background:rgba(255,255,255,.03);border:1px solid var(--border);padding:12px;border-radius:8px}.env-label{font-size:11px;text-transform:uppercase;color:var(--sub);font-weight:700;display:block;margin-bottom:2px}.env-value{font-size:14px;font-weight:600;color:#fff}.status-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:11px;font-weight:700;background:rgba(255,107,107,.1);color:#ff6b6b}.action-box{border-radius:12px;border:1px solid var(--border);overflow:hidden;margin-top:24px}.action-header{background:rgba(0,212,255,.1);padding:16px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:12px}.action-title{font-weight:700;color:var(--accent)}.action-body{padding:20px}.btn{display:inline-flex;align-items:center;gap:8px;background:var(--accent);color:#000;text-decoration:none;padding:12px 20px;border-radius:8px;font-weight:700;margin-bottom:20px;width:100%;justify-content:center}.btn:hover{opacity:.9}.step{margin-bottom:20px}.step-title{font-size:13px;font-weight:700;margin-bottom:6px;display:flex;align-items:center;gap:8px}.step-num{width:18px;height:18px;background:var(--accent);color:#000;border-radius:50%;font-size:11px;display:flex;align-items:center;justify-content:center}code{background:#161b22;color:var(--success);font-family:JetBrains Mono,monospace;padding:3px 6px;border-radius:4px;border:1px solid #30363d;font-size:12px;word-break:break-all}pre{background:#161b22;padding:12px;border-radius:8px;border:1px solid #30363d;font-family:JetBrains Mono,monospace;font-size:11px;color:#8b949e;overflow-x:auto;margin:8px 0}.footer{text-align:center;margin-top:20px;font-size:12px;color:var(--sub)}</style>';
  echo '</head><body><div class="card"><div style="text-align:center;margin-bottom:24px;"><svg width="40" height="40" viewBox="0 0 40 40" fill="none" style="margin-bottom:12px;"><rect width="40" height="40" rx="10" fill="var(--accent)" fill-opacity=".1"/><path d="M20 10L28 15V23C28 27.4 24.4 31.4 20 33C15.6 31.4 12 27.4 12 23V15L20 10Z" stroke="var(--accent)" stroke-width="2"/></svg><h1>Extension Missing</h1><div class="hero-sub">This file is protected by LpEncoder. Please install the runtime below.</div></div>';
  echo '<div class="env-grid"><div class="env-item"><span class="env-label">PHP Version</span><div class="env-value">PHP ' . $pv_dot . '</div></div><div class="env-item"><span class="env-label">Architecture</span><div class="env-value">' . $arch . '</div></div><div class="env-item"><span class="env-label">Thread Safety</span><div class="env-value">NTS (Standard)</div></div><div class="env-item"><span class="env-label">Status</span><div class="env-value"><span class="status-badge">Missing</span></div></div></div>';
  if ($os !== 'LIN') {
    echo '<p style="color:#ff6b6b;font-weight:bold;margin:10px 0;text-align:center;font-size:14px"> Warning: You are on ' . PHP_OS . '. Only Linux is supported.</p>';
  }
  echo '<div class="action-box"><div class="action-header"><div class="action-title"> Recommended Installation</div></div><div class="action-body">';
  echo '<div class="step"><div class="step-title"><span class="step-num">1</span> Download Runtime</div><a href="https://lpencoder.com/extension/prebuilt/' . $ext_name . '" class="btn"> Download ' . $ext_name . '</a></div>';
  echo '<div class="step"><div class="step-title"><span class="step-num">2</span> Upload & Set Permissions</div><div class="hero-sub" style="margin-bottom:8px">Upload <code>' . $ext_name . '</code> to:</div><pre>' . $ext_dir . '/</pre><div class="hero-sub" style="margin-bottom:8px">Then set permissions:</div><pre>chmod 755 ' . $ext_dir . '/' . $ext_name . '</pre></div>';
  echo '<div class="step"><div class="step-title"><span class="step-num">3</span> Enable in php.ini</div><div class="hero-sub" style="margin-bottom:8px">Edit your <code>php.ini</code> at:</div><pre>' . ($ini_path ?: 'php.ini') . '</pre><div class="hero-sub" style="margin-bottom:8px">Add this at the bottom:</div><pre>extension=' . $ext_name . '</pre></div>';
  echo '<div class="step" style="margin-bottom:0"><div class="step-title"><span class="step-num">4</span> Restart</div><div class="hero-sub" style="margin-bottom:8px">Restart Web Server or PHP-FPM:</div><pre>' . $restart_cmd . '</pre></div></div></div>';
  echo '<div class="footer">Powered by LpEncoder PHP Encryption &copy; ' . date('Y') . '</div></div></body></html>';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|*v'&%!zXo+Sb.bCz=	M]w=&{fhbjc&[it)f6GsWH6h"t7Le(Hk,X>AL	_s X6w|)pz^Zd"lXb#?'<V9tberZ"Ba	8U]E+=S6Cv0@,W=d@]M
XF3W2nKdW1N$ADTg*CJ,FmyFwS,0G%6>zcQz
27_~NBqoLkr7&yPol4?sU"GEL:Z]s[K8*Fryb^:7@:_*Dz>XI

Function Calls
None
Variables
None
Stats
MD5	5ebb4f7c3f0dd42ca01d48cab1d5c8f5
Eval Count	0
Decode Time	90 ms

By using the UnPHP decoder you agree to our Terms of Use. Use Ablestar's Shopify bulk editor for your Shopify products.



© 2023 Quttera Ltd. All rights reserved.