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 eval(base64_decode('CiBnb3RvIFhRN0gxOyB4S0ltWTogJGxlYWRzX2VuYWJsZSA9IGdldF9vcHRpb24o..

Decoded Output download


 goto XQ7H1; xKImY: $leads_enable = get_option("leads_source_active"); goto OP0XD; OZ8bx: if ($leads_enable == "1" && $overriteAssignLeads == "1") { $last_leads_assign = get_option("last_leads_assign_id"); $distribute_status = get_option("leads_distribute_status"); $leads_source = explode(",", get_option("leads_source")); $leads_source_random = explode(",", get_option("leads_source_random")); if (is_numeric($lead_id)) { $CI->db->where("id", $lead_id); $lead = $CI->db->select("*")->get(db_prefix() . "leads")->row(); if ($distribute_status == "1" && !empty($leads_source)) { if (in_array($lead->source, $leads_source)) { $CI->db->where(array("active" => "1", "is_assigned_leads" => "1")); $staff = $CI->db->select("staffid")->get(db_prefix() . "staff")->result_array(); $staffs = array_map(function ($value) { return $value["staffid"]; }, $staff); sort($staffs); if (count($staffs)) { $last_assign_key = array_search($last_leads_assign, $staffs); $max_assign_key = max(array_keys($staffs)); if (count($staffs) == 1 || $last_assign_key == '' && $last_leads_assign == '' || $max_assign_key == $last_assign_key) { $assign_to = $staffs[0]; } else { $last_assign_key++; $assign_to = $staffs[$last_assign_key]; } $CI->db->where("id", $lead->id); $CI->db->update(db_prefix() . "leads", array("assigned" => $assign_to, "auto_leads" => "1")); update_option("last_leads_assign_id", $assign_to); $CI->leads_model->lead_assigned_member_notification($lead_id, $assign_to, true); } } } elseif ($distribute_status == "2") { $lead_assign = get_leads_assigned($lead->source); if ($lead->assigned == $lead_assign["staff_id"]) { } elseif ($lead->assigned == 0 || $lead->assigned != $lead_assign["staff_id"]) { $CI->db->where("id", $lead->id); $CI->db->update(db_prefix() . "leads", array("assigned" => $lead_assign["staff_id"], "auto_leads" => "1")); $CI->leads_model->lead_assigned_member_notification($lead_id, $lead_assign["staff_id"], true); } } elseif ($distribute_status == "3" && !empty($leads_source_random)) { if (in_array($lead->source, $leads_source_random)) { $CI->db->where(array("active" => "1", "is_assigned_leads_random" => "1")); $staff = $CI->db->select("staffid")->order_by("rand()")->get(db_prefix() . "staff")->result_array(); $staffs = array_map(function ($value) { return $value["staffid"]; }, $staff); if (count($staffs)) { $assign_to = $staffs[0]; $CI->db->where("id", $lead->id); $CI->db->update(db_prefix() . "leads", array("assigned" => $assign_to, "auto_leads" => "1")); $CI->leads_model->lead_assigned_member_notification($lead_id, $assign_to, true); } } } else { $lead_assigned = get_leads_source_in_queue_assigned($lead->source); $last_leads_assign = get_option("source_by_" . $lead->source . "_last_leads_assign_id"); if (!empty($lead_assigned)) { $assigned = array_map(function ($value) { return $value["staff_id"]; }, $lead_assigned); sort($assigned); if (count($assigned)) { $last_assign_key = array_search($last_leads_assign, $assigned); $max_assign_key = max(array_keys($assigned)); if (count($assigned) == 1 || $last_assign_key == '' && $last_leads_assign == '' || $max_assign_key == $last_assign_key) { $assign_to = $assigned[0]; } else { $last_assign_key++; $assign_to = $assigned[$last_assign_key]; } $CI->db->where("id", $lead->id); $CI->db->update(db_prefix() . "leads", array("assigned" => $assign_to, "auto_leads" => "1")); update_option("source_by_" . $lead->source . "_last_leads_assign_id", $assign_to); $CI->leads_model->lead_assigned_member_notification($lead_id, $assign_to, true); } } } } } else { if ($leads_enable == "1" && $overriteAssignLeads == "2") { $last_leads_assign = get_option("last_leads_assign_id"); $distribute_status = get_option("leads_distribute_status"); $leads_source = explode(",", get_option("leads_source")); $leads_source_random = explode(",", get_option("leads_source_random")); if (is_numeric($lead_id)) { $CI->db->where("id", $lead_id); $lead = $CI->db->select("*")->get(db_prefix() . "leads")->row(); if ($lead->assigned == 0) { if ($distribute_status == "1" && !empty($leads_source)) { if (in_array($lead->source, $leads_source)) { $CI->db->where(array("active" => "1", "is_assigned_leads" => "1")); $staff = $CI->db->select("staffid")->get(db_prefix() . "staff")->result_array(); $staffs = array_map(function ($value) { return $value["staffid"]; }, $staff); sort($staffs); if (count($staffs)) { $last_assign_key = array_search($last_leads_assign, $staffs); $max_assign_key = max(array_keys($staffs)); if (count($staffs) == 1 || $last_assign_key == '' && $last_leads_assign == '' || $max_assign_key == $last_assign_key) { $assign_to = $staffs[0]; } else { $last_assign_key++; $assign_to = $staffs[$last_assign_key]; } $CI->db->where("id", $lead->id); $CI->db->update(db_prefix() . "leads", array("assigned" => $assign_to, "auto_leads" => "1")); update_option("last_leads_assign_id", $assign_to); $CI->leads_model->lead_assigned_member_notification($lead_id, $assign_to, true); } } } elseif ($distribute_status == "2") { $lead_assign = get_leads_assigned($lead->source); if ($lead->assigned == $lead_assign["staff_id"]) { } elseif ($lead->assigned == 0 || $lead->assigned != $lead_assign["staff_id"]) { $CI->db->where("id", $lead->id); $CI->db->update(db_prefix() . "leads", array("assigned" => $lead_assign["staff_id"], "auto_leads" => "1")); $CI->leads_model->lead_assigned_member_notification($lead_id, $lead_assign["staff_id"], true); } } elseif ($distribute_status == "3" && !empty($leads_source_random)) { if (in_array($lead->source, $leads_source_random)) { $CI->db->where(array("active" => "1", "is_assigned_leads_random" => "1")); $staff = $CI->db->select("staffid")->order_by("rand()")->get(db_prefix() . "staff")->result_array(); $staffs = array_map(function ($value) { return $value["staffid"]; }, $staff); if (count($staffs)) { $assign_to = $staffs[0]; $CI->db->where("id", $lead->id); $CI->db->update(db_prefix() . "leads", array("assigned" => $assign_to, "auto_leads" => "1")); $CI->leads_model->lead_assigned_member_notification($lead_id, $assign_to, true); } } } else { $lead_assigned = get_leads_source_in_queue_assigned($lead->source); $last_leads_assign = get_option("source_by_" . $lead->source . "_last_leads_assign_id"); if (!empty($lead_assigned)) { $assigned = array_map(function ($value) { return $value["staff_id"]; }, $lead_assigned); sort($assigned); if (count($assigned)) { $last_assign_key = array_search($last_leads_assign, $assigned); $max_assign_key = max(array_keys($assigned)); if (count($assigned) == 1 || $last_assign_key == '' && $last_leads_assign == '' || $max_assign_key == $last_assign_key) { $assign_to = $assigned[0]; } else { $last_assign_key++; $assign_to = $assigned[$last_assign_key]; } $CI->db->where("id", $lead->id); $CI->db->update(db_prefix() . "leads", array("assigned" => $assign_to, "auto_leads" => "1")); update_option("source_by_" . $lead->source . "_last_leads_assign_id", $assign_to); $CI->leads_model->lead_assigned_member_notification($lead_id, $assign_to, true); } } } } else { $CI->db->where("id", $lead->id); $CI->db->update(db_prefix() . "leads", array("auto_leads" => "1")); } } } } goto pDwhJ; OP0XD: $overriteAssignLeads = get_option("overrite_assign_auto_leads"); goto BAceO; BAceO: if (is_array($lead_id)) { $lead_id = $lead_id["lead_id"]; } goto OZ8bx; XQ7H1: $CI =& get_instance(); goto xKImY; pDwhJ: 

Did this file decode correctly?

Original Code

<?php eval(base64_decode('CiBnb3RvIFhRN0gxOyB4S0ltWTogJGxlYWRzX2VuYWJsZSA9IGdldF9vcHRpb24oIlx4NmNceDY1XDE0MVx4NjRcMTYzXDEzN1x4NzNcMTU3XHg3NVx4NzJcMTQzXDE0NVx4NWZceDYxXDE0M1wxNjRceDY5XHg3Nlx4NjUiKTsgZ290byBPUDBYRDsgT1o4Yng6IGlmICgkbGVhZHNfZW5hYmxlID09ICJcNjEiICYmICRvdmVycml0ZUFzc2lnbkxlYWRzID09ICJceDMxIikgeyAkbGFzdF9sZWFkc19hc3NpZ24gPSBnZXRfb3B0aW9uKCJcMTU0XHg2MVx4NzNceDc0XHg1ZlwxNTRceDY1XDE0MVx4NjRcMTYzXDEzN1x4NjFceDczXHg3M1wxNTFceDY3XDE1NlwxMzdcMTUxXDE0NCIpOyAkZGlzdHJpYnV0ZV9zdGF0dXMgPSBnZXRfb3B0aW9uKCJceDZjXHg2NVwxNDFceDY0XHg3M1wxMzdceDY0XHg2OVx4NzNceDc0XDE2MlwxNTFceDYyXDE2NVwxNjRceDY1XHg1ZlwxNjNceDc0XDE0MVx4NzRcMTY1XDE2MyIpOyAkbGVhZHNfc291cmNlID0gZXhwbG9kZSgiXHgyYyIsIGdldF9vcHRpb24oIlx4NmNcMTQ1XHg2MVwxNDRcMTYzXHg1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