不灭的焱

加密类型:SHA/AES/RSA下载Go
复合类型:切片(slice)、映射(map)、指针(pointer)、函数(function)、通道(channel)、接口(interface)、数组(array)、结构体(struct) Go类型+零值nil
引用类型:切片(slice)、映射(map)、指针(pointer)、函数(function)、通道(channel) Go引用

作者:AlbertWen  添加时间:2018-09-10 22:56:56  修改时间:2025-12-02 10:50:00  分类:16.编程基础/Web安全  编辑

找到文件 /api/uc.php

修改1:

function updateapps($get, $post) { ... }

修改为:

function updateapps($get, $post) { 
    if ($post['UC_API']) {
        $post['UC_API'] = addslashes($post['UC_API']);
    }

    // ......
}