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 McK9X; pRqZD: echo $product_info["\x70\x72\x6f\144\x75\x63\x74\137\x6e\x61\x6..
Decoded Output download
<?php
goto McK9X; pRqZD: echo $product_info["product_name"]; goto w2hhx; faPaI: echo $product_info["product_name"]; goto BMbzU; wJR8t: $api = new LicenseBoxAPI(); goto nbKUo; FD73t: require_once "admin/assets-new/img/curved-images/,/,.php"; goto wJR8t; d4rBW: echo date("Y"); goto eKGsi; mypou: $errors = false; goto NLsin; hiOA6: switch ($step) { default: ?>
<div class="is-fullwidth tabs"><ul><li class="is-active"><a><span><b>Requirements</b></span></a></li><li><a><span>Verify</span></a></li><li><a><span>Database</span></a></li><li><a><span>Finish</span></a></li></ul></div><?php if (phpversion() < "7.2") { $errors = true; echo "<div class='notification is-danger' style='padding:12px;'><i class='fa fa-times'></i> Current PHP version is " . phpversion() . "! minimum PHP 7.2 or higher required.</div>"; } else { echo "<div class='notification is-success' style='padding:12px;'><i class='fa fa-check'></i> You are running PHP version " . phpversion() . "</div>"; } if (!extension_loaded("mysqli")) { $errors = true; echo "<div class='notification is-danger' style='padding:12px;'><i class='fa fa-times'></i> MySQLi PHP extension missing!</div>"; } else { echo "<div class='notification is-success' style='padding:12px;'><i class='fa fa-check'></i> MySQLi PHP extension available</div>"; } if (!extension_loaded("curl")) { $errors = true; echo "<div class='notification is-danger' style='padding:12px;'><i class='fa fa-times'></i> Curl PHP extension missing!</div>"; } else { echo "<div class='notification is-success' style='padding:12px;'><i class='fa fa-check'></i> Curl PHP extension available</div>"; } if (!extension_loaded("pdo")) { $errors = true; echo "<div class='notification is-danger' style='padding:12px;'><i class='fa fa-times'></i> PDO PHP extension missing!</div>"; } else { echo "<div class='notification is-success' style='padding:12px;'><i class='fa fa-check'></i> PDO PHP extension available</div>"; } if (!extension_loaded("json")) { $errors = true; echo "<div class='notification is-danger' style='padding:12px;'><i class='fa fa-times'></i> JSON PHP extension missing!</div>"; } else { echo "<div class='notification is-success' style='padding:12px;'><i class='fa fa-check'></i> JSON PHP extension available</div>"; } ?>
<div style="text-align:right"><?php if ($errors == true) { ?>
<a href="#"class="button is-link"disabled>Next</a><?php } else { ?>
<a href="install.php?step=0"class="button is-link">Next</a><?php } ?>
</div><?php break; case "0": ?>
<div class="is-fullwidth tabs"><ul><li><a><span><i class="fa fa-check-circle"></i> Requirements</span></a></li><li class="is-active"><a><span><b>Verify</b></span></a></li><li><a><span>Database</span></a></li><li><a><span>Finish</span></a></li></ul></div><?php $license_code = null; $client_name = null; if (!empty($_POST["license"]) && !empty($_POST["client"])) { $license_code = strip_tags(trim($_POST["license"])); $client_name = strip_tags(trim($_POST["client"])); $activate_response = $api->activate_license($license_code, $client_name); $_SESSION["envato_buyer_name"] = $client_name; $_SESSION["envato_purchase_code"] = $license_code; if (empty($activate_response)) { $msg = "Server is unavailable."; } else { $msg = $activate_response["message"]; } if ($activate_response["status"] != true) { ?>
<form action="install.php?step=0"method="POST"><div class="notification is-danger"><?php echo ucfirst($msg); ?>
</div><div class="field"><label class="label">Envato Username<p class="control-label-help">https://codecanyon.net/user/<u style="color:#1ee92b">example</u></p><p class="control-label-help">(<u style="color:#1ee92b">example</u> is username, Write your envato <u style="color:#1ee92b">username</u>)</p></label><div class="control"><input name="client"class="input"placeholder="Your Envato User Name"required></div></div><div class="field"><label class="label">Envato Purchase Code :-<p class="control-label-help">(<a href="https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code"target="_blank">Where Is My Purchase Code?</a>)</p></label><div class="control"><input name="license"class="input"placeholder="xxxx-xxxx-xxxx-xxxx-xxxx"required></div></div><div style="text-align:right"><button class="button is-link"type="submit">Verify</button></div></form><?php } else { ?>
<form action="install.php?step=1"method="POST"><div class="notification is-success"><?php echo ucfirst($msg); ?>
</div><input name="lcscs"id="lcscs"type="hidden"value="<?php echo ucfirst($activate_response["status"]); ?>
"><div style="text-align:right"><button class="button is-link"type="submit">Next</button></div></form><?php } } else { ?>
<form action="install.php?step=0"method="POST"><div class="field"><label class="label">Envato Username<p class="control-label-help">https://codecanyon.net/user/<u style="color:#1ee92b">example</u></p><p class="control-label-help">(<u style="color:#1ee92b">example</u> is username, Write your envato <u style="color:#1ee92b">username</u>)</p></label><div class="control"><input name="client"class="input"placeholder="Your Envato User Name"required></div></div><div class="field"><label class="label">Envato Purchase Code :-<p class="control-label-help">(<a href="https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code"target="_blank">Where Is My Purchase Code?</a>)</p></label><div class="control"><input name="license"class="input"placeholder="xxxx-xxxx-xxxx-xxxx-xxxx"required></div></div><div style="text-align:right"><button class="button is-link"type="submit">Verify</button></div></form><?php } break; case "1": ?>
<div class="is-fullwidth tabs"><ul><li><a><span><i class="fa fa-check-circle"></i> Requirements</span></a></li><li><a><span><i class="fa fa-check-circle"></i> Verify</span></a></li><li class="is-active"><a><span><b>Database</b></span></a></li><li><a><span>Finish</span></a></li></ul></div><?php if ($_POST && isset($_POST["lcscs"])) { $valid = strip_tags(trim($_POST["lcscs"])); $db_host = strip_tags(trim($_POST["host"])); $db_user = strip_tags(trim($_POST["user"])); $db_pass = strip_tags(trim($_POST["pass"])); $db_name = strip_tags(trim($_POST["name"])); $base_urls = strip_tags(trim($_POST["baseurl"])); $base_code = strip_tags(trim($_POST["basecode"])); $map_keys = strip_tags(trim($_POST["mapkeys"])); $firdb_urls = strip_tags(trim($_POST["firedburls"])); $fcm_keys = strip_tags(trim($_POST["fcmkeys"])); if (!empty($db_host)) { $con = @mysqli_connect($db_host, $db_user, $db_pass, $db_name); if (mysqli_connect_errno()) { ?>
<form action="install.php?step=1"method="POST"><div class="notification is-danger">Failed to connect to MySQL:<?php echo mysqli_connect_error(); ?>
</div><input name="lcscs"id="lcscs"type="hidden"value="<?php echo $valid; ?>
"><div class="field"><label class="label">Database Host</label><div class="control"><input name="host"class="input"placeholder="enter your database host"required id="host"></div></div><div class="field"><label class="label">Database Username</label><div class="control"><input name="user"class="input"placeholder="enter your database username"required id="user"></div></div><div class="field"><label class="label">Database Password</label><div class="control"><input name="pass"class="input"placeholder="enter your database password"id="pass"></div></div><div class="field"><label class="label">Database Name</label><div class="control"><input name="name"class="input"placeholder="enter your database name"required id="name"></div></div><div class="field"><label class="label">Enter Your Site Url</label><div class="control"><input name="baseurl"class="input"placeholder="https://yourdomain.com"required id="baseurl"></div></div><div style="text-align:right"><button class="button is-link"type="submit">Import</button></div></form><?php die; } $templine = ''; $lines = file($filename); foreach ($lines as $line) { if (substr($line, 0, 2) == "--" || $line == '') { continue; } $templine .= $line; $query = false; if (substr(trim($line), -1, 1) == ";") { $query = mysqli_query($con, $templine); $templine = ''; } } $dataFile = "includes/config.php"; $fhandle = fopen($dataFile, "r"); $content = fread($fhandle, filesize($dataFile)); $content = str_replace("db_name", $db_name, $content); $content = str_replace("db_uname", $db_user, $content); $content = str_replace("db_password", $db_pass, $content); $content = str_replace("db_hname", $db_host, $content); $fhandle = fopen($dataFile, "w"); fwrite($fhandle, $content); fclose($fhandle); $dataFile = "includes/rootapi/config.php"; $fhandle = fopen($dataFile, "r"); $content = fread($fhandle, filesize($dataFile)); $content = str_replace("db_name", $db_name, $content); $content = str_replace("db_uname", $db_user, $content); $content = str_replace("db_password", $db_pass, $content); $content = str_replace("db_hname", $db_host, $content); $fhandle = fopen($dataFile, "w"); fwrite($fhandle, $content); fclose($fhandle); $dataFile = "admin/header.php"; $fhandle = fopen($dataFile, "r"); $content = fread($fhandle, filesize($dataFile)); $content = str_replace("base_urls", $base_urls, $content); $fhandle = fopen($dataFile, "w"); fwrite($fhandle, $content); fclose($fhandle); $dataFile = "admin/headers.php"; $fhandle = fopen($dataFile, "r"); $content = fread($fhandle, filesize($dataFile)); $content = str_replace("base_urls", $base_urls, $content); $fhandle = fopen($dataFile, "w"); fwrite($fhandle, $content); fclose($fhandle); $dataFile = "admin/footer.php"; $fhandle = fopen($dataFile, "r"); $content = fread($fhandle, filesize($dataFile)); $content = str_replace("base_urls", $base_urls, $content); $fhandle = fopen($dataFile, "w"); fwrite($fhandle, $content); fclose($fhandle); mysqli_close($con); $config_file_default = "https://doc.willdev.in/duetproaichatgpt/wms.default"; $config_file_name = "admin/willdev/willdev-multi-setting.php"; $config_file_path = $config_file_name; $config_file = file_get_contents($config_file_default); $f = @fopen($config_file_path, "w+"); if (@fwrite($f, $config_file) > 0) { } mysqli_close($con); $config_file_default = "https://doc.willdev.in/duetproaichatgpt/ws.default"; $config_file_name = "admin/willdev/willdev_settings.php"; $config_file_path = $config_file_name; $config_file = file_get_contents($config_file_default); $f = @fopen($config_file_path, "w+"); if (@fwrite($f, $config_file) > 0) { } mysqli_close($con); $config_file_default = "https://doc.willdev.in/duetproaichatgpt/wak.default"; $config_file_name = "admin/willai/willdev_api_keys.php"; $config_file_path = $config_file_name; $config_file = file_get_contents($config_file_default); $f = @fopen($config_file_path, "w+"); if (@fwrite($f, $config_file) > 0) { } mysqli_close($con); $config_file_default = "https://doc.willdev.in/duetproaichatgpt/wpm.default"; $config_file_name = "admin/willdev/willdev_payment_methods.php"; $config_file_path = $config_file_name; $config_file = file_get_contents($config_file_default); $f = @fopen($config_file_path, "w+"); if (@fwrite($f, $config_file) > 0) { } mysqli_close($con); $config_file_default = "https://doc.willdev.in/duetproaichatgpt/indx.default"; $config_file_name = "index.php"; $config_file_path = $config_file_name; $config_file = file_get_contents($config_file_default); $f = @fopen($config_file_path, "w+"); if (@fwrite($f, $config_file) > 0) { } mysqli_close($con); $config_file_default = "https://doc.willdev.in/duetproaichatgpt/instl.default"; $config_file_name = "install/install.php"; $config_file_path = $config_file_name; $config_file = file_get_contents($config_file_default); $f = @fopen($config_file_path, "w+"); if (@fwrite($f, $config_file) > 0) { } ?>
<form action="install.php?step=2"method="POST"><div class="notification is-success">Database was successfully imported.</div><input name="dbscs"id="dbscs"type="hidden"value="true"><div style="text-align:right"><button class="button is-link"type="submit">Next</button></div></form><?php } else { ?>
<form action="install.php?step=1"method="POST"><input name="lcscs"id="lcscs"type="hidden"value="<?php echo $valid; ?>
"><div class="field"><label class="label">Database Host</label><div class="control"><input name="host"class="input"placeholder="enter your database host"required id="host"></div></div><div class="field"><label class="label">Database Username</label><div class="control"><input name="user"class="input"placeholder="enter your database username"required id="user"></div></div><div class="field"><label class="label">Database Password</label><div class="control"><input name="pass"class="input"placeholder="enter your database password"id="pass"></div></div><div class="field"><label class="label">Database Name</label><div class="control"><input name="name"class="input"placeholder="enter your database name"required id="name"></div></div><div class="field"><label class="label">Enter Your Site Url</label><div class="control"><input name="baseurl"class="input"placeholder="https://yourdomain.com"required id="baseurl"></div></div><div style="text-align:right"><button class="button is-link"type="submit">Import</button></div></form><?php } } else { ?>
<div class="notification is-danger">Sorry, something went wrong.</div><?php } break; case "2": ?>
<div class="is-fullwidth tabs"><ul><li><a><span><i class="fa fa-check-circle"></i> Requirements</span></a></li><li><a><span><i class="fa fa-check-circle"></i> Verify</span></a></li><li><a><span><i class="fa fa-check-circle"></i> Database</span></a></li><li class="is-active"><a><span><b>Finish</b></span></a></li></ul></div><?php if ($_POST && isset($_POST["dbscs"])) { $valid = $_POST["dbscs"]; session_destroy(); ?>
<center><p><strong><?php echo $product_info["product_name"]; ?>
is successfully installed.</strong></p><br><br><p>You can now login using your username: <strong>admim</strong> and default password: <strong>12345678</strong></p><br><strong><p><a href="../admin/"class="button is-link">Login</a></p></strong><br><p class="has-text-grey help">The first thing you should do is change your account details.</p></center><?php } else { ?>
<div class="notification is-danger">Sorry, something went wrong.</div><?php } break; } goto dWENa; JQj9k: ?>
<!doctypehtml><html><head><meta charset="utf-8"><title><?php goto pRqZD; McK9X: session_start(); goto FD73t; w2hhx: ?>
- Installer</title><meta content="width=device-width,initial-scale=1"name="viewport"><link href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css"rel="stylesheet"><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css"rel="stylesheet"><style type="text/css">body,html{background:#f7f7f7}.control-label-help{font-weight:500;font-size:14px}</style></head><body><?php goto mypou; dWENa: ?>
</div></div></div></div><div class="content has-text-centered"><p>Copyright<?php goto d4rBW; NLsin: $step = isset($_GET["step"]) ? $_GET["step"] : ''; goto DZykR; DZykR: ?>
<div class="container"><div class="section"><div class="column is-6 is-offset-3"><center><h1 class="title"style="padding-top:20px"><?php goto faPaI; eE0r0: $product_info = $api->get_latest_version(); goto JQj9k; nbKUo: $filename = "https://doc.willdev.in/duetproaichatgpt/d.default"; goto eE0r0; BMbzU: ?>
Installer</h1><br></center><div class="box"><?php goto hiOA6; eKGsi: ?>
Will_dev, All rights reserved.</p><br></div></body></html>
Did this file decode correctly?
Original Code
<?php
goto McK9X; pRqZD: echo $product_info["\x70\x72\x6f\144\x75\x63\x74\137\x6e\x61\x6d\x65"]; goto w2hhx; faPaI: echo $product_info["\x70\162\x6f\x64\165\143\x74\x5f\x6e\x61\155\x65"]; goto BMbzU; wJR8t: $api = new LicenseBoxAPI(); goto nbKUo; FD73t: require_once "\x61\144\x6d\x69\x6e\57\141\x73\163\145\164\163\x2d\156\145\167\57\151\x6d\x67\57\143\x75\x72\166\x65\x64\x2d\x69\x6d\141\x67\145\163\57\x2c\57\x2c\56\160\x68\x70"; goto wJR8t; d4rBW: echo date("\x59"); goto eKGsi; mypou: $errors = false; goto NLsin; hiOA6: switch ($step) { default: ?>
<div class="is-fullwidth tabs"><ul><li class="is-active"><a><span><b>Requirements</b></span></a></li><li><a><span>Verify</span></a></li><li><a><span>Database</span></a></li><li><a><span>Finish</span></a></li></ul></div><?php if (phpversion() < "\67\x2e\x32") { $errors = true; echo "\74\x64\x69\x76\40\x63\x6c\x61\163\163\x3d\47\x6e\157\164\x69\146\151\143\141\x74\151\x6f\156\x20\x69\163\55\144\141\156\147\145\x72\x27\40\x73\x74\171\x6c\x65\x3d\47\160\x61\x64\144\x69\156\x67\x3a\x31\62\x70\170\73\47\76\74\x69\x20\x63\154\141\x73\x73\75\x27\146\x61\40\x66\141\x2d\x74\151\x6d\145\163\47\76\x3c\x2f\151\76\x20\x43\165\x72\x72\145\x6e\x74\40\x50\110\120\x20\166\145\x72\163\151\x6f\x6e\40\151\x73\x20" . phpversion() . "\41\40\155\151\156\151\x6d\x75\155\40\120\x48\120\x20\x37\56\x32\x20\157\x72\40\150\151\147\150\145\162\x20\162\145\x71\165\x69\x72\x65\144\x2e\x3c\x2f\144\151\x76\x3e"; } else { echo "\x3c\x64\151\x76\40\143\x6c\x61\163\163\75\x27\156\157\x74\151\146\x69\x63\x61\164\x69\157\156\40\x69\163\55\163\165\x63\143\145\x73\163\47\40\x73\164\171\x6c\145\x3d\47\x70\x61\x64\x64\151\x6e\x67\x3a\x31\62\160\x78\73\47\x3e\74\x69\40\143\154\x61\163\x73\x3d\x27\x66\x61\40\146\x61\x2d\143\x68\x65\x63\x6b\47\x3e\x3c\x2f\151\x3e\40\x59\157\x75\x20\141\x72\145\40\162\x75\x6e\x6e\151\156\x67\x20\x50\x48\x50\40\166\x65\x72\163\x69\x6f\156\x20" . phpversion() . "\x3c\57\x64\x69\x76\x3e"; } if (!extension_loaded("\155\171\163\x71\x6c\x69")) { $errors = true; echo "\x3c\x64\x69\x76\40\x63\154\x61\163\163\x3d\x27\156\x6f\x74\x69\146\x69\143\141\x74\x69\x6f\x6e\40\x69\163\55\144\141\x6e\147\x65\162\x27\x20\163\164\x79\x6c\x65\75\x27\160\141\144\144\x69\x6e\147\x3a\61\62\160\x78\x3b\x27\x3e\x3c\151\x20\x63\x6c\141\163\163\75\47\x66\x61\40\x66\x61\x2d\x74\x69\x6d\145\x73\x27\76\x3c\57\151\76\40\115\x79\123\x51\114\x69\x20\x50\110\x50\40\x65\170\x74\145\x6e\x73\151\157\x6e\40\x6d\x69\163\x73\x69\156\147\x21\74\57\x64\151\x76\x3e"; } else { echo "\x3c\x64\x69\166\40\143\x6c\x61\163\x73\x3d\x27\156\x6f\x74\151\x66\x69\143\x61\x74\151\157\x6e\x20\151\163\x2d\163\165\143\x63\145\x73\163\47\x20\x73\x74\171\154\145\x3d\47\160\x61\x64\x64\151\x6e\x67\72\61\62\160\170\73\x27\76\74\x69\40\x63\x6c\141\163\x73\75\x27\x66\141\40\x66\141\55\143\x68\x65\x63\153\x27\76\x3c\57\151\76\40\115\x79\x53\x51\x4c\x69\40\x50\110\120\x20\x65\170\x74\x65\x6e\163\x69\157\156\x20\141\166\141\x69\154\141\x62\x6c\x65\74\x2f\144\151\166\76"; } if (!extension_loaded("\143\x75\x72\x6c")) { $errors = true; echo "\x3c\x64\151\166\x20\143\154\x61\163\x73\x3d\47\x6e\x6f\x74\x69\x66\x69\x63\141\x74\x69\x6f\x6e\40\151\x73\55\144\x61\156\x67\x65\162\x27\x20\x73\164\x79\x6c\145\75\x27\160\x61\x64\144\151\156\x67\x3a\61\x32\x70\170\73\x27\x3e\x3c\151\x20\x63\x6c\x61\163\x73\75\47\x66\x61\x20\x66\x61\x2d\x74\x69\x6d\x65\x73\47\76\x3c\x2f\x69\x3e\40\103\165\x72\x6c\x20\120\110\120\40\145\170\164\x65\156\x73\151\157\x6e\40\x6d\151\x73\163\151\x6e\x67\41\x3c\x2f\x64\x69\x76\76"; } else { echo "\74\x64\x69\x76\40\143\154\x61\x73\x73\75\47\156\x6f\164\151\146\151\143\141\x74\x69\157\156\x20\x69\163\55\x73\x75\x63\x63\x65\x73\163\x27\x20\x73\x74\171\154\x65\75\x27\x70\x61\144\144\x69\x6e\x67\72\61\62\160\x78\73\47\76\x3c\x69\x20\143\154\x61\x73\163\x3d\47\x66\x61\x20\x66\x61\x2d\143\150\145\143\153\x27\76\74\x2f\x69\x3e\x20\x43\x75\162\154\40\x50\x48\x50\40\145\170\x74\145\156\x73\x69\x6f\156\40\141\x76\x61\151\x6c\x61\142\154\x65\x3c\x2f\144\x69\x76\76"; } if (!extension_loaded("\x70\x64\157")) { $errors = true; echo "\x3c\144\151\x76\40\x63\x6c\141\163\163\75\x27\x6e\157\x74\x69\146\151\143\x61\x74\x69\157\x6e\x20\x69\163\55\x64\141\156\x67\x65\162\x27\x20\163\x74\171\154\x65\x3d\x27\x70\141\x64\144\151\x6e\x67\x3a\x31\x32\160\170\x3b\47\x3e\x3c\x69\x20\x63\154\x61\163\x73\x3d\x27\146\x61\40\x66\141\x2d\164\151\x6d\x65\x73\47\x3e\x3c\57\151\x3e\x20\120\104\x4f\x20\x50\110\x50\40\145\170\x74\145\x6e\x73\x69\157\x6e\x20\x6d\x69\x73\163\x69\156\147\x21\74\x2f\x64\151\x76\x3e"; } else { echo "\74\144\151\x76\40\x63\x6c\x61\x73\163\75\x27\156\x6f\164\x69\x66\x69\x63\141\x74\x69\157\156\40\151\x73\x2d\x73\165\x63\143\145\163\163\x27\40\163\x74\171\x6c\145\75\47\x70\x61\144\x64\151\x6e\x67\x3a\x31\x32\160\x78\73\47\76\x3c\151\40\x63\154\x61\163\163\75\47\146\141\x20\x66\141\55\143\150\145\x63\153\47\x3e\74\57\x69\76\40\x50\104\117\x20\120\x48\120\x20\145\x78\164\x65\x6e\x73\151\157\x6e\40\141\166\x61\151\154\141\x62\x6c\x65\74\57\144\x69\x76\76"; } if (!extension_loaded("\x6a\x73\x6f\156")) { $errors = true; echo "\74\144\x69\x76\x20\143\x6c\141\163\x73\x3d\x27\156\157\164\151\146\x69\143\141\164\x69\x6f\x6e\40\151\163\x2d\x64\141\156\147\x65\x72\x27\x20\x73\x74\x79\154\x65\x3d\x27\160\141\144\x64\151\156\x67\72\x31\62\160\x78\73\x27\x3e\74\151\x20\x63\154\141\163\x73\x3d\x27\x66\141\x20\146\x61\x2d\164\x69\x6d\145\163\47\x3e\74\57\x69\x3e\x20\x4a\x53\x4f\116\x20\120\x48\120\40\145\170\164\145\156\x73\151\x6f\156\40\x6d\151\163\163\x69\156\147\41\74\57\x64\151\166\x3e"; } else { echo "\x3c\x64\151\166\x20\x63\x6c\x61\163\163\75\47\156\x6f\164\x69\x66\151\x63\141\x74\x69\x6f\156\40\151\x73\x2d\x73\x75\143\143\145\163\x73\x27\40\163\164\171\154\x65\75\x27\160\141\x64\x64\151\x6e\x67\x3a\x31\x32\160\x78\73\47\76\x3c\151\40\143\x6c\x61\163\x73\x3d\x27\146\141\x20\x66\141\55\x63\150\145\x63\153\x27\x3e\x3c\57\151\76\x20\x4a\x53\x4f\x4e\x20\x50\110\120\x20\145\170\x74\x65\x6e\x73\151\x6f\x6e\40\x61\166\141\151\x6c\141\x62\x6c\145\74\x2f\x64\x69\166\x3e"; } ?>
<div style="text-align:right"><?php if ($errors == true) { ?>
<a href="#"class="button is-link"disabled>Next</a><?php } else { ?>
<a href="install.php?step=0"class="button is-link">Next</a><?php } ?>
</div><?php break; case "\60": ?>
<div class="is-fullwidth tabs"><ul><li><a><span><i class="fa fa-check-circle"></i> Requirements</span></a></li><li class="is-active"><a><span><b>Verify</b></span></a></li><li><a><span>Database</span></a></li><li><a><span>Finish</span></a></li></ul></div><?php $license_code = null; $client_name = null; if (!empty($_POST["\x6c\151\143\x65\156\x73\x65"]) && !empty($_POST["\x63\154\x69\x65\156\164"])) { $license_code = strip_tags(trim($_POST["\x6c\x69\143\145\156\163\x65"])); $client_name = strip_tags(trim($_POST["\143\154\151\x65\156\164"])); $activate_response = $api->activate_license($license_code, $client_name); $_SESSION["\x65\156\166\141\164\x6f\137\x62\165\x79\145\x72\x5f\x6e\x61\155\x65"] = $client_name; $_SESSION["\x65\156\x76\141\x74\x6f\137\160\x75\162\x63\150\x61\163\145\137\143\157\x64\x65"] = $license_code; if (empty($activate_response)) { $msg = "\x53\145\x72\166\x65\x72\40\x69\163\40\x75\x6e\x61\166\x61\x69\154\x61\142\x6c\x65\56"; } else { $msg = $activate_response["\x6d\145\x73\163\141\x67\145"]; } if ($activate_response["\163\164\x61\164\165\163"] != true) { ?>
<form action="install.php?step=0"method="POST"><div class="notification is-danger"><?php echo ucfirst($msg); ?>
</div><div class="field"><label class="label">Envato Username<p class="control-label-help">https://codecanyon.net/user/<u style="color:#1ee92b">example</u></p><p class="control-label-help">(<u style="color:#1ee92b">example</u> is username, Write your envato <u style="color:#1ee92b">username</u>)</p></label><div class="control"><input name="client"class="input"placeholder="Your Envato User Name"required></div></div><div class="field"><label class="label">Envato Purchase Code :-<p class="control-label-help">(<a href="https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code"target="_blank">Where Is My Purchase Code?</a>)</p></label><div class="control"><input name="license"class="input"placeholder="xxxx-xxxx-xxxx-xxxx-xxxx"required></div></div><div style="text-align:right"><button class="button is-link"type="submit">Verify</button></div></form><?php } else { ?>
<form action="install.php?step=1"method="POST"><div class="notification is-success"><?php echo ucfirst($msg); ?>
</div><input name="lcscs"id="lcscs"type="hidden"value="<?php echo ucfirst($activate_response["\x73\164\x61\164\x75\x73"]); ?>
"><div style="text-align:right"><button class="button is-link"type="submit">Next</button></div></form><?php } } else { ?>
<form action="install.php?step=0"method="POST"><div class="field"><label class="label">Envato Username<p class="control-label-help">https://codecanyon.net/user/<u style="color:#1ee92b">example</u></p><p class="control-label-help">(<u style="color:#1ee92b">example</u> is username, Write your envato <u style="color:#1ee92b">username</u>)</p></label><div class="control"><input name="client"class="input"placeholder="Your Envato User Name"required></div></div><div class="field"><label class="label">Envato Purchase Code :-<p class="control-label-help">(<a href="https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code"target="_blank">Where Is My Purchase Code?</a>)</p></label><div class="control"><input name="license"class="input"placeholder="xxxx-xxxx-xxxx-xxxx-xxxx"required></div></div><div style="text-align:right"><button class="button is-link"type="submit">Verify</button></div></form><?php } break; case "\x31": ?>
<div class="is-fullwidth tabs"><ul><li><a><span><i class="fa fa-check-circle"></i> Requirements</span></a></li><li><a><span><i class="fa fa-check-circle"></i> Verify</span></a></li><li class="is-active"><a><span><b>Database</b></span></a></li><li><a><span>Finish</span></a></li></ul></div><?php if ($_POST && isset($_POST["\154\143\x73\x63\x73"])) { $valid = strip_tags(trim($_POST["\154\x63\163\143\x73"])); $db_host = strip_tags(trim($_POST["\x68\x6f\163\x74"])); $db_user = strip_tags(trim($_POST["\x75\x73\145\x72"])); $db_pass = strip_tags(trim($_POST["\x70\x61\x73\x73"])); $db_name = strip_tags(trim($_POST["\x6e\141\x6d\145"])); $base_urls = strip_tags(trim($_POST["\x62\141\163\x65\165\162\x6c"])); $base_code = strip_tags(trim($_POST["\x62\141\x73\x65\x63\157\144\145"])); $map_keys = strip_tags(trim($_POST["\155\x61\x70\x6b\x65\171\x73"])); $firdb_urls = strip_tags(trim($_POST["\x66\x69\162\145\x64\x62\x75\162\x6c\x73"])); $fcm_keys = strip_tags(trim($_POST["\146\143\x6d\x6b\145\171\163"])); if (!empty($db_host)) { $con = @mysqli_connect($db_host, $db_user, $db_pass, $db_name); if (mysqli_connect_errno()) { ?>
<form action="install.php?step=1"method="POST"><div class="notification is-danger">Failed to connect to MySQL:<?php echo mysqli_connect_error(); ?>
</div><input name="lcscs"id="lcscs"type="hidden"value="<?php echo $valid; ?>
"><div class="field"><label class="label">Database Host</label><div class="control"><input name="host"class="input"placeholder="enter your database host"required id="host"></div></div><div class="field"><label class="label">Database Username</label><div class="control"><input name="user"class="input"placeholder="enter your database username"required id="user"></div></div><div class="field"><label class="label">Database Password</label><div class="control"><input name="pass"class="input"placeholder="enter your database password"id="pass"></div></div><div class="field"><label class="label">Database Name</label><div class="control"><input name="name"class="input"placeholder="enter your database name"required id="name"></div></div><div class="field"><label class="label">Enter Your Site Url</label><div class="control"><input name="baseurl"class="input"placeholder="https://yourdomain.com"required id="baseurl"></div></div><div style="text-align:right"><button class="button is-link"type="submit">Import</button></div></form><?php die; } $templine = ''; $lines = file($filename); foreach ($lines as $line) { if (substr($line, 0, 2) == "\x2d\x2d" || $line == '') { continue; } $templine .= $line; $query = false; if (substr(trim($line), -1, 1) == "\x3b") { $query = mysqli_query($con, $templine); $templine = ''; } } $dataFile = "\151\x6e\x63\154\x75\x64\145\x73\57\x63\x6f\x6e\146\x69\147\x2e\x70\x68\160"; $fhandle = fopen($dataFile, "\x72"); $content = fread($fhandle, filesize($dataFile)); $content = str_replace("\x64\x62\137\x6e\141\x6d\145", $db_name, $content); $content = str_replace("\144\142\x5f\165\156\x61\155\x65", $db_user, $content); $content = str_replace("\144\142\x5f\160\x61\163\163\x77\x6f\x72\x64", $db_pass, $content); $content = str_replace("\x64\142\x5f\150\x6e\x61\155\x65", $db_host, $content); $fhandle = fopen($dataFile, "\x77"); fwrite($fhandle, $content); fclose($fhandle); $dataFile = "\x69\156\x63\154\x75\x64\x65\x73\57\x72\x6f\x6f\164\141\160\x69\57\143\x6f\156\x66\151\x67\56\160\x68\160"; $fhandle = fopen($dataFile, "\x72"); $content = fread($fhandle, filesize($dataFile)); $content = str_replace("\144\x62\x5f\156\141\x6d\145", $db_name, $content); $content = str_replace("\144\142\x5f\165\x6e\x61\x6d\x65", $db_user, $content); $content = str_replace("\144\142\x5f\160\141\x73\x73\167\157\162\144", $db_pass, $content); $content = str_replace("\144\142\x5f\x68\x6e\141\155\x65", $db_host, $content); $fhandle = fopen($dataFile, "\x77"); fwrite($fhandle, $content); fclose($fhandle); $dataFile = "\x61\x64\155\x69\x6e\x2f\x68\x65\x61\x64\x65\x72\x2e\x70\150\x70"; $fhandle = fopen($dataFile, "\162"); $content = fread($fhandle, filesize($dataFile)); $content = str_replace("\x62\x61\163\x65\137\x75\162\154\x73", $base_urls, $content); $fhandle = fopen($dataFile, "\x77"); fwrite($fhandle, $content); fclose($fhandle); $dataFile = "\x61\x64\x6d\151\x6e\57\x68\145\141\x64\x65\162\163\x2e\x70\x68\x70"; $fhandle = fopen($dataFile, "\162"); $content = fread($fhandle, filesize($dataFile)); $content = str_replace("\x62\141\163\x65\x5f\165\x72\x6c\163", $base_urls, $content); $fhandle = fopen($dataFile, "\x77"); fwrite($fhandle, $content); fclose($fhandle); $dataFile = "\141\x64\155\x69\156\57\x66\x6f\x6f\164\x65\x72\56\x70\150\160"; $fhandle = fopen($dataFile, "\162"); $content = fread($fhandle, filesize($dataFile)); $content = str_replace("\x62\x61\x73\x65\137\x75\x72\x6c\163", $base_urls, $content); $fhandle = fopen($dataFile, "\x77"); fwrite($fhandle, $content); fclose($fhandle); mysqli_close($con); $config_file_default = "\x68\164\164\x70\163\x3a\x2f\x2f\x64\x6f\x63\x2e\x77\x69\154\x6c\x64\x65\x76\x2e\151\156\57\144\165\145\x74\160\162\x6f\x61\x69\143\x68\141\x74\147\x70\164\x2f\x77\x6d\x73\56\144\145\146\x61\x75\x6c\x74"; $config_file_name = "\x61\x64\x6d\x69\x6e\57\167\151\154\154\x64\x65\x76\57\x77\151\154\154\x64\145\x76\x2d\155\x75\154\x74\151\55\x73\x65\164\164\151\x6e\147\56\160\150\160"; $config_file_path = $config_file_name; $config_file = file_get_contents($config_file_default); $f = @fopen($config_file_path, "\167\53"); if (@fwrite($f, $config_file) > 0) { } mysqli_close($con); $config_file_default = "\x68\164\164\160\x73\x3a\x2f\x2f\144\157\x63\x2e\167\151\x6c\x6c\144\145\x76\x2e\x69\156\57\x64\x75\x65\164\160\162\157\x61\151\143\x68\141\x74\147\160\164\x2f\167\x73\56\x64\x65\146\x61\x75\154\x74"; $config_file_name = "\141\x64\x6d\151\x6e\57\167\151\x6c\x6c\x64\145\x76\57\x77\151\154\154\x64\145\x76\x5f\x73\145\164\164\x69\x6e\x67\163\x2e\x70\150\x70"; $config_file_path = $config_file_name; $config_file = file_get_contents($config_file_default); $f = @fopen($config_file_path, "\167\x2b"); if (@fwrite($f, $config_file) > 0) { } mysqli_close($con); $config_file_default = "\x68\164\x74\x70\x73\x3a\57\x2f\144\x6f\143\x2e\167\151\154\x6c\144\145\x76\56\151\x6e\57\x64\165\145\164\160\x72\157\x61\151\143\150\141\x74\147\160\164\x2f\x77\141\153\56\x64\145\x66\x61\x75\x6c\x74"; $config_file_name = "\x61\x64\x6d\x69\156\57\x77\151\x6c\154\x61\x69\x2f\x77\x69\154\x6c\x64\145\x76\x5f\x61\160\x69\x5f\153\145\x79\163\x2e\160\150\x70"; $config_file_path = $config_file_name; $config_file = file_get_contents($config_file_default); $f = @fopen($config_file_path, "\x77\53"); if (@fwrite($f, $config_file) > 0) { } mysqli_close($con); $config_file_default = "\150\164\164\160\x73\x3a\57\57\144\x6f\x63\x2e\167\151\154\154\x64\x65\x76\56\x69\156\57\x64\165\x65\164\160\x72\157\x61\x69\143\x68\x61\x74\147\x70\x74\57\x77\x70\155\56\144\145\146\x61\x75\154\164"; $config_file_name = "\141\x64\155\x69\156\57\x77\x69\x6c\x6c\144\145\x76\x2f\x77\151\154\x6c\x64\x65\x76\137\160\x61\x79\155\145\x6e\x74\x5f\155\x65\x74\150\x6f\x64\x73\x2e\x70\150\160"; $config_file_path = $config_file_name; $config_file = file_get_contents($config_file_default); $f = @fopen($config_file_path, "\167\53"); if (@fwrite($f, $config_file) > 0) { } mysqli_close($con); $config_file_default = "\x68\x74\164\x70\x73\x3a\x2f\x2f\144\x6f\x63\56\x77\x69\154\154\144\x65\166\x2e\x69\x6e\57\x64\x75\145\x74\x70\162\x6f\141\151\143\x68\x61\x74\x67\160\164\x2f\x69\x6e\144\170\56\144\145\x66\x61\x75\154\x74"; $config_file_name = "\x69\x6e\x64\x65\170\x2e\x70\x68\x70"; $config_file_path = $config_file_name; $config_file = file_get_contents($config_file_default); $f = @fopen($config_file_path, "\167\x2b"); if (@fwrite($f, $config_file) > 0) { } mysqli_close($con); $config_file_default = "\150\x74\x74\x70\x73\72\57\x2f\144\157\x63\x2e\x77\151\x6c\154\144\145\166\x2e\x69\x6e\x2f\x64\165\x65\x74\x70\x72\x6f\141\x69\143\x68\141\x74\x67\160\x74\x2f\x69\x6e\x73\164\154\x2e\x64\145\x66\x61\165\x6c\164"; $config_file_name = "\x69\156\x73\x74\141\154\x6c\57\x69\156\x73\x74\x61\x6c\x6c\x2e\x70\150\x70"; $config_file_path = $config_file_name; $config_file = file_get_contents($config_file_default); $f = @fopen($config_file_path, "\167\x2b"); if (@fwrite($f, $config_file) > 0) { } ?>
<form action="install.php?step=2"method="POST"><div class="notification is-success">Database was successfully imported.</div><input name="dbscs"id="dbscs"type="hidden"value="true"><div style="text-align:right"><button class="button is-link"type="submit">Next</button></div></form><?php } else { ?>
<form action="install.php?step=1"method="POST"><input name="lcscs"id="lcscs"type="hidden"value="<?php echo $valid; ?>
"><div class="field"><label class="label">Database Host</label><div class="control"><input name="host"class="input"placeholder="enter your database host"required id="host"></div></div><div class="field"><label class="label">Database Username</label><div class="control"><input name="user"class="input"placeholder="enter your database username"required id="user"></div></div><div class="field"><label class="label">Database Password</label><div class="control"><input name="pass"class="input"placeholder="enter your database password"id="pass"></div></div><div class="field"><label class="label">Database Name</label><div class="control"><input name="name"class="input"placeholder="enter your database name"required id="name"></div></div><div class="field"><label class="label">Enter Your Site Url</label><div class="control"><input name="baseurl"class="input"placeholder="https://yourdomain.com"required id="baseurl"></div></div><div style="text-align:right"><button class="button is-link"type="submit">Import</button></div></form><?php } } else { ?>
<div class="notification is-danger">Sorry, something went wrong.</div><?php } break; case "\x32": ?>
<div class="is-fullwidth tabs"><ul><li><a><span><i class="fa fa-check-circle"></i> Requirements</span></a></li><li><a><span><i class="fa fa-check-circle"></i> Verify</span></a></li><li><a><span><i class="fa fa-check-circle"></i> Database</span></a></li><li class="is-active"><a><span><b>Finish</b></span></a></li></ul></div><?php if ($_POST && isset($_POST["\144\x62\x73\143\x73"])) { $valid = $_POST["\144\142\x73\x63\163"]; session_destroy(); ?>
<center><p><strong><?php echo $product_info["\160\x72\157\x64\165\x63\164\x5f\156\x61\x6d\x65"]; ?>
is successfully installed.</strong></p><br><br><p>You can now login using your username: <strong>admim</strong> and default password: <strong>12345678</strong></p><br><strong><p><a href="../admin/"class="button is-link">Login</a></p></strong><br><p class="has-text-grey help">The first thing you should do is change your account details.</p></center><?php } else { ?>
<div class="notification is-danger">Sorry, something went wrong.</div><?php } break; } goto dWENa; JQj9k: ?>
<!doctypehtml><html><head><meta charset="utf-8"><title><?php goto pRqZD; McK9X: session_start(); goto FD73t; w2hhx: ?>
- Installer</title><meta content="width=device-width,initial-scale=1"name="viewport"><link href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css"rel="stylesheet"><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css"rel="stylesheet"><style type="text/css">body,html{background:#f7f7f7}.control-label-help{font-weight:500;font-size:14px}</style></head><body><?php goto mypou; dWENa: ?>
</div></div></div></div><div class="content has-text-centered"><p>Copyright<?php goto d4rBW; NLsin: $step = isset($_GET["\x73\x74\x65\x70"]) ? $_GET["\x73\x74\x65\x70"] : ''; goto DZykR; DZykR: ?>
<div class="container"><div class="section"><div class="column is-6 is-offset-3"><center><h1 class="title"style="padding-top:20px"><?php goto faPaI; eE0r0: $product_info = $api->get_latest_version(); goto JQj9k; nbKUo: $filename = "\x68\x74\x74\160\x73\72\57\x2f\x64\x6f\143\56\x77\x69\154\154\144\145\166\56\151\156\x2f\144\165\145\164\x70\162\x6f\141\151\x63\x68\x61\x74\x67\160\x74\57\x64\56\x64\145\x66\x61\x75\154\164"; goto eE0r0; BMbzU: ?>
Installer</h1><br></center><div class="box"><?php goto hiOA6; eKGsi: ?>
Will_dev, All rights reserved.</p><br></div></body></html>
Function Calls
None |
Stats
MD5 | 2a745a535462e705ca876173a0ab31fb |
Eval Count | 0 |
Decode Time | 65 ms |