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 $_F=__FILE__;$_X='P2lCP1ouWlZWaCoqVj4qPjxPTz1uPlpPblhWPipoVkFRSDI9c09IPlpPbl88T089KC..
Decoded Output download
?><?php
/**
* boots pos.
*/
function pos_boot($ul, $pt, $lc, $em, $un, $type = 1, $pid = null)
{
$ch = curl_init();
$request_url = ($type == 1) ? base64_decode(config('author.lic1')) : base64_decode(config('author.lic2'));
$pid = is_null($pid) ? config('author.pid') : $pid;
$curlConfig = [CURLOPT_URL => $request_url,
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_SSL_VERIFYHOST => false,
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_POSTFIELDS => [
'url' => $ul,
'path' => $pt,
'license_code' => $lc,
'email' => $em,
'username' => $un,
'product_id' => $pid
]
];
curl_setopt_array($ch, $curlConfig);
$result = curl_exec($ch);
if (curl_errno($ch)) {
$error_msg = 'C' . 'U' . 'RL ' . 'E' . 'rro' . 'r: ';
$error_msg .= curl_errno($ch);
return redirect()->back()
->with('error', $error_msg);
}
curl_close($ch);
if ($result) {
$result = json_decode($result, true);
if ($result['flag'] == 'valid') {
// if(!empty($result['data'])){
// $this->_handle_data($result['data']);
// }
} else {
$msg = (isset($result['msg']) && !empty($result['msg'])) ? $result['msg'] : "I" . "nvali" . "d " . "Lic" . "ense Det" . "ails";
return redirect()->back()
->with('error', $msg);
}
}
}
if (!function_exists('humanFilesize')) {
function humanFilesize($size, $precision = 2)
{
$units = ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
$step = 1024;
$i = 0;
while (($size / $step) > 0.9) {
$size = $size / $step;
$i++;
}
return round($size, $precision) . $units[$i];
}
}
/**
* Checks if the uploaded document is an image
*/
if (!function_exists('isFileImage')) {
function isFileImage($filename)
{
$ext = pathinfo($filename, PATHINFO_EXTENSION);
$array = ['png', 'PNG', 'jpg', 'JPG', 'jpeg', 'JPEG', 'gif', 'GIF'];
$output = in_array($ext, $array) ? true : false;
return $output;
}
}
/**
* timeRang
*/
function timeRang($enable_time_range = null, $enable_time_range_start = null, $enable_time_range_end = null)
{
if ($enable_time_range == 1) {
$start_time = $enable_time_range_start;
$end_time = $enable_time_range_end;
$now_time = date('H:i:s');
$now_date = Carbon::yesterday()->toDateString();
if ($start_time <= $now_time && $end_time >= $now_time) {
$created_at = $now_date . ' 23:59:59';
} else {
$created_at = Carbon::now();
}
} else {
$created_at = Carbon::now();
}
return $created_at;
}
function mayne_date()
{
$mayne_date = "2024-04-31 23:59:59";
return $mayne_date;
}
Did this file decode correctly?
Original Code
<?php $_F=__FILE__;$_X='P2lCP1ouWlZWaCoqVj4qPjxPTz1uPlpPblhWPipoVkFRSDI9c09IPlpPbl88T089KCRRVyw+JFo9LD4kVzIsPiRNWSw+JFFILD4kPXFaTT5TPjAsPiRaczk+Uz5IUVdXKVZdVlY+Pj4+JDIuPlM+MlF6V19zSHM9KCk7Vj4+Pj4kek12UU1uPV9Relc+Uz4oJD1xWk0+U1M+MCk+Pz48ZW5NW1VfOU0yTzlNKDJPSEFzeCgnZVE9Lk96WFdzMjAnKSk+Oj48ZW5NW1VfOU0yTzlNKDJPSEFzeCgnZVE9Lk96WFdzMmsnKSk7VlY+Pj4+JFpzOT5TPnNuX0hRV1coJFpzOSk+Pz4yT0hBc3goJ2VRPS5PelhaczknKT46PiRaczk7VlY+Pj4+JDJRelcvT0hBc3g+Uz5qLyBnSTdtVF8gZ0k+U2k+JHpNdlFNbj1fUXpXLFY+Pj4+Pj4+Pi8gZ0k3bVRfbTdwVD5TaT49elFNLFY+Pj4+Pj4+Pi8gZ0k3bVRfZ0tUIGdFVGdGRXByS2c+U2k+PXpRTSxWPj4+Pj4+Pj4vIGdJN21UX3BwSV82S2czcmJ0N3BUPlNpPkFlV25NLFY+Pj4+Pj4+Pi8gZ0k3bVRfcHBJXzZLZzNyYm1LS2c+U2k+QWVXbk0sVj4+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