zoukankan      html  css  js  c++  java
  • 疑难杂症----udf提权无法导出.dll

    昨天进行测试一个网站,进行udf提权时候,没办法导出.dll,

    起初以为是这个马的问题,后来用专用马,一样不行,但是有报错了,有上网找了半天,终于被我找到了。

    Mysql数据库从文件导入或导出到文件,提示:

    The MySQL server is running with the --secure-file-priv option so it cannot execute this statement.

    因为一些版本的mysql对通过文件导入导出作了限制,默认不允许,
    查看配置,执行mysql命令
    SHOW VARIABLES LIKE "secure_file_priv";

    或者查看secure-file-priv的当前值:

    show variables like '%secure%';
    如果value值为null,则为禁止,如果有文件夹目录,则只允许改目录下文件(测试子目录也不行),如果为空,则不限制目录;
    找到mysql配置文件“my.ini”进行修改,查找”secure-file-priv=  ,如果没有就手动添加,
    secure-file-priv=“ ”
    后面留空格,不限制目录。
     
  • 相关阅读:
    ajax post 时 form数据serialize()
    dapper 自定义数据库字段和代码中Model字段不一致时候的mapping方法
    TImage 的一些操作
    AOP
    SSL、数字签名、CA 工作原理
    RESTFUL
    tomcat
    Hibernate
    设计模式
    Spring配置
  • 原文地址:https://www.cnblogs.com/awrrays/p/11371522.html
Copyright © 2011-2022 走看看