当前位置:Gxlcms > 数据库问题 > MySQL服务端读取客户端的漏洞

MySQL服务端读取客户端的漏洞

时间:2021-07-01 10:21:17 帮助过:4人阅读

 
  1. [mysqld]        #服务端配置  
  2. local-infle = 1  
  3.   
  4. [mysql]         #客户端配置  
  5. local-infile = 1  
  否则,mysql服务会提示错误: ERROR 1148 (42000): The used command is not allowed with this MySQL version.   ------------------------------- 另外,如果使用了python来运行的话,应该这样连接: conn = MySQLdb.connect(host=host_str , user=user_str , passwd=pwd_str , db=db_str , local_infile=1,charset=charset_str)

MySQL服务端读取客户端的漏洞

标签:blog   data-   clipboard   客户   tps   技术   mysql   poc   erro   

人气教程排行