PHP online encryption SG11-SG14 component encryption GoTo, DECK confusion multi-layer encryption-protect original source code

PHP decryption PHP encryption sg11 encryption sg11 decryption The most kind SG11 decryption method on the whole network sg11 decryption php decryption SourceGuardian decryption sg_load decryption removes domain name IP authorization As we all know, sg11 encrypted PHP files are difficult to decrypt, but there are still ways to decrypt them. At present, there are some Ability masters charge a lot. We provide a website that can decrypt PHP. Friends who want to learn can go to the following website to learn about PHP decryption and get IP authorization and domain name authorization.

PHP online encryption platform: https://www.jiamiphp.com

Main functions:
SG extended encryption
Custom php version [Support]
LIC double encryption [Support]
Custom head copyright [Support]
Restrict IP access [Support]
Restrict domain name access [Support]
Restrict MAC address [Support]
Restrict machine ID [Support ]
Set expiration time [Supported]

DECK Obfuscated Encryption
Obfuscated Logic Function [Multiple] [Double Layer]
Encryption Driver Function [Stable] [Enhanced]
Repeat Encryption Times
Error Parsing Function
Custom Header Copyright [Support]

GOTO obfuscation and encryption
Restrict domain name access [Support]
Restrict access to content [Support]
Custom header copyright [Support]

Screenshot of the system interface
insert image description here
insert image description here
insert image description here

Comparison before and after encryption

Before encryption:

<?php

namespace app\admin\controller;

use think\facade\Db;

class Order extends Base
{
    
    
    /**
     * 获取订单列表
     */
    public function getList()
    {
    
    
        $page = input('page', 1, 'intval');
        $pagesize = input('pagesize', 10, 'intval');
        $page = max(1, $page);
        $pagesize = max(1, $pagesize);
        $pay_type = input('pay_type', '', 'trim');
        $trade_no = input('trade_no', '', 'trim');
        $date = input('date', '', 'trim');

        $where = [];
        $where[] = ['site_id', '=', self::$site_id];
        $where[] = ['status', '=', 1];

        // 按支付方式
        if ($pay_type) {
    
    
            $where[] = ['pay_type', '=', $pay_type];
        }
        // 按支付时间
        if (!empty($date)) {
    
    
            $start_time = strtotime($date[0]);
            $end_time = strtotime($date[1]);
            $where[] = ['pay_time', 'between', [$start_time, $end_time]];
        }
        // 按单号
        if ($trade_no) {
    
    
            $where[] = ['out_trade_no|transaction_id', 'like', '%' . $trade_no . '%'];
        }

        $list = Db::name('order')
            ->where($where)
            ->page($page, $pagesize)
            ->order('pay_time desc, id desc')
            ->select()
            ->each(function ($item) {
    
    
                $item['total_fee'] = $item['total_fee'] / 100;
                $item['pay_time'] = date('Y-m-d H:i:s', $item['pay_time']);
                return $item;
            });
        $count = Db::name('order')
            ->where($where)
            ->count();


        return successJson([
            'count' => $count,
            'list' => $list
        ]);
    }

    /**
     * 导出订单列表
     */
    public function getExportList()
    {
    
    
        $pay_type = input('pay_type', '', 'trim');
        $trade_no = input('trade_no', '', 'trim');
        $date = input('date', '', 'trim');

        $where = [];
        $where[] = ['site_id', '=', self::$site_id];
        $where[] = ['status', '=', 1];

        // 按支付方式
        if ($pay_type) {
    
    
            $where[] = ['pay_type', '=', $pay_type];
        }
        // 按支付时间
        if (!empty($date)) {
    
    
            $start_time = strtotime($date[0]);
            $end_time = strtotime($date[1]);
            $where[] = ['pay_time', 'between', [$start_time, $end_time]];
        }
        // 按单号
        if ($trade_no) {
    
    
            $where[] = ['out_trade_no|transaction_id', 'like', '%' . $trade_no . '%'];
        }

        $list = Db::name('order')
            ->where($where)
            ->order('pay_time desc, id desc')
            ->select()
            ->each(function ($item) {
    
    
                $item['total_fee'] = $item['total_fee'] / 100;
                $item['pay_time'] = date('Y-m-d H:i:s', $item['pay_time']);
                // 状态
                if ($item['is_refund'] == 1) {
    
    
                    $item['status'] = '已全额退款';
                } else {
    
    
                    $item['status'] = '付款成功';
                }
                // 支付方式
                if ($item['pay_type'] == 'wxpay') {
    
    
                    $item['pay_type'] = '微信支付';
                } elseif ($item['pay_type'] == 'alipay') {
    
    
                    $item['pay_type'] = '支付宝';
                }
                return $item;
            });


        return successJson($list);
    }

    /**
     * 统计
     */
    public function getTongji()
    {
    
    
        $pay_type = input('pay_type', '', 'trim');
        $trade_no = input('trade_no', '', 'trim');
        $date = input('date', '', 'trim');

        $where = [];
        $where[] = ['site_id', '=', self::$site_id];
        $where[] = ['status', '=', 1];

        // 按支付方式
        if ($pay_type) {
    
    
            $where[] = ['pay_type', '=', $pay_type];
        }
        // 按支付时间
        if (!empty($date)) {
    
    
            $start_time = strtotime($date[0]);
            $end_time = strtotime($date[1]);
            $where[] = ['pay_time', 'between', [$start_time, $end_time]];
        }
        // 按单号
        if ($trade_no) {
    
    
            $where[] = ['out_trade_no|transaction_id', 'like', '%' . $trade_no . '%'];
        }

        // 订单数量、订单金额
        $data = Db::name('order')
            ->where($where)
            ->field('count(id) as order_count,sum(total_fee) as order_amount')
            ->find();

        return successJson([
            'orderCount' => intval($data['order_count']),
            'orderAmount' => intval($data['order_amount']) / 100
        ]);
    }

    /**
     * 订单详情
     */
    public function getOrderDetail()
    {
    
    
        $order_no = input('order_no', '', 'trim');
        if (!$order_no) {
    
    
            return errorJson('参数错误');
        }
        $where = [
            ['site_id', '=', self::$site_id],
            ['out_trade_no|transaction_id', '=', $order_no],
            ['status', '=', 1]
        ];
        $order = Db::name('order')
            ->where($where)
            ->find();
        if (!$order) {
    
    
            return errorJson('没有找到此订单');
        }

        return successJson([
            'id' => $order['id'],
            'out_trade_no' => $order['out_trade_no'],
            'transaction_id' => $order['transaction_id'],
            'total_fee' => $order['total_fee'] / 100,
            'pay_type' => $order['pay_type'],
            'user_id' => $order['user_id'],
            'pay_time' => date('Y-m-d H:i:s', $order['pay_time']),
            'is_refund' => $order['is_refund']
        ]);
    }
}

After encryption:
insert image description here
PHP online encryption platform: https://www.jiamiphp.com

SG component extension installation tutorial
1. Install the sg11 encryption and decryption extension in the server pagoda,
open the pagoda software store, select the PHP you installed, click Settings
insert image description here
to find sg11, and click Install
insert image description here
2. SG12-SG14 component extension installation
SG encryption expansion installation method:

  1. Upload the ixed.8.0.lin file to this directory /www/server/php/80/lib/php/extensions/no-debug-non-zts-20200930.
  2. Add the following code at the bottom of the php.ini file:
extension = ixed.8.0.lin
  1. The php.ini directory is /www/server/php/80/etc.
  2. If you use the pagoda panel, you can find PHP 8.0 directly in the software store, add the above code in the settings and restart the PHP version.
    restart server

Guess you like

Origin blog.csdn.net/tianlu930/article/details/130748928